custom/plugins/SchrammTheme/src/Resources/views/storefront/page/product-detail/buy-widget.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/page/product-detail/buy-widget.html.twig' %}
  2. {% block page_product_detail_buy_container %}
  3.     <div style="display: flex; justify-content: space-between">
  4.         {% if page.product.ratingAverage > 0 and page.reviews.totalReviews > 0 and config('core.listing.showReview') %}
  5.             <div class="product-detail-reviews">
  6.                 {% sw_include '@Storefront/storefront/component/review/rating.html.twig' with {
  7.                     points: page.product.ratingAverage,
  8.                     style: 'text-primary'
  9.                 } %}
  10.             </div>
  11.         {% endif %}
  12.         {% if config('core.cart.wishlistEnabled') %}
  13.             {% sw_include '@Storefront/storefront/component/product/card/wishlist.html.twig' with {
  14.                 showText: false,
  15.                 size: 'xl',
  16.                 productId: page.product.id
  17.             } %}
  18.         {% endif %}
  19.     </div>
  20.     <div class="product-detail-headline">
  21.         {% sw_include '@Storefront/storefront/page/product-detail/headline.html.twig' %}
  22.     </div>
  23.     <div class="product-detail-short-description">
  24.         {{ page.product.translated.customFields.custom_short_description | raw }}
  25.     </div>
  26.     {% if page.product.parentId and page.configuratorSettings|length > 0 %}
  27.         <div class="product-detail-configurator-container">
  28.             {% sw_include '@Storefront/storefront/page/product-detail/configurator.html.twig' %}
  29.         </div>
  30.     {% endif %}
  31.     {{ parent() }}
  32. {% endblock %}
  33. {% block page_product_detail_configurator_include %}{% endblock %}
  34.       {% block page_product_detail_wishlist %}
  35.       {% endblock %}
  36. {% block page_product_detail_ordernumber_container %}{% endblock %}
  37. {% block page_product_detail_reviews %}
  38. {% endblock %}