=== 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.2 Requires PHP: 7.2.5 Conversion-boosting, performance-focused eCommerce features which work together seamlessly. From CommerceGurus. == Changelog == 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
with a for improved a11y. * Accessibility: Search suggestions when open, can now be closed via the ESC key when navigating by keyboard. 2.3.6 - 04-07-2024 * New: Stock meter high stock value now has a separate color selector option. * Fix: Sticky add to cart close icon now visible on desktop. Better handling in displaying large swatches data on mobile. * Fix: CommerceKit get_nonce should only happen once. Switched to use js-cookie instead which is part of core Woo. * Tweak: Improved Waitlist module with Klaviyo form integration. * Tweak: Improved error handling for products with empty attributes. * Tweak: Improved dashboard logic that the attributes gallery module can only be active if the product gallery is enabled. 2.3.5 - 26-06-2024 * New: "wp commercekit-clear-cache" cli command added to allow a nightly cron to automate the clearing and regeneration of swatch caches. * New: Order bump shortcode and Elementor Pro widget now available. * Fix: "Quick add" PLP swatches label should be "More options" when certain conditions are met. * Tweak: Product countdowns shortcode option now accepts an ID for better specificity. 2.3.4 - 19-06-2024 * New: Stock Meter now includes customizable low stock threshold values and labels. * New: Size Guides can now be assigned by attribute as well as by product category. * Tweak: Can now use page builders such as Elementor to create size guides content. * Tweak: Clear Ajax Search Index action now includes a Cancel button option while running. * Accessibility: Can now use keyboard left/right arrows to navigate product gallery. * Accessibility: Use of the tab key to browse the PDP improved, hidden swatch form removed from tabindex. 2.3.3 - 07-06-2024 * Fix: Required WP version update. 2.3.2 - 07-06-2024 * Fix: Select options button display within Elementor Pro carousel when attributes module is active. * Fix: PHP warning message resolved within Waitlist module when product filters are applied but there are no results. * Tweak: Desktop sticky add to cart now vertically scrolls if overflow content is present. * Tweak: Exporter no longer stores the export CSV file on the filesystem. * Tweak: Additional capability checks applied to generate_export_csv and generate_import_csv. * Tweak: Additional capability checks applied to the reset search statistics and reset order bumps statistics buttons. 2.3.1 - 31-05-2024 * New: More polished admin interface. * New: Admin area is now responsive on smaller viewports. * New: Admin area RTL implementation work completed. * New: Admin area displays current version number in header. * New: Shortcodes and Elementor Pro widgets now available for: Countdowns, Inventory Bar, Wishlist and Size Guide modules. * Tweak: Security enhancements to nonces. * Tweak: Select2 JS library now checks if the Woo version is already enqueued and if so, uses that instead. * Tweak: Improvements to ajax wishlist database queries. * Fix: Product attribute gallery stopped working if you switched swatches within related products area. * Sticky add to cart: Scroll event listener swapped with a more performant IntersectionObserver. * Sticky add to cart: a11y controls added. * Size Guides: Converted to a semantically correct HTML element which is faster and has native a11y. * Size Guides: Trigger is now a