WooCommerce Smart Coupons

WooCommerce Smart Coupons 9.17.0

No permission to download
* New: WordPress 6.4.2 compatible
* Fix: Coupon applied via Coupon Shareable link was not reflecting in Side Cart [WooCommerce Side Cart Premium by XootiX]
* Fix: Exponential notation in custom price was not getting processed correctly for store credit of any amount, causing generation of store credit of higher value
* Fix: Undefined variable: $calculated_product_price
* Update: POT, PO & MO file
* Update: Use native WooCommerce hook 'woocommerce_loop_add_to_cart_link' to replace 'Add to cart' button in 'loop' (archive pages like 'shop' page)
* Update: Replace 'woocommerce.com' with 'woo.com'
* Update: POT, PO & MO file
* New: WordPress 6.4.1 compatible
* New: WooCommerce 8.2.2 compatible
* Fix: Auto apply does not work with WooCommerce Blocks
* Fix: 'Internal server error' during renewal that uses store credit [WooCommerce Subscriptions]
* Fix: Applied Store Credit amount shows in multiples in Cart & Checkout
* Fix: Call to undefined method WC_Subscriptions_Plugin::get_library_version
* Update: Add help text in empty 'Generated coupons' metabox on the Order edit admin page
* Update: POT file
* New: WordPress 6.3.2 compatible
* New: WooCommerce 8.2.1 compatible
* Fix: PHP Warning: foreach() argument must be of type array|object, string given for $customer_emails
* Fix: Parent Coupons are not updating the Allowed emails
* Fix: When scheduling coupons via import, a blank email is sent with no coupons
* Fix: Actions tab product does not respect the discount on declined payments
* Fix: Linked Coupons label is breaking in product admin dashboard
* Fix: Active for x payments field shows for all discount types in 'Bulk generate' tab
* Tweak: Optimized a few queries
* Update: Updated translation file for French language, as it was causing 'Fatal error: Uncaught Error: 3 arguments are required, 2 given'
* Update: Correct a few file paths for inclusion
* Update: POT file
* New: Tested with PHP 8.0, 8.1 & 8.2
* New: Tested up to WooCommerce 8.1.0
* New: Tested up to WordPress 6.3.1
* Fix: PHP Fatal error: Uncaught TypeError: str_getcsv(): Argument #1 ($string) must be of type string, array given
* Fix: PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class SA_WC_Compatibility_4_4 does not have a method 'save_shortcode_generated_coupon'
* Fix: PHP Fatal error: Uncaught TypeError: Unsupported operand types: string + string
* Fix: PHP Fatal error: Uncaught TypeError: Unsupported operand types: int + string
* Fix: PHP Warning: foreach() argument must be of type array|object, string given
* Fix: PHP Deprecated: auto_detect_line_endings is deprecated
* Fix: PHP Deprecated: ltrim(): Passing null to parameter #1 ($string) of type string is deprecated
* Fix: PHP Deprecated: strtotime(): Passing null to parameter #1 ($datetime) of type string is deprecated
* Update: POT file
* New: Tested up to WooCommerce 7.9.0
* Fix: Auto apply is not considering 'Allowed emails' and 'Excluded emails' field
* Fix: Scheduling coupons via CSV import publishing coupons immediately
* Fix: Coupons scheduled to be send later from the checkout page are getting published & sent immediately
* Fix: Browser console error 'wp is not defined' when trying to open calendar to schedule coupon
* Fix: PHP Notice: Deprecated: Creation of dynamic property WC_SC_Background_Coupon_Importer::$prefix is deprecated
* Tweak: Query only the required taxonomy for Coupon's Usage restrictions field 'Taxonomy'
* Update: Force date time picker to appear on top
* Update: Added data in the 'post_date' column in supported format in the sample.csv file
* Update: Action Scheduler to version 3.6.1
* Update: POT file
* New: Compatible with WooCommerce HPOS (High Performance Order Storage)
* New: Tested upto WooCommerce 7.1.1, 7.2.3, 7.3.0, 7.4.1, 7.5.1
* Fix: Unable to empty/update a few coupon's meta field like 'Products'
* Fix: Importing only 1st value from multiple values from a few fields like 'product_ids' and 'exclude_product_ids'
* Update: Replace use of 'add_post_meta' with CRUD function 'set_used_by'
* Update: Replace string 'ARRAY_A' with constant ARRAY_A
* Update: Removed global declaration of $wpdb form where it is not used
* Update: Format coupon usage URL using add_query_arg instead of hard-coded URL
* Update: POT file
* Fix: Error: Something went wrong. For details, check 'woocommerce-smart-coupons...' log under WooCommerce > Status > Logs
* Update: POT file
* New: Credits & coupons were not getting generated & emailed when paid with [Klarna Checkout for WooCommerce](https://wordpress.org/plugins/klarna-checkout-for-woocommerce/)
* Fix: Auto apply does not happen when 'Disable email restriction?' is enabled
* Fix: Failing to add order item via AJAX that is triggered by another plugin
* Update: POT file
* Fix: When refunding an order from the refund form provided on the admin side, and in that order store credit is used, double amount is getting restored in that store credit
* Fix: When refunding an order from the refund form provided on the admin side, and in that order store credit is used, refund related meta not getting saved
* Fix: Shortcode 'smart_coupons' generating new coupons each time the page is refreshed
* Fix: 'Exclude user roles' not checking user's role when checking out as guest user
* Fix: Gift products set under 'Actions' (tab) is not getting added to cart after clicking coupon from cart, checkout page
* Fix: 'Original amount' of the store credit is not getting set when the coupon is generated either from 'Bulk generate' (tab), 'Import' (tab) or 'Send store credit' (tab)
* Fix: Uncaught exception 'Error' with message 'Call to a member function get() on null' [YITH WooCommerce Wishlist]
* Tweak: Correction in indentation as per WordPress Standards
* Tweak: Minor spelling correction
* Developer: New filter 'wc_sc_is_email_required_for_sending_coupon' to decide whether email address is required for sending coupon or not
* Update: Translation & language related changes in the template 'acknowledgement-email.php'
* Update: POT file
Top