Changeset 3459140
- Timestamp:
- 02/11/2026 04:46:12 PM (7 days ago)
- Location:
- printess-editor/trunk
- Files:
-
- 3 edited
-
includes/js/printessWoocommerce.js (modified) (2 diffs)
-
printess.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
printess-editor/trunk/includes/js/printessWoocommerce.js
r3459105 r3459140 448 448 }); 449 449 }; 450 const getCurrentVariant = function (productOptionValues, product ) {451 let ret = product.variants ? product.variants[0]: null;450 const getCurrentVariant = function (productOptionValues, product, returnDefaultVariant = true) { 451 let ret = returnDefaultVariant ? (product.variants ? product.variants[0] : null) : null; 452 452 const attributeLookup = getAttributeLookup(product, true); 453 453 const variantSpecificValues = []; … … 1309 1309 const unparsedProductValues = getCurrentProductOptionValues(settings.product, false); 1310 1310 const variant = getCurrentVariant(productValues, settings.product); 1311 const checkForValidVariant = getCurrentVariant(unparsedProductValues, settings.product );1311 const checkForValidVariant = getCurrentVariant(unparsedProductValues, settings.product, false); 1312 1312 if (!checkForValidVariant && settings.product.variants && settings.product.variants.length > 0) { 1313 1313 const invalidVariantOptionName = getInvalidVariantOption(unparsedProductValues, settings.product); -
printess-editor/trunk/printess.php
r3459105 r3459140 5 5 * Plugin URI: https://printess.com/kb/integrations/woo-commerce/index.html 6 6 * Developer: Bastian Kröger ([email protected]); Alexander Oser ([email protected]) 7 * Version: 1.6.7 77 * Version: 1.6.78 8 8 * Author: Printess 9 9 * Author URI: https://printess.com … … 14 14 * Tested up to: 6.9 15 15 * 16 * Woo: 10000:92403 4dfsfhsf8429842386wdff234sfd16 * Woo: 10000:924035dfsfhsf8429842386wdff234sfd 17 17 * WC requires at least: 5.8 18 18 * WC tested up to: 10.4.3 -
printess-editor/trunk/readme.txt
r3459105 r3459140 5 5 Tested up to: 6.9 6 6 WC Tested up to: 10.4.3 7 Stable tag: 1.6.7 77 Stable tag: 1.6.78 8 8 Requires PHP: 8.1 9 9 License: GPLv2 or later … … 384 384 = 1.6.77 = 385 385 - Added some debug code to test invalid page counts when saving designs on buyer side. 386 387 = 1.6.78 = 388 - Extended debug code to test invalid page counts when saving designs on buyer side.
Note: See TracChangeset
for help on using the changeset viewer.