Skip to content

Commit

Permalink
Revert "Change deprecated twig function"
Browse files Browse the repository at this point in the history
This reverts commit 7cd0b32.
  • Loading branch information
marekrzytki committed May 6, 2024
1 parent 7cd0b32 commit ad6ae2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Resources/views/WishlistDetails/_variantPrice.html.twig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% import "@SyliusShop/Common/Macro/money.html.twig" as money %}

{% set pricing = sylius_product_variants_map(product, {'channel': sylius.channel}) %}
{% set pricing = sylius_product_variant_prices(product, sylius.channel) %}

{% set prices %}
[
Expand All @@ -17,7 +17,7 @@
{%- endif -%}
{{- not loop.last ? ', '-}}
{%- endfor -%}
}}
}
{{- not loop.last ? ', '-}}
{%- endfor -%}
]
Expand Down

0 comments on commit ad6ae2e

Please sign in to comment.