Changeset 2725189
- Timestamp:
- 05/17/2022 09:25:34 AM (4 years ago)
- Location:
- excel-like-price-change-for-woocommerce-and-wp-e-commerce-light/trunk
- Files:
-
- 3 edited
-
excel-like-price-change-for-woocommerce-and-wp-e-commerce-light.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
-
shops/wooc.php (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
excel-like-price-change-for-woocommerce-and-wp-e-commerce-light/trunk/excel-like-price-change-for-woocommerce-and-wp-e-commerce-light.php
r2723781 r2725189 8 8 * Description:An WooCommerce / WP E-commerce 'MS excel'-like fast input spreadsheet editor for fast product price change using web-form spreadsheet or export / import form CSV. It supports both WooCommerce and WP E-commerce. UI behaves same as in MS Excel. This is the right thing for you if your users give you a blank stare when you're trying to explain them how to update prices.;EDITABLE / IMPORTABLE FIELDS: Price, Sales Price; VIEWABLE / EXPORTABLE FIELDS: WooCommerce: Price, Sales Price, Attributes (Each pivoted as column), SKU, Category, Shipping class, Name, Slug, Stock, Featured, Status, Weight, Height, Width, Length, Tax status, Tax class; WP E-commerce: Price, Sales Price, Tags, SKU, Category, Name, Slug, Stock, Status, Weight, Height, Width, Length, Taxable, local and international shipping costs; Allows custom fields you can configure to view/export any property 9 9 * Tested up to: 5.9.3 10 * Version: 2.2.2 210 * Version: 2.2.23 11 11 * Author: Holest Engineering 12 12 * Author URI: http://www.holest.com … … 63 63 return $default; 64 64 } 65 } 66 67 if(!function_exists("pelm_read_sanitized_server_parm")){ 65 } 66 67 if(!function_exists("pelm_esc_sanitized_request_parm")){ 68 function pelm_esc_sanitized_request_parm($parm_name, $default = NULL){ 69 return esc_attr(pelm_read_sanitized_request_parm($parm_name, $default)); 70 } 71 } 72 73 if(!function_exists("pelm_read_sanitized_server_parm")){ 68 74 function pelm_read_sanitized_server_parm($parm_name, $default = NULL){ 69 75 if(isset($_SERVER[$parm_name])){ … … 75 81 return $default; 76 82 } 77 }83 } 78 84 79 85 if(!function_exists("pelm_read_sanitized_cookie_parm")){ -
excel-like-price-change-for-woocommerce-and-wp-e-commerce-light/trunk/readme.txt
r2723781 r2725189 4 4 License: GPLv2 or later 5 5 License URI: http://www.gnu.org/licenses/gpl-2.0.html 6 Stable tag: 2.2.2 26 Stable tag: 2.2.23 7 7 Tested up to: 5.9.3 8 8 WC requires at least: 2.5.0 -
excel-like-price-change-for-woocommerce-and-wp-e-commerce-light/trunk/shops/wooc.php
r2723781 r2725189 1418 1418 <?php } 1419 1419 if(pelm_read_sanitized_request_parm("page_no")) {?> 1420 <input type="hidden" name="page_no" value="<?php echo pelm_ read_sanitized_request_parm("page_no");?>">1420 <input type="hidden" name="page_no" value="<?php echo pelm_esc_sanitized_request_parm("page_no");?>"> 1421 1421 <?php } 1422 1422 if(pelm_read_sanitized_request_parm("limit")) {?> 1423 <input type="hidden" name="limit" value="<?php echo pelm_ read_sanitized_request_parm("limit");?>">1423 <input type="hidden" name="limit" value="<?php echo pelm_esc_sanitized_request_parm("limit");?>"> 1424 1424 <?php } 1425 1425 if(pelm_read_sanitized_request_parm("sku")) {?> 1426 <input type="hidden" name="sku" value="<?php echo pelm_ read_sanitized_request_parm("sku");?>">1426 <input type="hidden" name="sku" value="<?php echo pelm_esc_sanitized_request_parm("sku");?>"> 1427 1427 <?php } 1428 1428 if(pelm_read_sanitized_request_parm("product_name")) {?> 1429 <input type="hidden" name="product_name" value="<?php echo pelm_ read_sanitized_request_parm("product_name");?>">1429 <input type="hidden" name="product_name" value="<?php echo pelm_esc_sanitized_request_parm("product_name");?>"> 1430 1430 <?php } 1431 1431 if(pelm_read_sanitized_request_parm("product_category")) {?> 1432 <input type="hidden" name="product_category" value="<?php echo pelm_ read_sanitized_request_parm("product_category");?>">1432 <input type="hidden" name="product_category" value="<?php echo pelm_esc_sanitized_request_parm("product_category");?>"> 1433 1433 <?php } 1434 1434 if(pelm_read_sanitized_request_parm("product_shipingclass")) {?> 1435 <input type="hidden" name="product_shipingclass" value="<?php echo pelm_ read_sanitized_request_parm("product_shipingclass");?>">1435 <input type="hidden" name="product_shipingclass" value="<?php echo pelm_esc_sanitized_request_parm("product_shipingclass");?>"> 1436 1436 <?php } 1437 1437 if(pelm_read_sanitized_request_parm("product_tag")) {?> 1438 <input type="hidden" name="product_tag" value="<?php echo pelm_ read_sanitized_request_parm("product_tag");?>">1438 <input type="hidden" name="product_tag" value="<?php echo pelm_esc_sanitized_request_parm("product_tag");?>"> 1439 1439 <?php } 1440 1440 if(pelm_read_sanitized_request_parm("product_status")) {?> 1441 <input type="hidden" name="product_status" value="<?php echo pelm_ read_sanitized_request_parm("product_status");?>">1441 <input type="hidden" name="product_status" value="<?php echo pelm_esc_sanitized_request_parm("product_status");?>"> 1442 1442 <?php } ?> 1443 1443 … … 1446 1446 if(pelm_read_sanitized_request_parm("pattribute_" . $attr->id)) { 1447 1447 ?> 1448 <input type="hidden" name="pattribute_<?php echo esc_attr($attr->id);?>" value="<?php echo pelm_ read_sanitized_request_parm("pattribute_" . $attr->id);?>">1448 <input type="hidden" name="pattribute_<?php echo esc_attr($attr->id);?>" value="<?php echo pelm_esc_sanitized_request_parm("pattribute_" . $attr->id);?>"> 1449 1449 <?php 1450 1450 } … … 1870 1870 <input name="pelm_security" type="hidden" value="<?php echo esc_attr(pelm_get_nonce("pelm_nonce")); ?>" /> 1871 1871 <h2><?php echo esc_html__("Updating prices...", 'excel-like-price-change-for-woocommerce-and-wp-e-commerce-light'); ?></h2> 1872 <h3><?php echo (pelm_ read_sanitized_request_parm("mass_update_percentage") ? "%" : "") . (floatval(pelm_read_sanitized_request_parm("mass_update_val")) > 0 ? "+" : "-") . pelm_read_sanitized_request_parm("mass_update_val");?></h3>1872 <h3><?php echo (pelm_esc_sanitized_request_parm("mass_update_percentage") ? "%" : "") . (floatval(pelm_esc_sanitized_request_parm("mass_update_val")) > 0 ? "+" : "-") . pelm_esc_sanitized_request_parm("mass_update_val");?></h3> 1873 1873 <p>(<?php echo esc_attr($mu_res);?>) <?php echo esc_html__("products/product price updated of total ", 'excel-like-price-change-for-woocommerce-and-wp-e-commerce-light'); 1874 1874 echo esc_attr($mu_proccessed);?><?php echo esc_html__(" processed.", 'excel-like-price-change-for-woocommerce-and-wp-e-commerce-light'); ?></p> … … 1878 1878 <input type="hidden" name="mu_res" value="<?php echo esc_attr($mu_res);?>"> 1879 1879 <input type="hidden" name="mu_proccessed" value="<?php echo esc_attr($mu_proccessed);?>"> 1880 <input type="hidden" name="mass_update_val" value="<?php echo pelm_ read_sanitized_request_parm("mass_update_val");?>">1881 <input type="hidden" name="mass_update_override" value="<?php echo pelm_ read_sanitized_request_parm("mass_update_override");?>">1882 <input type="hidden" name="mass_update_percentage" value="<?php echo pelm_ read_sanitized_request_parm("mass_update_percentage");?>">1880 <input type="hidden" name="mass_update_val" value="<?php echo pelm_esc_sanitized_request_parm("mass_update_val");?>"> 1881 <input type="hidden" name="mass_update_override" value="<?php echo pelm_esc_sanitized_request_parm("mass_update_override");?>"> 1882 <input type="hidden" name="mass_update_percentage" value="<?php echo pelm_esc_sanitized_request_parm("mass_update_percentage");?>"> 1883 1883 <?php } ?> 1884 1884 … … 1890 1890 <?php } 1891 1891 if((pelm_read_sanitized_request_parm("page_no"))) {?> 1892 <input type="hidden" name="page_no" value="<?php echo pelm_ read_sanitized_request_parm("page_no");?>">1892 <input type="hidden" name="page_no" value="<?php echo pelm_esc_sanitized_request_parm("page_no");?>"> 1893 1893 <?php } 1894 1894 if((pelm_read_sanitized_request_parm("limit"))) {?> 1895 <input type="hidden" name="limit" value="<?php echo pelm_ read_sanitized_request_parm("limit");?>">1895 <input type="hidden" name="limit" value="<?php echo pelm_esc_sanitized_request_parm("limit");?>"> 1896 1896 <?php } 1897 1897 if((pelm_read_sanitized_request_parm("sku"))) {?> 1898 <input type="hidden" name="sku" value="<?php echo pelm_ read_sanitized_request_parm("sku");?>">1898 <input type="hidden" name="sku" value="<?php echo pelm_esc_sanitized_request_parm("sku");?>"> 1899 1899 <?php } 1900 1900 if((pelm_read_sanitized_request_parm("product_name"))) {?> 1901 <input type="hidden" name="product_name" value="<?php echo pelm_ read_sanitized_request_parm("product_name");?>">1901 <input type="hidden" name="product_name" value="<?php echo pelm_esc_sanitized_request_parm("product_name");?>"> 1902 1902 <?php } 1903 1903 if((pelm_read_sanitized_request_parm("product_category"))) {?> 1904 <input type="hidden" name="product_category" value="<?php echo pelm_ read_sanitized_request_parm("product_category");?>">1904 <input type="hidden" name="product_category" value="<?php echo pelm_esc_sanitized_request_parm("product_category");?>"> 1905 1905 <?php } 1906 1906 if((pelm_read_sanitized_request_parm("product_shipingclass"))) {?> 1907 <input type="hidden" name="product_shipingclass" value="<?php echo pelm_ read_sanitized_request_parm("product_shipingclass");?>">1907 <input type="hidden" name="product_shipingclass" value="<?php echo pelm_esc_sanitized_request_parm("product_shipingclass");?>"> 1908 1908 <?php } 1909 1909 if((pelm_read_sanitized_request_parm("product_tag"))) {?> 1910 <input type="hidden" name="product_tag" value="<?php echo pelm_ read_sanitized_request_parm("product_tag");?>">1910 <input type="hidden" name="product_tag" value="<?php echo pelm_esc_sanitized_request_parm("product_tag");?>"> 1911 1911 <?php } 1912 1912 if((pelm_read_sanitized_request_parm("product_status"))) {?> 1913 <input type="hidden" name="product_status" value="<?php echo pelm_ read_sanitized_request_parm("product_status");?>">1913 <input type="hidden" name="product_status" value="<?php echo pelm_esc_sanitized_request_parm("product_status");?>"> 1914 1914 <?php } ?> 1915 1915 … … 1918 1918 1919 1919 ?> 1920 <input type="hidden" name="pattribute_<?php echo esc_attr($attr->id);?>" value="<?php echo pelm_ read_sanitized_request_parm("pattribute_" . $attr->id);?>">1920 <input type="hidden" name="pattribute_<?php echo esc_attr($attr->id);?>" value="<?php echo pelm_esc_sanitized_request_parm("pattribute_" . $attr->id);?>"> 1921 1921 <?php 1922 1922 … … 2508 2508 <?php } 2509 2509 if((pelm_read_sanitized_request_parm("page_no"))) {?> 2510 <input type="hidden" name="page_no" value="<?php echo pelm_ read_sanitized_request_parm("page_no");?>">2510 <input type="hidden" name="page_no" value="<?php echo pelm_esc_sanitized_request_parm("page_no");?>"> 2511 2511 <?php } 2512 2512 if((pelm_read_sanitized_request_parm("limit"))) {?> 2513 <input type="hidden" name="limit" value="<?php echo pelm_ read_sanitized_request_parm("limit");?>">2513 <input type="hidden" name="limit" value="<?php echo pelm_esc_sanitized_request_parm("limit");?>"> 2514 2514 <?php } 2515 2515 if((pelm_read_sanitized_request_parm("sku"))) {?> 2516 <input type="hidden" name="sku" value="<?php echo pelm_ read_sanitized_request_parm("sku");?>">2516 <input type="hidden" name="sku" value="<?php echo pelm_esc_sanitized_request_parm("sku");?>"> 2517 2517 <?php } 2518 2518 if((pelm_read_sanitized_request_parm("product_name"))) {?> 2519 <input type="hidden" name="product_name" value="<?php echo pelm_ read_sanitized_request_parm("product_name");?>">2519 <input type="hidden" name="product_name" value="<?php echo pelm_esc_sanitized_request_parm("product_name");?>"> 2520 2520 <?php } 2521 2521 if((pelm_read_sanitized_request_parm("product_category"))) {?> 2522 <input type="hidden" name="product_category" value="<?php echo pelm_ read_sanitized_request_parm("product_category");?>">2522 <input type="hidden" name="product_category" value="<?php echo pelm_esc_sanitized_request_parm("product_category");?>"> 2523 2523 <?php } 2524 2524 if((pelm_read_sanitized_request_parm("product_shipingclass"))) {?> 2525 <input type="hidden" name="product_shipingclass" value="<?php echo pelm_ read_sanitized_request_parm("product_shipingclass");?>">2525 <input type="hidden" name="product_shipingclass" value="<?php echo pelm_esc_sanitized_request_parm("product_shipingclass");?>"> 2526 2526 <?php } 2527 2527 if((pelm_read_sanitized_request_parm("product_tag"))) {?> 2528 <input type="hidden" name="product_tag" value="<?php echo pelm_ read_sanitized_request_parm("product_tag");?>">2528 <input type="hidden" name="product_tag" value="<?php echo pelm_esc_sanitized_request_parm("product_tag");?>"> 2529 2529 <?php } 2530 2530 if((pelm_read_sanitized_request_parm("product_status"))) {?> 2531 <input type="hidden" name="product_status" value="<?php echo pelm_ read_sanitized_request_parm("product_status");?>">2531 <input type="hidden" name="product_status" value="<?php echo pelm_esc_sanitized_request_parm("product_status");?>"> 2532 2532 <?php } ?> 2533 2533 … … 2535 2535 if(pelm_read_sanitized_request_parm("pattribute_" . $attr->id, null)) { 2536 2536 ?> 2537 <input type="hidden" name="pattribute_<?php echo esc_attr($attr->id);?>" value="<?php echo pelm_ read_sanitized_request_parm("pattribute_" . $attr->id, null);?>">2537 <input type="hidden" name="pattribute_<?php echo esc_attr($attr->id);?>" value="<?php echo pelm_esc_sanitized_request_parm("pattribute_" . $attr->id, null);?>"> 2538 2538 <?php 2539 2539 }
Note: See TracChangeset
for help on using the changeset viewer.