{* * 2021 Anvanto * * NOTICE OF LICENSE * * This file is not open source! Each license that you purchased is only available for 1 wesite only. * If you want to use this file on more websites (or projects), you need to purchase additional licenses. * You are not allowed to redistribute, resell, lease, license, sub-license or offer our resources to any third party. * * @author Anvanto * @copyright 2021 Anvanto * @license Valid for 1 website (or project) for each purchase of license * International Registered Trademark & Property of Anvanto *} {extends file=$layout} {block name='head' append} {if isset($product.weight) && ($product.weight != 0)} {/if} {/block} {block name='content'}
{if $product.id_manufacturer}
{/if}
{block name='page_content_container'}
{block name='page_content'} {block name='product_flags'} {include file='catalog/_partials/product-flags.tpl'} {/block} {block name='product_cover_thumbnails'} {include file='catalog/_partials/product-cover-thumbnails-product.tpl'} {/block} {/block} {hook h='displayProductAdditionalInfo2' product=$product}
{/block}
{block name='page_header_container'} {block name='page_header'} {if isset($product.quantity) && $product.quantity > 0}
{l s='PRODUKT DOSTĘPNY - produkt na stanie' d='Shop.Theme.Catalog'}
{/if}

{block name='page_title'}{$product.name}{/block}

{/block} {/block} {block name='product_prices'} {include file='catalog/_partials/product-prices.tpl'} {/block} {hook h='displayProductVisitors' product=$product}
{if $product.is_customizable && count($product.customizations.fields)} {block name='product_customization'} {include file="catalog/_partials/product-customization.tpl" customizations=$product.customizations} {/block} {/if} {block name='product_additional_info'} {include file='catalog/_partials/product-additional-info.tpl'} {/block}
{block name='product_buy'}
{block name='product_variants'} {include file='catalog/_partials/product-variants.tpl'} {/block} {block name='product_pack'} {if $packItems}

{l s='This pack contains' d='Shop.Theme.Catalog'}

{foreach from=$packItems item="product_pack"} {block name='product_miniature'} {include file='catalog/_partials/miniatures/pack-product.tpl' product=$product_pack} {/block} {/foreach}
{/if} {/block} {block name='product_discounts'} {include file='catalog/_partials/product-discounts.tpl'} {/block} {block name='product_add_to_cart'} {include file='catalog/_partials/product-add-to-cart.tpl'} {/block} {block name='product_refresh'} {/block}
{/block} {block name='product_clothes_size'} {assign var=catIds value=Product::getProductCategories($product.id)} {assign var=checkCats value=[918,1155]} {foreach from=$checkCats item=c} {if $c|in_array:$catIds} {assign var=inSpecialCat value=true} {/if} {/foreach} {if isset($inSpecialCat) && $inSpecialCat} {/if}
                {$catIds|@print_r}
              
{/block} {hook h='displayProductGuarantee' product=$product} {hook h='displayProductSocials' product=$product}
{block name='product_footer'} {hook h='displayFooterProduct' product=$product category=$category} {/block} {block name='product_tabs'}
{block name='product_description'}
{$product.description nofilter}
{/block}
{if Module::isEnabled('an_theme') and Module::getInstanceByName('an_theme')->getParam('productinfo_detailstab')} {block name='product_details'} {include file='catalog/_partials/product-details.tpl'} {/block} {/if} {block name='product_attachments'} {if $product.attachments}

{l s='Download' d='Shop.Theme.Actions'}

{foreach from=$product.attachments item=attachment}

{$attachment.name}

{$attachment.description}

{l s='Download' d='Shop.Theme.Actions'} ({$attachment.file_size_formatted})
{/foreach}
{/if} {/block} {foreach from=$product.extraContent item=extra key=extraKey}
$val} {$key}="{$val}" {/foreach}> {$extra.content nofilter}
{/foreach}
{/block} {block name='product_accessories'} {if $accessories}

{l s='You might also like' d='Shop.Theme.Catalog'}

{foreach from=$accessories item="product_accessory" name=accessories} {if $smarty.foreach.accessories.index < 4} {block name='product_miniature'} {include file='catalog/_partials/miniatures/product.tpl' product=$product_accessory} {/block} {/if} {/foreach}
{/if} {/block} {block name='product_images_modal'} {include file='catalog/_partials/product-images-modal.tpl'} {/block} {block name='page_footer_container'} {/block}
{/block}