custom/plugins/WabsDigitalProductsExtended/src/Resources/views/storefront/component/product/card/action.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/component/product/card/action.html.twig' %}
  2. {% block component_product_box_action_buy %}
  3.     {% if not product.extensions.ennoDigitalProductSettings.isDigital %}
  4.         {# @var product \Shopware\Core\Content\Product\SalesChannel\SalesChannelProductEntity #}
  5.         <form action="{{ path('frontend.checkout.line-item.add') }}"
  6.               method="post"
  7.               class="buy-widget"
  8.               data-add-to-cart="true">
  9.             {% block component_product_box_action_buy_csrf %}
  10.                 {{ parent() }}
  11.             {% endblock %}
  12.             {% block component_product_box_action_form %}
  13.                 {{ parent() }}
  14.             {% endblock %}
  15.         </form>
  16.     {% endif %}
  17. {% endblock %}