You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the FroshDevelopmentHelper is activated you get a 404 in the offcanvas cart when adding a product from it's product detail page to it.
I just noticed it's because it then does a request to the following URL: http://localhost:8000/MyProduct/%3C!--%20BLOCK%20BEGIN%20buy_widget_buy_form_action%20(vendor/shopware/platform/src/Storefront/Resources/views/storefront/component/buy-widget/buy-widget-form.html.twig)%20--%3E/checkout/line-item/add%3C!--%20BLOCK%20END%20buy_widget_buy_form_action%20--%3E
So somehow it includes the BLOCK-comments which FroshDevelopmentHelper adds.
Adding a product from a product slider just works fine, it's just the "Add to cart"-button on the product detail page.
Expected behaviour
Adding a product to cart should be working with FroshDevelopmentHelper activated.
Steps to Reproduce?
Setup a Shopware 6 shop
Install and activate FroshDevelopmentHelper
Go to a product detail page and add it to cart via the button in the buy-box
The text was updated successfully, but these errors were encountered:
PHP Version
8.0
Shopware Version
6.4.9.0
Actual behaviour
When the FroshDevelopmentHelper is activated you get a 404 in the offcanvas cart when adding a product from it's product detail page to it.
I just noticed it's because it then does a request to the following URL:
http://localhost:8000/MyProduct/%3C!--%20BLOCK%20BEGIN%20buy_widget_buy_form_action%20(vendor/shopware/platform/src/Storefront/Resources/views/storefront/component/buy-widget/buy-widget-form.html.twig)%20--%3E/checkout/line-item/add%3C!--%20BLOCK%20END%20buy_widget_buy_form_action%20--%3E
So somehow it includes the BLOCK-comments which FroshDevelopmentHelper adds.
Adding a product from a product slider just works fine, it's just the "Add to cart"-button on the product detail page.
Expected behaviour
Adding a product to cart should be working with FroshDevelopmentHelper activated.
Steps to Reproduce?
The text was updated successfully, but these errors were encountered: