custom/plugins/SimaxThemeKara/src/Resources/views/storefront/component/product/card/box-standard.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/component/product/card/box-standard.html.twig' %}
  2. {% block component_product_box_rating %}{% endblock %}
  3. {% block component_product_box_wishlist_action %} {# mv component_product_box_name #} {% endblock %}
  4. {% block component_product_box_image %}
  5.     {% block kara_component_product_box_rating %}
  6.         {% if shopware.config.detail.showReviews %}
  7.             <div class="product-rating">
  8.                 {% if product.ratingAverage %}
  9.                     {% sw_include '@Storefront/storefront/component/review/rating.html.twig' with {
  10.                         points: product.ratingAverage,
  11.                         style: 'text-primary'
  12.                     } %}
  13.                 {% endif %}
  14.             </div>
  15.         {% endif %}
  16.     {% endblock %}
  17.     {{ parent() }}
  18. {% endblock %}
  19.  {% block component_product_box_variant_characteristics %}
  20.      {% if product.variation %}
  21.         {{ parent() }}
  22.      {% endif %}
  23.  {% endblock %}
  24. {#  TO DO card wishlist
  25. {% block component_product_box_name %}
  26.         {% if config('core.cart.wishlistEnabled') %}
  27.             {% block kara_component_product_box_wishlist_action %}
  28.                 {% sw_include '@Storefront/storefront/component/product/card/wishlist.html.twig' with {
  29.                     appearance: 'circle',
  30.                     productId: id
  31.                 } %}
  32.             {% endblock %}
  33.         {% endif %}
  34.         {{ parent() }}
  35.  {% endblock %}
  36. #}