From 7cd0b32698c759a0cf12a08ea47035d8ed593139 Mon Sep 17 00:00:00 2001 From: Marek Rzytki Date: Mon, 6 May 2024 10:18:46 +0200 Subject: [PATCH] Change deprecated twig function --- src/Resources/views/WishlistDetails/_variantPrice.html.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Resources/views/WishlistDetails/_variantPrice.html.twig b/src/Resources/views/WishlistDetails/_variantPrice.html.twig index 32111660..4f450f4e 100644 --- a/src/Resources/views/WishlistDetails/_variantPrice.html.twig +++ b/src/Resources/views/WishlistDetails/_variantPrice.html.twig @@ -1,6 +1,6 @@ {% import "@SyliusShop/Common/Macro/money.html.twig" as money %} -{% set pricing = sylius_product_variant_prices(product, sylius.channel) %} +{% set pricing = sylius_product_variants_map(product, {'channel': sylius.channel}) %} {% set prices %} [ @@ -17,7 +17,7 @@ {%- endif -%} {{- not loop.last ? ', '-}} {%- endfor -%} - } + }} {{- not loop.last ? ', '-}} {%- endfor -%} ]