From 27c1e3f6f952146b4669ccee593d1bacac1d4c48 Mon Sep 17 00:00:00 2001 From: bartektw Date: Fri, 30 Oct 2020 12:07:31 +0100 Subject: [PATCH 1/2] fix button "Add to wishlist" in product show action --- .../SyliusShopBundle/Product/Show/_addToCart.html.twig | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tests/Application/templates/bundles/SyliusShopBundle/Product/Show/_addToCart.html.twig b/tests/Application/templates/bundles/SyliusShopBundle/Product/Show/_addToCart.html.twig index 5f30a036..3ef76c66 100644 --- a/tests/Application/templates/bundles/SyliusShopBundle/Product/Show/_addToCart.html.twig +++ b/tests/Application/templates/bundles/SyliusShopBundle/Product/Show/_addToCart.html.twig @@ -22,10 +22,11 @@ {# Add variant to wishlist button #} - + + + {{ 'bitbag_sylius_wishlist_plugin.ui.add_to_wishlist'|trans }} + {{ form_row(form._token) }} {{ form_end(form, {'render_rest': false}) }} From 8e7a0ee9fa290cf2a874d13a8cf383f1c82b0d70 Mon Sep 17 00:00:00 2001 From: bartektw Date: Mon, 2 Nov 2020 07:53:16 +0100 Subject: [PATCH 2/2] fix button "Add to wishlist" in product show action --- .../SyliusShopBundle/Product/Show/_addToCart.html.twig | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/tests/Application/templates/bundles/SyliusShopBundle/Product/Show/_addToCart.html.twig b/tests/Application/templates/bundles/SyliusShopBundle/Product/Show/_addToCart.html.twig index 3ef76c66..761681d1 100644 --- a/tests/Application/templates/bundles/SyliusShopBundle/Product/Show/_addToCart.html.twig +++ b/tests/Application/templates/bundles/SyliusShopBundle/Product/Show/_addToCart.html.twig @@ -22,11 +22,10 @@ {# Add variant to wishlist button #} - - - {{ 'bitbag_sylius_wishlist_plugin.ui.add_to_wishlist'|trans }} - + {{ form_row(form._token) }} {{ form_end(form, {'render_rest': false}) }}