Skip to content

Commit

Permalink
Updated decpreciated discounts property (#2760)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludoboludo committed Jul 7, 2023
1 parent e3517e9 commit 0ee39ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sections/main-cart-items.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
{%- endif -%}

<ul class="discounts list-unstyled" role="list" aria-label="{{ 'customer.order.discount' | t }}">
{%- for discount in item.discounts -%}
{%- for discount in item.discount_allocations -%}
<li class="discounts__discount">
{%- render 'icon-discount' -%}
{{ discount.title }}
Expand Down
2 changes: 1 addition & 1 deletion snippets/cart-drawer.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@
role="list"
aria-label="{{ 'customer.order.discount' | t }}"
>
{%- for discount in item.discounts -%}
{%- for discount in item.discount_allocations -%}
<li class="discounts__discount">
{%- render 'icon-discount' -%}
{{ discount.title }}
Expand Down

0 comments on commit 0ee39ad

Please sign in to comment.