Skip to content

Commit

Permalink
fix(storefront): BCTHEME-1420 If the gift is a variant, the button Ch…
Browse files Browse the repository at this point in the history
…ange shows in cart, and other variant are visible (#2349)
  • Loading branch information
bc-vlad-dlogush authored Apr 25, 2023
1 parent b2c22db commit 99be4e8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Draft
- If the gift is a variant, the button "Change" shows in cart, and other variant are visible [#2349](https://github.com/bigcommerce/cornerstone/pull/2349)
- Removes the URL encoding from the 'description' in the product rich snippet schema [#2350](https://github.com/bigcommerce/cornerstone/pull/2350)
- Running Lighthouse npm script fails in terminal [#2345](https://github.com/bigcommerce/cornerstone/pull/2345)
- Removed accelerated checkout integration [#2341](https://github.com/bigcommerce/cornerstone/pull/2341)
Expand Down
16 changes: 9 additions & 7 deletions templates/components/cart/content.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,15 @@ <h2 class="cart-item-name">
{{/each}}
</dl>

<a href="#"
data-item-edit="{{id}}"
data-product-id="{{product_id}}"
aria-label="{{lang 'products.change_product_options' name=name}}"
>
{{lang 'common.change'}}
</a>
{{#if can_modify}}
<a href="#"
data-item-edit="{{id}}"
data-product-id="{{product_id}}"
aria-label="{{lang 'products.change_product_options' name=name}}"
>
{{lang 'common.change'}}
</a>
{{/if}}
{{/if}}

{{#if type '==' 'GiftCertificate'}}
Expand Down

0 comments on commit 99be4e8

Please sign in to comment.