# WooCommerce Attribute Swatches by Iconic — Changelog `meteorgpl-plugin/iconic-woo-attribute-swatches` · 59 releases, newest first, as published by the vendor. ## 1.20.2 — 2025-04-28 [fix] Updated dependencies and added more safety checks to telemetry opt-ins/opt-outs ## 1.20.1 — 2025-04-24 [fix] Variation price on attribute selection now correctly updates after recent WC core a11y update. ## 1.20.0 — 2025-02-19 [update] Licensing. ## 1.19.0 — 2024-09-04 [new] WooCommerce Product Block editor compatibility [new] Compatibility with CURCY - WooCommerce Multi Currency plugin [new] Developer filter: `iconic_was_attribute_option_value` [fix] Accordion on the product page for block-based themes [fix] Replace deprecated `FILTER_SANITIZE_STRING` ## 1.18.0 — 2024-05-15 [new] Compatibility with Discount Rules and Dynamic Pricing for WooCommerce plugin [new] Added developer filter to cache product swatch HTML for performance [new] Developer filter `iconic_was_should_clear_static_fees_when_get_fees_by_attribute` [update] Fees are now visible in the cart / mini-cart [fix] Check for a valid attachment ID before retrieving an image in the attribute terms list table [fix] Ensure attribute slugs are formatted in is_was_enabled ## 1.17.3 — 2023-12-11 [update] Iconic dependencies. ## 1.17.2 — 2023-11-15 [fix] Prevent multiple variations forms from breaking swatch selections ## 1.17.1 — 2023-08-31 [fix] Fix license validation issues and type errors ## 1.17.0 — 2023-08-24 [new] New licensing system [fix] Do not show product specific swatch data for simple products in WLV [fix] Fees are now added to manually created order items ## 1.16.3 — 2023-07-21 [update] Updated Iconic dependencies ## 1.16.2 — 2023-07-05 [new] Developer Filter: iconic_was_image_swatch_attachment_id [update] Updated dependencies [fix] Fatal error while editing a product template with Elementor [fix] Check filters key exists in swatch data to avoid warning ## 1.16.1 — 2023-06-06 [fix] Fixed an issue affecting visibility of the fees table for custom attributes. ## 1.16.0 — 2023-06-06 [update] Relocated product-specific attribute fee fields from the Attributes tab to the Attribute Swatches (formerly known as Swatches) tab. ## 1.15.0 — 2023-06-01 [new] Filter: use `iconic_was_swatches_show_unavailable ` to show unavailable variation swatches [new] Filter: use `iconic_was_sort_attribute_terms` to sort attribute groups with custom code [new] Filter: use `iconic_was_loop_use_product_swatch_data` to enable product-specific swatch settings in the loop [new] Declared compatibility with WooCommerce's HPOS feature ## 1.14.2 — 2023-01-02 [fix] WOOCS: Cart item price currency now changes correctly ## 1.14.1 — 2022-10-07 [update] Settings framework updated. ## 1.14.0 — 2022-09-23 [fix] Attribute fees are now properly calculated for mini-cart line item prices ## 1.13.0 — 2022-08-10 [update] Added strike-through styling to OOS text swatches for better accessibility [fix] Fixed a bug causing the attribute swatch settings to be hidden [fix] Fix to prevent empty fee values when adding products to cart via AJAX ## 1.12.0 — 2022-07-22 [new] You can now pick swatch colours directly from the list of attribute terms [fix] Fix to prevent global fees being returned as zero when saving product attributes [fix] Fixed attribute fees in non-default currencies not converting for products using WCML currency switcher ## 1.11.2 — 2022-07-06 [fix] Prevented a PHP warning caused by invalid attribute taxonomy names [fix] Fixed a bug where tax was missing from products with both sale prices and fees ## 1.11.1 — 2022-06-29 [fix] Fixed a bug that caused the sale price to disappear in the catalog in certain contexts when fees are added ## 1.11.0 — 2022-06-24 [update] Added a span tag around the attribute label seperator [fix] Tweaked accordion handle icon CSS to cater for th or td markup in the variations table ## 1.10.0 — 2022-05-31 [fix] Fixed issue where webp images using picture tags would not change in the catalog [fix] Fix edge case with label fee if the term is called 0 ## 1.9.0 — 2022-04-28 [new] Added a new filter to modify text swatch labels. [new] Added a new getting started tab to the plugin settings. [fix] Improve compatibility with WPML. ## 1.8.0 — 2022-03-21 [new] Added new filter to conditionally hide attribute swatches in archives [fix] Fix to prevent incorrect CSS width calculation on swatch slider list ## 1.7.0 — 2022-03-01 [update] Updated Freemius SDK. [fix] Prevent aborting fee checks if the request is AJAX. [fix] Added compatibility with WCFAD by re-hooking the totals calculation callback. [fix] Fixed a fatal error with the WP CLI commands. ## 1.6.0 — 2022-02-02 [new] Hook and Filter documentation generation dependencies added [fix] Fixed bug where the fees field would not appear when WPML is active [fix] Fixed bug preventing missing variation swatches when using custom attributes ## 1.5.0 — 2021-12-21 [new] Added support for displaying the price suffix in variable product price/from price [fix] Silence errors appearing in log files caused by minor PHP issues ## 1.4.2 — 2021-12-03 [update] Add original product object as parameter to swatch HTML loop filter [fix] Fixed issue causing attribute ordering to not be reflected in swatches on the front-end ## 1.4.1 — 2021-12-01 [fix] Silence warning caused by direct access of WC_Product attributes ## 1.4.0 — 2021-12-01 [new] Added compatibility with the Aelia Currency Switcher plugin [new] Added a filter to support the hiding of attribute label fees [new] GitHub workflow improvements [update] Add selected class to li element [update] Improved compatibility with WPML [update] Improved compatibility with WOOCS [fix] Allow fees value to be negative [fix] Fixed group labels still showing when groups were removed [fix] Prevented error when `$product` is a string and not a WC_Product [fix] Fixed fee field breaking attribute edit screen [fix] Fixed error when fetching "any..." terms [fix] Prevented Related Products from disappearing when Salient theme is installed [fix] Prevented From: text from appearing when all variation prices are identical [fix] Ensured price is updated correctly when no thousand separator is set [fix] Prevented group labels from disappearing if single product swatch meta is set [fix] Fixed missing variations powered by custom variation attributes ## 1.3.4 — 2021-08-13 [new] Add compatibility with WooCommerce Currency Switcher (WOOCS) by realmag777 [update] `Linked Variations` plugin can use attribute groups now [update] Update dependencies [fix] Compatibility with WooCommerce Product Bundles by Somewherewarm [fix] Fix attribute fees not updating issue [fix] Fix non-numeric value encountered warning [fix] Escape quotes in JS when changing selected label [fix] Fix tooltip issues on iOS devices [fix] Fix invalid characters message when no color assigned to swatch [fix] Disable overflow effects on product page for radio buttons [fix] Ensure visual attributes aren't given default values (attribute name) ## 1.3.3 — 2021-04-20 [update] Remove group label in single line view [update] Compatibility with OceanWP theme product filters [update] Added grouped attributes to filter widgets [update] Compatibility with GeneratePress theme [update] Loco translate compatibility [update] Update dependencies [fix] Warning in_array warning in archive page [fix] Fix issue with similar attribute names [fix] Compatibility with 3rd-party quickview plugins [fix] Expand self-closing jQuery elements, e.g. `` [fix] Update tooltips to work if swatch is loaded dynamically [fix] Prevent error when default attribute value contains spaces ## 1.3.2 — 2020-11-23 [fix] Fixed fees not working bug ## 1.3.1 — 2020-11-18 [update] Update dependencies [fix] Ensure iconic_was_disable_fees runs at the right time [fix] Ensure attribute labels are only modified in the variations table [fix] Fix tooltip image alignment issue [fix] Only add "From:" price label if product has fees ## 1.3.0 — 2020-10-28 [new] `iconic_was_catalog_swatches` shortcode for displaying the shop/catalog swatches [new] Accordion Feature [new] Overflow feature - slider, "more", and stacked [new] Add global fee field for attributes [update] Offset tooltips when on the screen edge [update] Add `iconic_was_disable_fees` filter to disable fee hooks [update] Allow fees to be set to 0 for product attribute [update] Improved swatch tooltips - no layering issues [update] Allow float values in fee field (i.e. 2.50) [update] Compatibility with WooCommerce Currency Switcher (WOOCS) [update] Added a new class on single product page suggesting swatches status [update] Compatibility with Product Bundles by SomewhereWarm [update] Hide group label when no terms are available for it [update] Update POT file [update] Update dependencies [fix] Don't show backorder products as out of stock [fix] Add fees to dropdowns for product attributes [fix] Firefox page reload swatch state issue [fix] Swatch fees showing "0" when no fee set [fix] Fix price with fees in mini-cart ## 1.2.7 — 2020-04-23 [update] Compatibility with "Smart Variation Images" [update] Compatibility with Iconic Sales Booster [update] Update dependencies [update] Change default swatch style to "border" [fix] Handle custom attributes (fixes array_diff() error) [fix] Swatches showing square rather than round [fix] Rounding precision issue when using attribute fees [fix] Persistent Object Cache issue ## 1.2.6 — 2020-03-18 [update] Version compatibility ## 1.2.5 — 2019-10-28 [update] Add out of stock class to swatch list item (so it can be hidden or styled) [fix] Ensure attributes set to "any" are counted as available ## 1.2.4 — 2019-10-23 [update] Improve performance when loading swatches in the catalog [update] Changed tick icon to embedded fontawesome svg (https://fontawesome.com/license) [update] Compatibility with OceanWP Theme [update] Update dependencies [fix] Ensure unavailable swatches are not shown in the catalog [fix] Mark out of stock variations as disabled in the catalog [fix] Check for product before adding fee to attribute label (fixes issue with Jilt) [fix] Deselect unavailable attribute automatically ## 1.2.3 — 2019-07-30 [update] Change fee calculation method for better compatibility [update] Ensure variation sale price is formatted correctly [fix] Prevent double tap on ios [fix] Slow query when fetching first variation for an attribute value (archives) [fix] When adding fee to swatch label, check product is not a string (issue with Jilt compatibility) ## 1.2.2 — 2019-07-01 [fix] Freemius fix ## 1.2.1 — 2019-04-23 [update] Don't show attribute fees for admin labels [update] Allow swatches to be positioned in ajax based results [update] Deselect unavailable attributes on page load [fix] Attributes not showing in Swatches tab [fix] Issue where new product page was not loading ## 1.2.0 — 2019-04-18 [new] Ability to add fees to each attribute option [update] Compatibility with Woo 3.6.1 [update] Update dependencies [update] Use CRUD for product meta [fix] Stop layered nav swatches being replaced by single product settings ## 1.1.4 — 2019-03-02 [fix] Security Fix ## 1.1.3 — 2019-01-10 [new] Show swatches in layered nav filters [update] Update dependencies [update] Allow swatches to be hidden in loop per product via `iconic_was_hide_loop_swatches` filter [fix] Sometimes the product image is not updated when clicking on swatches in the loop [fix] SSV compatibility. The context switch wasn't restored at the right place on the product loop when product had multiple attributes [fix] Sometimes attributes didn't appear in the loop [fix] The swatches in the loop didn't follow the custom terms order set in the backend ## 1.1.2 — 2018-09-10 [update] implement Iconic core classes [update] Allow swatches to be displayed under variation products on the catalog [fix] Issue with product specific visual swatches saving [fix] Use `jQuery` instead of `$` when editing attributes [fix] Change method of selecting value in select field ## 1.1.1 — 2018-06-15 [fix] Attributes not selected when over AJAX variation threshold ## 1.1.0 — 2018-06-14 [update] Add WPML config settings [update] Flatsome compatibility helpers [update] Add POT file [update] Better conditional fields in admin [update] Add Woocommerce Variations Table - Grid compatibility [update] Freemius [update] Optimize catalog swatches [update] Hide unavailable catalog swatches [update] New style options for visual swatches [update] Add ability to group swatches by label [update] Add filters to modify default swatch sizes `iconic_was_default_swatch_size` [fix] Product specific attribute swatches not showing in catalog [fix] Double tap selection issue on touch devices [fix] Attribute order for composite products [fix] Image switch size [fix] Some styling issues in the product edit panel [fix] Don't add swatches in catalog if $product is false [fix] Output of swatch options when creating a global attribute [fix] Don't remove current values when changing swatch type [fix] Ensure "disabled" options are greyed out ## 1.0.10 — 2017-10-07 [update] Freemius ## 1.0.9 — 2017-09-13 [update] Re-enable product-level swatch catalog settings [update] Allow custom swatch sizes [fix] Escape double quotes in swatch data attributes [fix] Some performance updates ## 1.0.8 — 2017-08-06 [fix] wp_mail issue ## 1.0.7 — 2017-08-02 [update] Code tidy [update] Add filter for loop position priority [update] Add new licensing system [fix] Make sure chosen attribute span is more specific [fix] Product tab formatting [fix] Deprecated action [fix] Make sure swatches are positioned on 'init' ## 1.0.6 — 2017-04-02 [update] WooCommerce 3.0.0 compatibility [update] Made "disabled" swatch styling more apparent [update] Add attribute data to swatch data for filters [update] Improve load time in archive [update] Allow large preview without enabling tooltips [fix] Undefined index error ## 1.0.5 — 2016-12-21 [update] Show available options on hover [update] Remove slug_alt variable [update] Atelier compatibility [update] Added filters to the modify_attribute_html function [update] Remove dashboard [update] Add option to change image when swatch is clicked in catalog view [fix] Remove max-width on preview image ## 1.0.4 — 2016-07-18 [update] Add large preview option to tooltip [fix] Compatibility with Shop the Look plugin ## 1.0.2 — 2016-06-21 [fix] Fix admin product tab when attributes do not exist [fix] Fix label in admin variations tab [update] Ability to show swatches in the catalog listing, they also click through to select that option. ## 1.0.1 — 2016-06-19 [update] Add swatch options title to term edit page [fix] Remove license key page [update] Add check for WooCommerce plugin [update] Allow disabled swatches to be clicked - refresh selection [fix] Stop tooltip text wrapping [fix] Correct attribute term ordering [update] Compatibility with WooCommerce Quickview by Iconic [update] modify labels for normal select fields ## 1.0.0 — 2016-05-16 Initial release