From 5e957f503595a456c5a9a6d92a598961ea8896d6 Mon Sep 17 00:00:00 2001 From: BC-tymurbiedukhin <66319629+BC-tymurbiedukhin@users.noreply.github.com> Date: Tue, 2 Feb 2021 14:35:36 +0200 Subject: [PATCH] fix(storefront): BCTHEME-354 If multiple Pick List Options are applied, customers cannot select 'none' on both (#1975) --- CHANGELOG.md | 1 + templates/components/products/options/product-list.html | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 885b740881..e116cbab34 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # Changelog ## Draft +- If multiple Pick List Options are applied, customers cannot select "none" on both. [#1975](https://github.com/bigcommerce/cornerstone/pull/1975) - Moved phrase from compare.html to en.json for increasing localization. [#1972](https://github.com/bigcommerce/cornerstone/pull/1972) - Fixed focus for sort by dropdown on reloading page. [#1964](https://github.com/bigcommerce/cornerstone/pull/1964) - Fixed filtered selection not announced by screen reader. [#1966](https://github.com/bigcommerce/cornerstone/pull/1966) diff --git a/templates/components/products/options/product-list.html b/templates/components/products/options/product-list.html index 8e71ee6ad2..e963b325ba 100644 --- a/templates/components/products/options/product-list.html +++ b/templates/components/products/options/product-list.html @@ -14,9 +14,9 @@ type="radio" name="attribute[{{id}}]" value="" - id="attribute_productlist_{{../id}}_none" + id="attribute_productlist_{{id}}_none" checked="{{#if defaultValue '==' ''}}checked{{/if}}"> - + {{/unless}} {{#each values}}