Changeset 2988079
- Timestamp:
- 11/02/2023 02:00:16 PM (2 years ago)
- Location:
- minicrm-woocommerce-sync/trunk
- Files:
-
- 4 edited
-
languages/minicrm-woocommerce-sync.pot (modified) (1 diff)
-
lib/Feed.php (modified) (3 diffs)
-
minicrm-woocommerce-sync.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
minicrm-woocommerce-sync/trunk/languages/minicrm-woocommerce-sync.pot
r2889465 r2988079 4 4 "Project-Id-Version: MiniCRM " 5 5 "WooCommerce Sync plugin " 6 "v1.5.2 4\n"6 "v1.5.26\n" 7 7 "POT-Creation-Date: 2022-05-30 " 8 8 "22:22+0200\n" -
minicrm-woocommerce-sync/trunk/lib/Feed.php
r2758836 r2988079 473 473 } 474 474 475 // Init SKU (will be non-empty for product items only)475 // Init SKU & Description (will be non-empty for product items only) 476 476 $sku = ''; 477 $productDescription = ''; 477 478 478 479 // Get item unit price … … 499 500 if ($itemProduct instanceof \WC_Product) { 500 501 $sku = $itemProduct->get_sku (); 502 $productDescription = substr($itemProduct->get_description(), 0, 1024); 501 503 } 502 504 break; … … 525 527 $product->Quantity = $item->get_quantity (); 526 528 $product->SKU = $sku; 529 $product->Description = htmlspecialchars($productDescription); // ensure that special characters in the product description don't interfere with the XML structure. 527 530 $product->Unit = $localUnit; 528 531 $product->VAT = "$taxPercent%"; -
minicrm-woocommerce-sync/trunk/minicrm-woocommerce-sync.php
r2889465 r2988079 10 10 * Requires PHP: 8.0 11 11 * Text Domain: minicrm-woocommerce-sync 12 * Version: 1.5.2 412 * Version: 1.5.26 13 13 * WC requires at least: 4.0.0 14 14 * WC tested up to: 7.2 -
minicrm-woocommerce-sync/trunk/readme.txt
r2889465 r2988079 5 5 Requires at least: 4.9 6 6 Requires PHP: 8.0 7 Stable tag: 1.5.2 47 Stable tag: 1.5.26 8 8 Tested up to: 6.2 9 9 WC requires at least: 4.0.0
Note: See TracChangeset
for help on using the changeset viewer.