=== CommerceKit ===
Contributors: commercegurus
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl.html
Tags: ecommerce, conversions, performance, product gallery, swatches, order bumps, countdowns, badges, sticky add to cart
Tested up to: 6.5
Stable tag: 2.4.3
Requires PHP: 7.2.5
Conversion-boosting, performance-focused eCommerce features which work together seamlessly. From CommerceGurus.
== Changelog ==
2.4.3 - 17-09-2025
* New: Introduced "Out of stock" indicator in Ajax Search suggestions, with admin control.
* New: Introduced a double opt-in option in the Waitlist module, allowing users to confirm their sign-up before being added to the waiting list.
* New: Allowing Product SKU, Variation SKU, Product GTIN, Variation GTIN and Attributes to be excluded from Ajax Search results.
* New: Attribute Swatches now support all multi-currency plugins that follow WooCommerce standards.
* New: Countdown timers now work with WooCommerce's Scheduled Sale Price feature.
* New: Included GTIN in Ajax Search suggestions.
* New: Added admin option to exclude the product featured image from the product gallery.
* New: Introduced a global countdown timer option shared across all users.
* Fix: Selected variants in product card with Attribute Swatches were not appearing on the product detail page when variant names included fractions or symbols.
* Fix: Resolved stock status update issue when using Attribute Swatches with Polylang for WooCommerce plugin.
* Fix: Fixed issue where an extra select option appeared when Attribute Swatches were disabled.
* Fix: Resolved compatibility issue between CommerceKit Attribute Gallery and WooCommerce Product Bundles.
* Fix: Corrected inconsistent image sizes in the Product Gallery.
* Fix: Resolved issue where two play/pause icons appeared simultaneously on mobile product gallery video slides.
* Fix: Fixed YouTube video in the product gallery lightbox not being centered on mobile devices.
* Fix: Corrected sticky Add to Cart swatch image not displaying properly when only one product attribute is available and no variation image is set.
* Tweak: The "Hide this attribute in product loop" setting is no longer shown for single-attribute products.
* Tweak: Enhanced admin Wishlist module with improved pagination and layouts.
* Tweak: Countdown dates are now integrated with native date input fields.
* Tweak: Added a tooltip to the Stock Meter for the low stock threshold setting.
* Tweak: Reordered the admin Waitlist tabs for improved usability.
* Tweak: Changed the size guide heading from an h3 to a div with role="title".
* Performance: Removed the Attribute Swatches library on Simple Product pages for better performance.
* Performance: Optimized loading of YouTube/Vimeo/Wistia libraries when no autoplay videos are present in the Gallery.
* Performance: Optimized attribute swatches markup by removing unnecessary HTML.
* Performance: Enhanced Ajax Search results to better match full-text queries.
* Compatibility: Made the Wishlist module fully compatible with WPML and Polylang plugins.
* Compatibility: Improved PLP attribute swatches to display prices correctly with the B2BKing plugin.
* Compatibility: Improved Free Shipping Notification compatibility with Currency Switcher Professional for WooCommerce (WOOCS).
2.4.2 - 06-05-2025
* New: Horizontal product gallery now has an option to display captions beneath the main image.
* New: Completely redesigned wishlist product detection to use transient caching instead of database queries.
* New: Added Ajax Search cache clearing functionality to the global cache management system.
* New: Introduced new global function commercekit_ajs_clear_all_cache() specifically for Ajax Search cache clearing.
* Performance: Implemented preloading of wishlist product IDs before shop loop execution.
* Performance: Added automatic cache refresh when products are added to or removed from wishlist.
* Performance: Significantly improved performance of product loops and the "commercekit_wishlist_update" AJAX request.
* Tweak: Integrated Ajax Search cache clearing into the existing WP-CLI command.
* Tweak: Running wp commercekit-clear-cache now clears all cache including Attribute Swatches and Ajax Search.
2.4.1 - 17-04-2025
* New: CommerceKit Badges can now be assigned by brand.
* New: Option to reset the most frequent search data within the Ajax Search reports.
* New: Empty wishlist template can now be over-written and customized manually.
* Fix: Variation price not updating according to the selected variant.
* Fix: Conflict between Product Gallery styles and Elementor Pro swiper styles on the PDP.
* Fix: Out of stock swatches not automatically disabled when the attribute has only a single value.
* Fix: Waitlist displayed for in-stock variant options.
* Compatibility: Product gallery with the Advanced Product Fields Extended for WooCommerce plugin.
* Compatibility: Ajax Search with the Sales Agent For WooCommerce plugin.
* Compatibility: Order Bumps with the Cartflows plugin.
* Compatibility: Improved compatibility with CookieBot.
2.4.0 - 04-03-2025
* New: Can set desktop and mobile product thumbnails number within the product gallery settings.
* New: Wishlist page now shows a standard product grid rather than a table layout.
* New: Revenue and conversion rate statistics now available for Wishlist and Waitlist modules.
* New: Option to duplicate existing Order Bump to make it quicker to create new ones.
* New: Ajax search suggestions can now look up products via native GTIN/UPC/EAN/ISBN field.
* New: Can disable attribute swatches for related and menu items on the product page.
* New: Custom "Reply-to" email option for waitlist enquiries as an alternative to the admin email.
* New: Waitlist email supports multilingual and can now be translated via WPML and Polylang Pro.
* New: Countdowns can be assigned via product tags, not just product categories.
* New: Display product captions within the product gallery lightbox.
* New: Third parties can use WP CLI to add/update/remove images in attribute galleries and add/update/remove attribute galleries.
* Fix: Improved Product Gallery Lazy Loading implementation to resolve blank images with loading animations.
* Fix: Elementor Pro PDPs - triggering a lightbox no longer downloads the image.
* Fix: Elementor Pro PDPs - if an additional SwiperJS instance is present, e.g. a carousel widget, the gallery loads.
* Fix: Free Shipping Notification showing negative value when merchants entered differently formatted prices.
* Fix: Wishlist pagination now works correctly on the My Account and main Wishlist pages.
* Fix: PLP swatches overflow issue on small screens, they are now all visible.
* Fix: Console errors when vertical left/vertical right gallery layouts selected.
* Fix: Order bumps no longer display draft products.
* Fix: PHP warnings issue resolved.
* Tweak: Ajax Search module security enhancements.
* Tweak: Additional CLI options included, can view full list via: "wp cg-commercekit info".
* Tweak: Search suggestions performs look up by phrase if more than one word in the query.
* Tweak: Product gallery arrows styling if Elementor Pro is active and has custom button padding applied.
* Tweak: Empty wishlist page styling improved.
* Performance: Custom table now used for storing size guide condition options instead of using a post meta table.
* Performance: A caching maximum limit of 500 products per single action applied.
* Compatibility: Ajax search now works correctly with the User Roles plugin.
* Compatibility: Improved attribute swatches display with the B2BKing plugin.
* Compatibility: Free shipping notification module with the Flexible Shipping plugin.
* Compatibility: Improved pricing display when the Discount Rules Core plugin is active.
* Compatibility: Sticky tabs anchor issue in Firefox when SaySpot reviews are active.
* Accessibility: "Redundant title text" from CommerceKit Attribute Swatches alert resolved.
2.3.9 - 18-09-2024
* Fix: Changing PDP variations affected related/upsells prices.
* Fix: Waitlist now works on product pages built with Elementor Pro.
2.3.8 - 13-09-2024
* Fix: Vertical scroll product gallery fix.
* Fix: Sticky ATC margin issue resolved.
* Tweak: Improved Featured review layout if no image added.
* Tweak: RTL for new Vertical left and Vertical right gallery layouts.
2.3.7 - 12-09-2024
* New: Can now display a featured review underneath the product gallery.
* New: Product Gallery now has "Vertical left" and "Vertical right" desktop display layouts.
* New: Shortcodes and Elementor Pro widgets now available for: Product Gallery and Free Shipping Notification modules.
* New: Ability to display the wishlist on the catalog or PDPs or both.
* New: Size Guides can now be assigned by product tag.
* New: Modules can now be disabled on the frontend but remain active in the admin to allow a store owner to populate large catalog data.
* New: Order Bump now supports WooCommerce Subscription products.
* New: Admin orders area now has a separate 'Order bumps' tab to filter orders which contain bumps.
* Fix: Sticky add to cart mobile scroll position on out of stock PDPs.
* Fix: Attribute color swatches image update improvement.
* Fix: PLP swatches "More options" label now displays rather than "Quick add" when certain conditions are met.
* Fix: Mobile Sticky Add to Cart is no longer cut if a lot of swatches are present, it inner scrolls.
* Tweak: When a swatch is selected, PLP and PDP price updates to the specific value rather than showing the range.
* Tweak: Improved Vimeo video display within the Product Gallery.
* Tweak: Product Gallery now supports .webm video files.
* Tweak: Product Gallery now supports Wistia video embeds.
* Tweak: Removed "Button added" Order Bump string as it updates too quickly to be displayed.
* Accessibility: Swatches are now grouped in a