templates/website/product/product-detail-cover.html.twig line 1

Open in your IDE?
  1. {% from 'utils.html.twig' import imgUpload %}
  2. <div class="cover">
  3.     {# VÍDEO #}
  4.     {% if productPage.video is not empty or productPage.library is not empty %}
  5.         <div id="wrap-video-{{ mode }}"></div>
  6.     {# IMG #}
  7.     {% else %}
  8.         {{ 
  9.             imgUpload(
  10.                 productPage.photo, 
  11.                 enum('AbstractEnum::PATH_PRODUCT_PHOTO'), 
  12.                 img_option, product.title
  13.             ) 
  14.         }}
  15.     {% endif %}
  16. </div>