custom/plugins/NetzpGallery6/src/Resources/views/storefront/page/product-detail/index.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/page/product-detail/index.html.twig' %}
  2. {% block page_product_detail_inner %}
  3.     {{ parent() }}
  4.     {% block page_product_detail_inner_gallery %}
  5.         {% if(config('NetzpGallery6.config.productposition') == 'description' and
  6.             page.product.getExtension('galleries').getElements()) %}
  7.             {% sw_include "@Storefront/storefront/partials/gallery.html.twig" with {
  8.                 'gallery': page.product.getExtension('galleries').getElements()|first,
  9.                 'galleryId': page.product.id,
  10.                 'displayMode': config('NetzpGallery6.config.displaymode'),
  11.                 'sortMode': config('NetzpGallery6.config.sortmode'),
  12.                 'showgallerytitle': config('NetzpGallery6.config.showgallerytitle'),
  13.                 'showgallerydescription': config('NetzpGallery6.config.showgallerydescription'),
  14.                 'imageheight': config('NetzpGallery6.config.imageheight'),
  15.                 'showthumbnailcaption': config('NetzpGallery6.config.showthumbnailcaption'),
  16.                 'showimagecaption': config('NetzpGallery6.config.showimagecaption'),
  17.                 'showfilename': config('NetzpGallery6.config.showfilename'),
  18.                 'showcounter': config('NetzpGallery6.config.showcounter')
  19.             } %}
  20.         {% endif %}
  21.     {% endblock %}
  22. {% endblock %}