first commit

This commit is contained in:
2024-12-17 13:43:22 +01:00
commit 8e6cd8b410
21292 changed files with 3514826 additions and 0 deletions

View File

@@ -0,0 +1,53 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2017 PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<section id="js-active-search-filters" class="{if $activeFilters|count}active_filters{else}hide{/if}">
{block name='active_filters_title'}
<h6 class="h6 {if $activeFilters|count}active-filter-title{else}hidden-xs-up{/if}"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-filter"><polygon points="22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3"></polygon></svg>{l s='Active filters' d='Shop.Theme.Global'}</h6>
{/block}
{if $activeFilters|count}
<ul>
{foreach from=$activeFilters item="filter"}
{block name='active_filters_item'}
<li class="filter-block">
{l s='%1$s: ' d='Shop.Theme.Catalog' sprintf=[$filter.facetLabel]}
{$filter.label}
<a class="js-search-link" href="{$filter.nextEncodedFacetsURL}"><i class="material-icons close">&#xE5CD;</i></a>
</li>
{/block}
{/foreach}
</ul>
{/if}
123
{block name='facets_clearall_button'}
<div id="_desktop_search_filters_clear_all" class="hidden-md-down clear-all-wrapper">
<button data-search-url="{$clear_all_link}" class="btn btn-tertiary js-search-filters-clear-all tip_inside">
<i class=""><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></i>
<span class="tip">{l s='Clear all' d='Shop.Theme.Actions'}</span>
</button>
</div>
{/block}
</section>

View File

@@ -0,0 +1,68 @@
<div id="custom-email-pattern-modal">
<div class="custom-email-pattern-modal--wrapper">
<div class="custom-order-box">
<div id="custom-order-box-close">
</div>
<form action="" id="custom-order-form" enctype="multipart/form-data">
<input type="hidden" name="image" value="{$product.images[0].bySize.download_image.url}">
<div class="row">
<div class="col-md-12">
<span class="custom-order-form-title">Prześlij wzór na maila</span>
</div>
</div>
<div class="row">
<div class="col-md-6">
<label for="name">Imię</label>
<input type="text" name="name" id="name" required>
</div>
<div class="col-md-6">
<label for="surname">Nazwisko</label>
<input type="text" name="surname" id="surname" required>
</div>
</div>
<div class="row">
<div class="col-md-7">
<label for="email">Adres e-mail</label>
<input type="text" name="email" id="email" required>
</div>
<div class="col-md-5">
<ul>
<li>
<input type="radio" name="contact_type" id="contact-type-1" value="osoba prywatna"
checked>
<label for="contact-type-1">osoba prywatna</label>
</li>
<li>
<input type="radio" name="contact_type" id="contact-type-2" value="architekt">
<label for="contact-type-2">architekt</label>
</li>
<li>
<input type="radio" name="contact_type" id="contact-type-3" value="dystrybutor">
<label for="contact-type-3">dystrybutor</label>
</li>
</ul>
</div>
</div>
<div class="row mb-0">
<div class="col-md-6 offset-md-6">
<div class="form-btn">
<span class="loader"></span>
<button class="send-form btn btn-primary" type="submit">
<i></i>
<span class="text">Wyślij wzór</span>
</button>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="form-info"></div>
</div>
</div>
</form>
</div>
</div>
</div>

View File

@@ -0,0 +1,83 @@
<div id="custom-order-modal">
<div class="custom-order-modal--wrapper">
<div class="custom-order-box">
<div id="custom-order-box-close">
</div>
<form action="" id="custom-order-form" enctype="multipart/form-data">
<div class="row">
<div class="col-md-12">
<span class="custom-order-form-title">Zamówienie specjalne</span>
</div>
</div>
<div class="row">
<div class="col-md-6">
<label for="name">Imię</label>
<input type="text" name="name" id="name" required>
</div>
<div class="col-md-6">
<label for="surname">Nazwisko</label>
<input type="text" name="surname" id="surname" required>
</div>
</div>
<div class="row">
<div class="col-md-7">
<label for="email">Adres e-mail</label>
<input type="text" name="email" id="email" required>
</div>
<div class="col-md-5">
<ul>
<li>
<input type="radio" name="contact_type" id="contact-type-1" value="osoba prywatna"
checked>
<label for="contact-type-1">osoba prywatna</label>
</li>
<li>
<input type="radio" name="contact_type" id="contact-type-2" value="architekt">
<label for="contact-type-2">architekt</label>
</li>
<li>
<input type="radio" name="contact_type" id="contact-type-3" value="dystrybutor">
<label for="contact-type-3">dystrybutor</label>
</li>
</ul>
</div>
</div>
<div class="row">
<div class="col-md-12">
<label for="text">Opisz swoje oczekiwania</label>
<textarea name="text" id="text"></textarea>
</div>
</div>
<div class="row mb-0">
<div class="col-md-6">
<div class="custom-file-upload">
<label for="file-upload" class="custom-file-upload-label btn btn-primary">
<img src="/img/upload_icon.png" alt="">
Dodaj załącznik
</label>
<input type="file" id="file-upload" name="file">
<span id="file-selected"></span>
</div>
</div>
<div class="col-md-6">
<div class="form-btn">
<span class="loader"></span>
<button class="send-form btn btn-primary" type="submit">
<i></i>
<span class="text">Wyślij</span>
</button>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="form-info"></div>
</div>
</div>
</form>
</div>
</div>
</div>

View File

@@ -0,0 +1,153 @@
{**
* 2007-2019 PrestaShop and Contributors
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to https://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2019 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{if $facets|count}
<div id="search_filters">
{foreach from=$facets item="facet"}
{if !$facet.displayed}
{continue}
{/if}
<section class="facet clearfix">
<h4 class="h4 facet-title hidden-md-down">{l s='Filter by' d='Shop.Theme.Actions'} {$facet.label}</h4>
{assign var=_expand_id value=10|mt_rand:100000}
{assign var=_collapse value=true}
{foreach from=$facet.filters item="filter"}
{if $filter.active}{assign var=_collapse value=false}{/if}
{/foreach}
<div class="title hidden-lg-up" data-target="#facet_{$_expand_id}" data-toggle="collapse"{if !$_collapse} aria-expanded="true"{/if}>
<h4 class="h4 facet-title">{l s='Filter by' d='Shop.Theme.Actions'} {$facet.label}</h4>
<span class="float-xs-right">
<span class="navbar-toggler collapse-icons">
<i class="material-icons add">&#xE313;</i>
<i class="material-icons remove">&#xE316;</i>
</span>
</span>
</div>
{if $facet.widgetType !== 'dropdown'}
{block name='facet_item_other'}
<ul id="facet_{$_expand_id}" class="collapse{if !$_collapse} in{/if}">
{foreach from=$facet.filters key=filter_key item="filter"}
{if !$filter.displayed}
{continue}
{/if}
<li>
<label class="facet-label{if $filter.active} active {/if}" for="facet_input_{$_expand_id}_{$filter_key}">
{if $facet.multipleSelectionAllowed}
<span class="custom-checkbox">
<input
id="facet_input_{$_expand_id}_{$filter_key}"
data-search-url="{$filter.nextEncodedFacetsURL}"
type="checkbox"
{if $filter.active } checked {/if}
>
{if isset($filter.properties.color)}
<span class="color" style="background-color:{$filter.properties.color}"></span>
{elseif isset($filter.properties.texture)}
<span class="color texture" style="background-image:url({$filter.properties.texture})"></span>
{else}
<span {if !$js_enabled} class="ps-shown-by-js" {/if}><i class="material-icons rtl-no-flip checkbox-checked">&#xE5CA;</i></span>
{/if}
</span>
{else}
<span class="custom-radio">
<input
id="facet_input_{$_expand_id}_{$filter_key}"
data-search-url="{$filter.nextEncodedFacetsURL}"
type="radio"
name="filter {$facet.label}"
{if $filter.active } checked {/if}
>
<span {if !$js_enabled} class="ps-shown-by-js" {/if}></span>
</span>
{/if}
<a
href="{$filter.nextEncodedFacetsURL}"
class="_gray-darker search-link js-search-link"
rel="nofollow"
>
{$filter.label}
{if $filter.magnitude}
<span class="magnitude">{$filter.magnitude}</span>
{/if}
</a>
</label>
</li>
{/foreach}
</ul>
{/block}
{else}
{block name='facet_item_dropdown'}
<ul id="facet_{$_expand_id}" class="collapse{if !$_collapse} in{/if}">
<li>
<div class="col-sm-12 col-xs-12 col-md-12 facet-dropdown dropdown">
<a class="select-title" rel="nofollow" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
{$active_found = false}
<span>
{foreach from=$facet.filters item="filter"}
{if $filter.active}
{$filter.label}
{if $filter.magnitude}
({$filter.magnitude})
{/if}
{$active_found = true}
{/if}
{/foreach}
{if !$active_found}
{l s='(no filter)' d='Shop.Theme.Global'}
{/if}
</span>
<i class="material-icons float-xs-right">&#xE5C5;</i>
</a>
<div class="dropdown-menu">
{foreach from=$facet.filters item="filter"}
{if !$filter.active}
<a
rel="nofollow"
href="{$filter.nextEncodedFacetsURL}"
class="select-list"
>
{$filter.label}
{if $filter.magnitude}
({$filter.magnitude})
{/if}
</a>
{/if}
{/foreach}
</div>
</div>
</li>
</ul>
{/block}
{/if}
</section>
{/foreach}
</div>
{/if}

View File

@@ -0,0 +1,36 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2017 PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{block name='brand_miniature_item'}
<li class="brand col-xs-12 col-lg-6">
<div class="brand-img"><a href="{$brand.url}"><img src="{$brand.image}" alt="{$brand.name}"></a></div>
<div class="brand-infos">
<h3><a href="{$brand.url}">{$brand.name}</a></h3>
{$brand.text nofilter}
</div>
<div class="brand-products">
<a href="{$brand.url}">{$brand.nb_products}</a>
</div>
</li>
{/block}

View File

@@ -0,0 +1,37 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2017 PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{block name='category_miniature_item'}
<section class="category-miniature">
<a href="{$category.url}">
<img src="{$category.image.medium.url}" alt="{$category.image.legend}">
</a>
<h1 class="h2">
<a href="{$category.url}">{$category.name}</a>
</h1>
<div class="category-description">{$category.description nofilter}</div>
</section>
{/block}

View File

@@ -0,0 +1,54 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2017 PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{block name='pack_miniature_item'}
<article>
<div class="card">
<div class="pack-product-container">
<div class="thumb-mask">
<div class="mask">
<a href="{$product.url}" title="{$product.name}">
<img
src="{$product.cover.medium.url}"
alt="{$product.cover.legend}"
data-full-size-image-url="{$product.cover.large.url}"
>
</a>
</div>
</div>
<div class="pack-product-name">
<a href="{$product.url}" title="{$product.name}">
{$product.name}
</a>
</div>
<div class="pack-product-price">
<strong>{$product.price}</strong>
</div>
<div class="pack-product-quantity">
<span>x {$product.pack_quantity}</span>
</div>
</div>
</div>
</article>
{/block}

View File

@@ -0,0 +1,66 @@
{assign var='cats' value=Product::getProductCategories($product.id)}
{if !in_array(8, $cats)}
{block name='product_miniature_item'}
<article class="{if isset($smarty.cookies.show_list)}product_show_list {/if}product-item product-miniature col-lg-4 col-md-6 col-sm-6 col-xs-6" data-id-product="{$product.id_product}" data-id-product-attribute="{$product.id_product_attribute}" itemscope itemtype="http://schema.org/Product">
<div class="thumbnail-container">
<div class="product-image">
{block name='product_thumbnail'}
<a href="{$product.url}" class="thumbnail product-thumbnail">
<img
src = "{$product.cover.bySize.cart_default.url}"
alt = "{if !empty($product.cover.legend)}{$product.cover.legend}{else}{$product.name|truncate:30:'...'}{/if}"
data-full-size-image-url = "{$product.cover.large.url}"
>
</a>
{/block}
</div>
<div class="product-description">
{block name='product_name'}
<h3 class="h3 product-title" itemprop="name"><a class="noeffect" href="{$product.url}"><span>{$product.name|truncate:120:'...'}</span></a></h3>
{/block}
{block name='product_reviews'}
{hook h='displayProductListReviews' product=$product}
{/block}
{block name='product_price_and_shipping'}
{if $product.show_price}
<div class="product-price-and-shipping" itemprop="offers" itemscope="" itemtype="https://schema.org/Offer">
<link itemprop="availability" href="https://schema.org/InStock"/>
<meta itemprop="priceCurrency" content="{$currency.iso_code}">
<meta itemprop="url" content="{$product.url}">
{if $product.has_discount}
<i><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-tag"><path d="M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z"></path><line x1="7" y1="7" x2="7" y2="7"></line></svg></i>
{hook h='displayProductPriceBlock' product=$product type="old_price"}
<span class="sr-only">{l s='Regular price' d='Shop.Theme.Catalog'}</span>
<span class="regular-price">{$product.regular_price}</span>
{if $product.discount_type === 'percentage'}
<span class="discount-percentage discount-product">{$product.discount_percentage}</span>
{elseif $product.discount_type === 'amount'}
<span class="discount-amount discount-product">{$product.discount_amount_to_display}</span>
{/if}
{/if}
{hook h='displayProductPriceBlock' product=$product type="before_price"}
<span class="sr-only">{l s='Price' d='Shop.Theme.Catalog'}</span>
<span itemprop="price" class="price">{$product.price} / m<sup>2</sup></span>
{hook h='displayProductPriceBlock' product=$product type='unit_price'}
{hook h='displayProductPriceBlock' product=$product type='weight'}
</div>
{/if}
{/block}
</div>
</div>
</article>
{/block}
{/if}

View File

@@ -0,0 +1,196 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2017 PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{assign var='cats' value=Product::getProductCategories($product.id)}
{if !in_array(8, $cats)}
{assign var="pl_manufacturer" value=Manufacturer::getNameById($product.id_manufacturer)}
{block name='product_miniature_item'}
<article class="{if isset($smarty.cookies.show_list)}product_show_list {/if}product-item product-miniature js-product-miniature {if isset($roythemes.pl_lay) && $roythemes.pl_lay == "3"}pl_lay3{/if} col-lg-4 col-md-6 col-sm-6 col-xs-12" data-id-product="{$product.id_product}" data-id-product-attribute="{$product.id_product_attribute}" itemscope itemtype="http://schema.org/Product">
<meta itemprop="sku" content="{$product.reference}" />
<meta itemprop="brand" content="{if isset($pl_manufacturer)}{$pl_manufacturer}{else}{$shop.name}{/if}" />
<meta itemprop="gtin13" content="{$product.ean13}" />
{if isset($product.condition.type)}
<meta itemprop="itemCondition" content="{$product.condition.type}" />
{/if}
<div class="thumbnail-container">
<div class="product-image">
{block name='product_thumbnail'}
<a href="{$product.url}" class="thumbnail product-thumbnail noeffect">
<img itemprop="image"
src = "{$product.cover.bySize.home_default.url}"
alt = "{if !empty($product.cover.legend)}{$product.cover.legend}{else}{$product.name|truncate:30:'...'}{/if}"
data-full-size-image-url = "{$product.cover.large.url}"
>
{if isset($roythemes.nc_second_img) && $roythemes.nc_second_img == "1"}
{if isset($product.images[1])}
{assign var=royurl0 value={$product.images[0].bySize.home_default.url}}
{assign var=royurl1 value={$product.images[1].bySize.home_default.url}}
{assign var=royurlc value={$product.cover.bySize.home_default.url}}
{if $royurl1 == $royurlc}{assign var=royurlsec value={$royurl0}}{else}{assign var=royurlsec value={$royurl1}}{/if}
<img class="roy_secondimg" src="{$royurlsec}"
alt="{if !empty($product.cover.legend)}{$product.cover.legend}{else}{$product.name|truncate:30:'...'}{/if}"
>
{/if}
{/if}
</a>
{/block}
{if isset($roythemes.pl_hover_lay) && $roythemes.pl_hover_lay == "1"}
<div class="subaction hidden-sm-down contrastModeBackground">
{hook h='displayFavButton' product_id=$product.id}
{block name='quick_view'}
<a class="quick-view tip_inside noeffect contrastModeBackground favoritesButton" href="#" data-link-action="quickview">
<i class="rts contrastModeBackground" data-size="24" data-color="#000000">{if isset($roythemes.nc_i_qv)}{$roythemes.nc_i_qv}{else}search1{/if}</i>
<span class="tip">{l s='Quick view' d='Shop.Theme.Actions'}</span>
</a>
{/block}
</div>
{/if}
<div class="action-block highlighted-informations{if !$product.main_variants} no-variants{/if} hidden-sm-down">
{if isset($roythemes.pl_hover_lay) && $roythemes.pl_hover_lay == "2"}
{block name='quick_view'}
<a class="quick-view action-btn tip_inside noeffect" href="#" data-link-action="quickview">
<i class="rts" data-size="24" data-color="#000000">{if isset($roythemes.nc_i_qv)}{$roythemes.nc_i_qv}{else}search1{/if}</i>
<span class="tip">{l s='Quick view' d='Shop.Theme.Actions'}</span>
</a>
{/block}
{/if}
{if isset($roythemes.pl_hover_lay) && $roythemes.pl_hover_lay == "2"}
{hook h='displayFavButton' product_id=$product.id}
{/if}
</div>
{if isset($product.specific_prices.to) && isset($product.specific_prices.from)}
{if ($smarty.now|date_format:'%Y-%m-%d %H:%M:%S' <= $product.specific_prices.to && $smarty.now|date_format:'%Y-%m-%d %H:%M:%S' >= $product.specific_prices.from) && ($product.specific_prices.to != '0000-00-00 00:00:00')}
<div class="count_icon tip_inside">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 240 240" style="enable-background:new 0 0 240 240;" xml:space="preserve">
<g>
<path class="hand hand-min" d="M185.4,128H120c-4.4,0-8-3.6-8-8s3.6-8,8-8h65.4c4.4,0,8,3.6,8,8S189.8,128,185.4,128z"/>
</g>
<g>
<path class="hand hand-hour" d="M120,127.2c-4.4,0-8-3.6-8-8V63.9c0-4.4,3.6-8,8-8s8,3.6,8,8v55.4C128,123.7,124.4,127.2,120,127.2z"/>
</g>
<path d="M120,16c57.3,0,104,46.7,104,104s-46.7,104-104,104S16,177.3,16,120S62.7,16,120,16 M120,0C53.7,0,0,53.7,0,120
s53.7,120,120,120s120-53.7,120-120S186.3,0,120,0L120,0z"/>
</svg>
<span class="tip">{l s='Limited Offer!' d='Shop.Theme.Actions'}</span>
</div>
{/if}
{/if}
</div>
<div class="product-description">
{if isset($roythemes.pl_lay) && $roythemes.pl_lay == "2"}
{block name='product_reviews'}
{hook h='displayProductListReviews' product=$product}
{/block}
{/if}
{block name='product_name'}
<h3 class="h3 product-title" itemprop="name"><a class="noeffect" href="{$product.url}"><span>{$product.name}</span></a></h3>
{/block}
<div class="prod-short-desc" itemprop="description">{$product.description_short nofilter}</div>
{block name='product_price_and_shipping'}
{if $product.show_price}
<div class="product-price-and-shipping" itemprop="offers" itemscope itemtype="https://schema.org/Offer">
<link itemprop="availability" href="{$product.seo_availability}"/>
<meta itemprop="priceCurrency" content="{$currency.iso_code}">
<meta itemprop="priceValidUntil" content="{$smarty.now|date_format:"%Y"+1}-{$smarty.now|date_format:"%m-%d"}" />
<meta itemprop="url" content="{$product.url}">
{if $product.has_discount}
{hook h='displayProductPriceBlock' product=$product type="old_price"}
<span class="sr-only">{l s='Regular price' d='Shop.Theme.Catalog'}</span>
<span class="regular-price">{$product.regular_price}</span>
{/if}
{hook h='displayProductPriceBlock' product=$product type="before_price"}
<span class="sr-only">{l s='Price' d='Shop.Theme.Catalog'}</span>
<span itemprop="price" class="price" content="{$product.price_amount}">{l s='From' d='Admin.Global'}&nbsp;{$product.price}&nbsp;/&nbsp;m<sup>2</sup></span>
{hook h='displayProductPriceBlock' product=$product type='unit_price'}
{hook h='displayProductPriceBlock' product=$product type='weight'}
</div>
{block name='product_variants'}
{if $product.main_variants}
{include file='catalog/_partials/variant-links.tpl' variants=$product.main_variants}
{/if}
{/block}
{if isset($product.specific_prices.to) && isset($product.specific_prices.from)}
{if ($smarty.now|date_format:'%Y-%m-%d %H:%M:%S' <= $product.specific_prices.to && $smarty.now|date_format:'%Y-%m-%d %H:%M:%S' >= $product.specific_prices.from) && ($product.specific_prices.to != '0000-00-00 00:00:00')}
<div class="countcontainer">
<div class="roycountdown">
<div class="roycount" style="display: none;" data-specific-price-to="{$product.specific_prices.to}" data-days={l s='Days'} data-hours={l s='Hours'} data-minutes={l s='Mins'} data-seconds={l s='Secs'}></div>
<i><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-tag"><path d="M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z"></path><line x1="7" y1="7" x2="7" y2="7"></line></svg></i>
</div>
</div>
{/if}
{/if}
{/if}
{/block}
{if isset($roythemes.pl_lay) && $roythemes.pl_lay !== "2"}
{block name='product_reviews'}
{hook h='displayProductListReviews' product=$product}
{/block}
{/if}
</div>
{block name='product_flags'}
<ul class="product-flags">
{if ($product.allow_oosp || (!$product.main_variants && $product.quantity > 0) || $product.quantity_all_versions > 0)}{else}
<li class="product-flag">{l s='Out of stock' d='Shop.Theme.Actions'}</li>
{/if}
{if $product.show_price}
{if $product.has_discount}
{if $product.discount_type === 'percentage'}
<li class="discount-percentage discount-product">{$product.discount_percentage}</li>
{elseif $product.discount_type === 'amount'}
<li class="discount-amount discount-product">{$product.discount_amount_to_display}</li>
{/if}
{/if}
{/if}
{foreach from=$product.flags item=flag}
<li class="product-flag {$flag.type}">{$flag.label}</li>
{/foreach}
</ul>
{/block}
</div>
</article>
{/block}
{/if}

View File

@@ -0,0 +1,38 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2017 PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{if $page.admin_notifications}
<div class="alert alert-warning row" role="alert">
<div class="container">
<div class="row">
{foreach $page.admin_notifications as $notif}
<div class="col-sm-12">
<i class="material-icons float-xs-left">&#xE001;</i>
<p class="alert-text">{$notif.message}</p>
</div>
{/foreach}
</div>
</div>
</div>
{/if}

View File

@@ -0,0 +1,92 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2017 PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<div class="product-add-to-cart">
{if !$configuration.is_catalog}
<span class="control-label">{l s='Quantity' d='Shop.Theme.Catalog'}</span>
{block name='product_quantity'}
<div class="product-quantity clearfix">
<div class="qty">
<input
type="text"
name="qty"
id="quantity_wanted"
value="{$product.quantity_wanted}"
class="input-group"
min="{$product.minimal_quantity}"
aria-label="{l s='Quantity' d='Shop.Theme.Actions'}"
>
</div>
<div class="add">
<button
class="btn btn-primary add-to-cart"
data-button-action="add-to-cart"
type="submit"
{if !$product.add_to_cart_url}
disabled
{/if}
>
{if isset($roythemes.nc_pp_i) && $roythemes.nc_pp_i == "1"}<span class="plus">+</span><i></i>{/if}<span class="text">{l s='Add to cart' d='Shop.Theme.Actions'}</span>
</button>
</div>
</div>
{/block}
{block name='product_availability'}
{if $product.show_availability && $product.availability_message}
<span id="product-availability" class="{if $product.availability == 'available'}available{/if}">
{if $product.availability == 'available'}
<i class="material-icons rtl-no-flip product-available">&#xE5CA;</i>
{elseif $product.availability == 'last_remaining_items'}
<i class="material-icons product-last-items">&#xE002;</i>
{else}
<i class="material-icons product-unavailable">&#xE14B;</i>
{/if}
{$product.availability_message}
</span>
{/if}
{/block}
<div class="prod-buttons">
<!-- {hook h='displayProductButton' product_id=$product.id} -->
{hook h='displayProductAdditionalInfo' product=$product}
</div>
{block name='product_minimal_quantity'}
<p class="product-minimal-quantity">
{if $product.minimal_quantity > 1}
{l
s='The minimum purchase order quantity for the product is %quantity%.'
d='Shop.Theme.Checkout'
sprintf=['%quantity%' => $product.minimal_quantity]
}
{/if}
</p>
{/block}
{/if}
</div>

View File

@@ -0,0 +1,59 @@
<div class="product-additional-info">
<div class="product-info">
{block name='product_quantities'}
{if $product.show_quantities && isset($roythemes.pp_display_q) && $roythemes.pp_display_q == "1"}
<div class="product-quantities">
<label class="label">{l s='In stock' d='Shop.Theme.Catalog'}</label>
<span data-stock="{$product.quantity}" data-allow-oosp="{$product.allow_oosp}">{$product.quantity}</span>
</div>
{/if}
{/block}
{block name='product_reference'}
{if isset($product.reference_to_display) && isset($roythemes.pp_display_refer) && $roythemes.pp_display_refer == "1"}
<div class="product-reference">
<label class="label">{l s='Reference' d='Shop.Theme.Catalog'} </label>
<span itemprop="sku">{$product.reference_to_display}</span>
</div>
{/if}
{/block}
{block name='product_availability_date'}
{if $product.availability_date}
<div class="product-availability-date">
<label>{l s='Availability date:' d='Shop.Theme.Catalog'} </label>
<span>{$product.availability_date}</span>
</div>
{/if}
{/block}
{block name='product_condition'}
{if $product.condition && isset($roythemes.pp_display_cond) && $roythemes.pp_display_cond == "1"}
<div class="product-condition">
<label class="label">{l s='Condition' d='Shop.Theme.Catalog'} </label>
<link itemprop="itemCondition" href="{$product.condition.schema_url}"/>
<span>{$product.condition.label}</span>
</div>
{/if}
{/block}
{if isset($product_manufacturer->id) && isset($roythemes.pp_display_brand) && $roythemes.pp_display_brand == "1"}
<div class="clearfix"></div>
<div class="product-manufacturer tip_inside">
<a href="{$product_brand_url}" class="noeffect">
<label class="label">{l s='Brand' d='Shop.Theme.Catalog'}</label>
<span itemprop="brand">
{$product_manufacturer->name}
</span>
<div class="clearflex"></div>
{if isset($manufacturer_image_url)}
<img src="{$manufacturer_image_url}" class="img img-thumbnail manufacturer-logo" alt="{$product_manufacturer->name}" height="140" width="140">
{/if}
</a>
<span class='tip'>
{l s='View all products of ' d='Shop.Theme.Catalog'}{$product_manufacturer->name}
</span>
</div>
{/if}
</div>
</div>

View File

@@ -0,0 +1,105 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2017 PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<style>
#piece{
}
</style>
<div class="images-container pp_lay{if isset($roythemes.pp_lay)}{$roythemes.pp_lay}{/if} pp_thumbs{if isset($roythemes.pp_thumbs)}{$roythemes.pp_thumbs}{/if}">
{block name='product_images'}
<div class="js-qv-mask mask">
<ul class="product-images js-qv-product-images">
{$counter = 1}
{foreach from=$product.images item=image}
{if $counter == 1}
<li class="thumb-container">
<img
class="thumb js-thumb {if $image.id_image == $product.cover.id_image} selected {/if}"
data-image-medium-src="{$image.bySize.medium_default.url}"
data-image-large-src="{$image.bySize.large_default.url}"
src="{$image.bySize.large_default.url|replace:'-large_default':''}"
alt="{$image.legend}"
title="{$image.legend}"
width="100"
itemprop="image"
draggable="false"
>
{if $counter == 1}
<div id="piece" class="piece" style="background-image:url('{$image.bySize.large_default.url|replace:'-large_default':''}');">
<div class="piece-width-px">100</div>
<div class="piece-height-px">100</div>
</div>
<div class="wallpaper-ruler ruler-horizontal">
<p class="ruler-label">500 cm</p>
</div>
<div class="wallpaper-ruler ruler-vertical">
<p class="ruler-label">300 cm</p>
</div>
<div id="human"></div>
{/if}
</li>
{/if}
{$counter = $counter + 1}
{/foreach}
</ul>
<div class="col-md-12" style="background-color: white; margin-top: 30px">
{* <a class="download-image" download="{$product.name}.jpg" href="{$product.images[0].bySize.download_image.url}" target="_blank">
<i class="fa fa-download"></i>&nbsp;Pobierz
</a> *}
<a href="#" id="custom-pattern-btn">
<img src="/themes/ayon/assets/images/download-arrow.png" alt="">
Prześlij wzór na maila
</a>
</div>
</div>
{/block}
<div class="product-thumbs-wrapper">
<ul class="product-thumbs js-qv-product-images">
{foreach from=$product.images item=image}
<li class="thumb-container">
<img
class="thumb js-thumb {if $image.id_image == $product.cover.id_image} selected {/if}"
data-image-medium-src="{$image.bySize.medium_default.url}"
data-image-large-src="{$image.bySize.large_default.url}"
src="{$image.bySize.medium_default.url}"
alt="{$image.legend}"
title="{$image.legend}"
width="100%"
itemprop="image"
>
</li>
{/foreach}
</ul>
</div>
</div>
{hook h='displayAfterProductThumbs'}

View File

@@ -0,0 +1,72 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2017 PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<section class="product-customization">
{if !$configuration.is_catalog}
<div class="card card-block">
<h3 class="h4 card-title">{l s='Product customization' d='Shop.Theme.Catalog'}</h3>
{l s='Don\'t forget to save your customization to be able to add to cart' d='Shop.Forms.Help'}
{block name='product_customization_form'}
<form method="post" action="{$product.url}" enctype="multipart/form-data">
<ul class="clearfix">
{foreach from=$customizations.fields item="field"}
<li class="product-customization-item">
<label> {$field.label}</label>
{if $field.type == 'text'}
<textarea placeholder="{l s='Your message here' d='Shop.Forms.Help'}" class="product-message" maxlength="250" {if $field.required} required {/if} name="{$field.input_name}"></textarea>
<small class="float-xs-right">{l s='250 char. max' d='Shop.Forms.Help'}</small>
{if $field.text !== ''}
<h6 class="customization-message">{l s='Your customization:' d='Shop.Theme.Catalog'}
<label>{$field.text}</label>
</h6>
{/if}
{elseif $field.type == 'image'}
{if $field.is_customized}
<br>
<img src="{$field.image.small.url}">
<a class="remove-image" href="{$field.remove_image_url}" rel="nofollow">{l s='Remove Image' d='Shop.Theme.Actions'}</a>
{/if}
<span class="custom-file">
<span class="js-file-name">{l s='No selected file' d='Shop.Forms.Help'}</span>
<input class="file-input js-file-input" {if $field.required} required {/if} type="file" name="{$field.input_name}">
<button class="btn btn-primary">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g id="Layer_4" data-name="Layer 4"><path d="M14.1,18.3V14.1h4.2a.7.7,0,0,0,.7-.7V10.6a.7.7,0,0,0-.7-.7H14.1V5.7a.7.7,0,0,0-.7-.7H10.6a.7.7,0,0,0-.7.7V9.9H5.7a.7.7,0,0,0-.7.7v2.8a.7.7,0,0,0,.7.7H9.9v4.2a.7.7,0,0,0,.7.7h2.8A.7.7,0,0,0,14.1,18.3Z" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px"/></g></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g id="Layer_4" data-name="Layer 4"><path d="M17.4,21c1.15-.42,2.35-3.28,5.12-9.93C18.94,11,12.45,11,11,11c-1.89,0-2.92,2.35-5.15,7.64C4.74,21.3,3.41,21,3.41,21A2.81,2.81,0,0,1,2,18.25V6.09s-.31-2,2-2S9,4,9,4s1.75-.12,1.84,1.16c.13,1.81,2.75,1.38,2.75,1.38l3.69-.12S19.64,6.27,19.3,8" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px"/><line x1="4.19" y1="21" x2="17.84" y2="21" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px"/></g></svg>
</button>
</span>
<small class="float-xs-right">{l s='.png .jpg .gif' d='Shop.Forms.Help'}</small>
{/if}
</li>
{/foreach}
</ul>
<div class="clearfix">
<button class="btn btn-primary float-xs-right" type="submit" name="submitCustomizedData">{l s='Save Customization' d='Shop.Theme.Actions'}</button>
</div>
</form>
{/block}
</div>
{/if}
</section>

View File

@@ -0,0 +1,35 @@
<div class="tab-pane fade{if !$product.description} in active{/if}"
id="product-details"
data-product="{$product.embedded_attributes|json_encode}"
role="tabpanel"
>
{block name='product_features'}
{if $product.features}
<section class="product-features">
<h3 class="h6">{l s='Data sheet' d='Shop.Theme.Catalog'}</h3>
<dl class="data-sheet">
{foreach from=$product.features item=feature}
<dt class="name">{$feature.name}</dt>
<dd class="value">{$feature.value}</dd>
{/foreach}
</dl>
</section>
{/if}
{/block}
{* if product have specific references, a table will be added to product details section *}
{block name='product_specific_references'}
{if !empty($product.specific_references)}
<section class="product-features">
<h3 class="h6">{l s='Specific References' d='Shop.Theme.Catalog'}</h3>
<dl class="data-sheet">
{foreach from=$product.specific_references item=reference key=key}
<dt class="name">{$key}</dt>
<dd class="value">{$reference}</dd>
{/foreach}
</dl>
</section>
{/if}
{/block}
</div>

View File

@@ -0,0 +1,49 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2017 PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<section class="product-discounts">
{if $product.quantity_discounts}
<h3 class="h6 product-discounts-title">{l s='Volume discounts' d='Shop.Theme.Catalog'}</h3>
{block name='product_discount_table'}
<table class="table-product-discounts">
<thead>
<tr>
<th>{l s='Quantity' d='Shop.Theme.Catalog'}</th>
<th>{$configuration.quantity_discount.label}</th>
<th>{l s='You Save' d='Shop.Theme.Catalog'}</th>
</tr>
</thead>
<tbody>
{foreach from=$product.quantity_discounts item='quantity_discount' name='quantity_discounts'}
<tr data-discount-type="{$quantity_discount.reduction_type}" data-discount="{$quantity_discount.real_value}" data-discount-quantity="{$quantity_discount.quantity}">
<td>{$quantity_discount.quantity}</td>
<td>{$quantity_discount.discount}</td>
<td>{l s='Up to %discount%' d='Shop.Theme.Catalog' sprintf=['%discount%' => $quantity_discount.save]}</td>
</tr>
{/foreach}
</tbody>
</table>
{/block}
{/if}
</section>

View File

@@ -0,0 +1,31 @@
{**
* 2007-2019 PrestaShop and Contributors
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to https://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2019 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{block name='product_flags'}
<ul class="product-flags">
{foreach from=$product.flags item=flag}
<li class="product-flag {$flag.type}">{$flag.label}</li>
{/foreach}
</ul>
{/block}

View File

@@ -0,0 +1,58 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2017 PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<div class="modal fade js-product-images-modal" id="product-modal">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-body">
{assign var=imagesCount value=$product.images|count}
<figure>
<img class="js-modal-product-cover product-cover-modal" width="{$product.cover.large.width}" src="{$product.cover.large.url}" alt="{$product.cover.legend}" title="{$product.cover.legend}" itemprop="image">
<figcaption class="image-caption">
<div id="product-modal-name" itemprop="description">{$product.name nofilter}</div>
</figcaption>
</figure>
<aside id="thumbnails" class="thumbnails js-thumbnails text-sm-center">
{block name='product_images'}
<div class="js-modal-mask mask {if $imagesCount <= 5} nomargin {/if}">
<ul class="product-images js-modal-product-images">
{foreach from=$product.images item=image}
<li class="thumb-container">
<img data-image-large-src="{$image.large.url}" class="thumb js-modal-thumb" src="{$image.medium.url}" alt="{$image.legend}" title="{$image.legend}" width="{$image.medium.width}" itemprop="image">
</li>
{/foreach}
</ul>
</div>
{/block}
{if $imagesCount > 5}
<div class="arrows js-modal-arrows">
<i class="material-icons arrow-up js-modal-arrow-up">&#xE5C7;</i>
<i class="material-icons arrow-down js-modal-arrow-down">&#xE5C5;</i>
</div>
{/if}
</aside>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->

View File

@@ -0,0 +1,57 @@
<div class="product-info">
{block name='product_quantities'}
{if $product.show_quantities && isset($roythemes.pp_display_q) && $roythemes.pp_display_q == "1"}
<div class="product-quantities">
<label class="label">{l s='In stock' d='Shop.Theme.Catalog'}</label>
<span data-stock="{$product.quantity}" data-allow-oosp="{$product.allow_oosp}">{$product.quantity}</span>
</div>
{/if}
{/block}
{block name='product_reference'}
{if isset($product.reference_to_display) && isset($roythemes.pp_display_refer) && $roythemes.pp_display_refer == "1"}
<div class="product-reference">
<label class="label">{l s='Reference' d='Shop.Theme.Catalog'} </label>
<span itemprop="sku">{$product.reference_to_display}</span>
</div>
{/if}
{/block}
{block name='product_availability_date'}
{if $product.availability_date}
<div class="product-availability-date">
<label>{l s='Availability date:' d='Shop.Theme.Catalog'} </label>
<span>{$product.availability_date}</span>
</div>
{/if}
{/block}
{block name='product_condition'}
{if $product.condition && isset($roythemes.pp_display_cond) && $roythemes.pp_display_cond == "1"}
<div class="product-condition">
<label class="label">{l s='Condition' d='Shop.Theme.Catalog'} </label>
<link itemprop="itemCondition" href="{$product.condition.schema_url}"/>
<span>{$product.condition.label}</span>
</div>
{/if}
{/block}
{if isset($product_manufacturer->id) && isset($roythemes.pp_display_brand) && $roythemes.pp_display_brand == "1"}
<div class="clearfix"></div>
<div class="product-manufacturer tip_inside">
<a href="{$product_brand_url}" class="noeffect">
<label class="label">{l s='Brand' d='Shop.Theme.Catalog'}</label>
<span itemprop="brand">
{$product_manufacturer->name}
</span>
<div class="clearflex"></div>
{if isset($manufacturer_image_url)}
<img src="{$manufacturer_image_url}" class="img img-thumbnail manufacturer-logo" alt="{$product_manufacturer->name}" height="140" width="140">
{/if}
</a>
<span class='tip'>
{l s='View all products of ' d='Shop.Theme.Catalog'}{$product_manufacturer->name}
</span>
</div>
{/if}
</div>

View File

@@ -0,0 +1,148 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2017 PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{if $product.show_price}
<div class="product-prices">
{block name='product_price'}
<div
class="product-price {if $product.has_discount}has-discount{/if}"
itemprop="offers"
itemscope
itemtype="https://schema.org/Offer"
>
<link itemprop="availability" href="https://schema.org/InStock"/>
<meta itemprop="priceCurrency" content="{$currency.iso_code}">
<meta itemprop="priceValidUntil" content="{$smarty.now|date_format:"%Y"+1}-{$smarty.now|date_format:"%m-%d"}" />
<meta itemprop="url" content="{$product.url}">
{if isset($product.specific_prices.to)}<meta itemprop="priceValidUntil" content="{$product.specific_prices.to}">{/if}
{if $product.has_discount}
<div class="product-discount">
{hook h='displayProductPriceBlock' product=$product type="old_price"}
<span class="regular-price">{$product.regular_price}</span>
</div>
{/if}
<div class="current-price">
<span itemprop="price" content="{$product.price_amount}">{l s='From' d='Admin.Global'}&nbsp;{$product.price}&nbsp;/&nbsp;m<sup>2</sup></span>
</div>
{if $product.has_discount}
{if $product.discount_type === 'percentage'}
<span class="discount discount-percentage">{l s='Discount -%percentage%' d='Shop.Theme.Catalog' sprintf=['%percentage%' => $product.discount_percentage_absolute]}</span>
{else}
<span class="discount discount-amount">
{l s='Discount -%amount%' d='Shop.Theme.Catalog' sprintf=['%amount%' => $product.discount_to_display]}
</span>
{/if}
{/if}
{block name='product_unit_price'}
{if $displayUnitPrice}
<p class="product-unit-price sub">{l s='(%unit_price%)' d='Shop.Theme.Catalog' sprintf=['%unit_price%' => $product.unit_price_full]}</p>
{/if}
{/block}
</div>
{/block}
{block name='product_without_taxes'}
{if $priceDisplay == 2}
<p class="product-without-taxes">{l s='%price% tax excl.' d='Shop.Theme.Catalog' sprintf=['%price%' => $product.price_tax_exc]}</p>
{/if}
{/block}
{block name='product_pack_price'}
{if $displayPackPrice}
<p class="product-pack-price"><span>{l s='Instead of %price%' d='Shop.Theme.Catalog' sprintf=['%price%' => $noPackPrice]}</span></p>
{/if}
{/block}
{block name='product_ecotax'}
{if $product.ecotax.amount > 0}
<p class="price-ecotax">{l s='Including %amount% for ecotax' d='Shop.Theme.Catalog' sprintf=['%amount%' => $product.ecotax.value]}
{if $product.has_discount}
{l s='(not impacted by the discount)' d='Shop.Theme.Catalog'}
{/if}
</p>
{/if}
{/block}
{hook h='displayProductPriceBlock' product=$product type="weight" hook_origin='product_sheet'}
<div class="tax-shipping-delivery-label">
{if $configuration.display_taxes_label}
{$product.labels.tax_long}
{/if}
{hook h='displayProductPriceBlock' product=$product type="price"}
{hook h='displayProductPriceBlock' product=$product type="after_price"}
{if isset($product.additional_delivery_times)}
{if $product.additional_delivery_times == 1}
{if $product.delivery_information}
<span class="delivery-information">{$product.delivery_information}</span>
{/if}
{elseif $product.additional_delivery_times == 2}
{if $product.quantity > 0}
<span class="delivery-information">{$product.delivery_in_stock}</span>
{* Out of stock message should not be displayed if customer can't order the product. *}
{elseif $product.quantity == 0 && $product.add_to_cart_url}
<span class="delivery-information">{$product.delivery_out_stock}</span>
{/if}
{/if}
{/if}
</div>
{if isset($product.specific_prices.from) || isset($product.specific_prices.to)}
{if ($smarty.now|date_format:'%Y-%m-%d %H:%M:%S' >= $product.specific_prices.from && $smarty.now|date_format:'%Y-%m-%d %H:%M:%S' < $product.specific_prices.to)}
<div class="product_count_block">
<div class="countcontainer">
<div class="roycounttitle">
<span>{l s='Limited Special Offer! Expires in:'}</span>
</div>
<div class="clearfix"></div>
<div class="count_icon">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 240 240" style="enable-background:new 0 0 240 240;" xml:space="preserve">
<g>
<path class="hand hand-min" d="M185.4,128H120c-4.4,0-8-3.6-8-8s3.6-8,8-8h65.4c4.4,0,8,3.6,8,8S189.8,128,185.4,128z"/>
</g>
<g>
<path class="hand hand-hour" d="M120,127.2c-4.4,0-8-3.6-8-8V63.9c0-4.4,3.6-8,8-8s8,3.6,8,8v55.4C128,123.7,124.4,127.2,120,127.2z"/>
</g>
<path d="M120,16c57.3,0,104,46.7,104,104s-46.7,104-104,104S16,177.3,16,120S62.7,16,120,16 M120,0C53.7,0,0,53.7,0,120
s53.7,120,120,120s120-53.7,120-120S186.3,0,120,0L120,0z"/>
</svg>
</div>
<div class="count_other">
<div class="roycountdown">
<div class="roycount" style="display: none;" data-specific-price-to="{$product.specific_prices.to}" data-days={l s='Days'} data-hours={l s='Hours'} data-minutes={l s='Minutes'} data-seconds={l s='Seconds'}></div>
</div>
</div>
</div>
</div>
{/if}
{/if}
</div>
{/if}

View File

@@ -0,0 +1,3 @@
{block name='hook_display_reassurance'}
{hook h='displayReassurance'}
{/block}

View File

@@ -0,0 +1,100 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2017 PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<div class="product-variants">
{foreach from=$groups key=id_attribute_group item=group}
{if $id_attribute_group == 5}<a rel="nofollow" href="javascript:void(0);" class="fancybox-material-controls">{/if}
<div class="clearfix product-variants-item">
{if $group.group_type == 'select' && $product_variant_mode == 1}
<div class="product-bar-label">
<p>2.</p>
</div>
<div class="product-bar-icon material-icon" >
<img src="/themes/ayon/assets/images/struktura-materialu.png" alt="">
{* <svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000">
<path d="M0 0h24v24H0V0z" fill="none"/>
<path d="M19.51 3.08L3.08 19.51c.09.34.27.65.51.9.25.24.56.42.9.51L20.93 4.49c-.19-.69-.73-1.23-1.42-1.41zM11.88 3L3 11.88v2.83L14.71 3h-2.83zM5 3c-1.1 0-2 .9-2 2v2l4-4H5zm14 18c.55 0 1.05-.22 1.41-.59.37-.36.59-.86.59-1.41v-2l-4 4h2zm-9.71 0h2.83L21 12.12V9.29L9.29 21z"/>
</svg> *}
</div>
<div class="product-bar-box">
{if $id_attribute_group == 5}
<span class="control-label">Struktura materiału</span>
{else}
<span class="control-label">{$group.name}:</span>
{/if}
<select
class="form-control form-control-select {if $id_attribute_group == 5}hidden{/if}"
id="group_{$id_attribute_group}"
data-product-attribute="{$id_attribute_group}"
name="group[{$id_attribute_group}]">
{foreach from=$group.attributes key=id_attribute item=group_attribute}
<option value="{$id_attribute}" title="{$group_attribute.name}"{if $group_attribute.selected} selected="selected"{/if}>{$group_attribute.name}</option>
{/foreach}
</select>
</div>
{elseif $group.group_type == 'color' && $product_variant_mode == 2}
<span class="control-label">{$group.name}</span>
<ul id="group_{$id_attribute_group}">
{foreach from=$group.attributes key=id_attribute item=group_attribute}
<li class="float-xs-left input-container wariant_kolorystyczny">
<label>
<input class="input-color" type="radio" data-product-attribute="{$id_attribute_group}" name="group[{$id_attribute_group}]" value="{$id_attribute}"{if $group_attribute.selected} checked="checked"{/if} style="background-image:;">
{if isset($combinationImages)}
{foreach from=$combinationImages item='combination' key='combinationId' name='f_combinationImages'}
{if Product::getIdProductAttributeByIdAttributes($product.id_product, $id_attribute) == $combinationId}
{foreach from=$combination item='image' name='f_combinationImage'}
<img src="{$link->getImageLink($product->link_rewrite, $image.id_image, 'wariant_kolorystyczny')|escape:'html':'UTF-8'}"/>
{/foreach}
{/if}
{/foreach}
{/if}
<span
{if $group_attribute.html_color_code}class="color tip_inside" style="background-color: {$group_attribute.html_color_code}" {/if}
{if $group_attribute.texture}class="color texture tip_inside" style="background-image: url({$group_attribute.texture})" {/if}
><span class="sr-only tip">{$group_attribute.name}</span></span>
</label>
</li>
{/foreach}
</ul>
{elseif $group.group_type == 'radio'}
<span class="control-label">{$group.name}</span>
<ul id="group_{$id_attribute_group}">
{foreach from=$group.attributes key=id_attribute item=group_attribute}
<li class="input-container float-xs-left">
<label>
<input class="input-radio" type="radio" data-product-attribute="{$id_attribute_group}" name="group[{$id_attribute_group}]" value="{$id_attribute}"{if $group_attribute.selected} checked="checked"{/if}>
<span class="radio-label">{$group_attribute.name}</span>
</label>
</li>
{/foreach}
</ul>
{/if}
</div>
{if $id_attribute_group == 5}</a>{/if}
{/foreach}
</div>

View File

@@ -0,0 +1,6 @@
{*
* Classic theme doesn't use this subtemplate, feel free to do whatever you need here.
* This template is generated at each ajax calls.
* See ProductListingFrontController::getAjaxProductSearchVariables()
*}
<div id="js-product-list-bottom"></div>

View File

@@ -0,0 +1,33 @@
<div id="js-product-list-top" class="products-selection">
<div class="toggle-listing-filters"><span class="show-filters">Pokaż filtry</span><span class="hide-filters">Schowaj filtry</span> </div>
<div class="total-products">
<i class="gl show_grid {if !isset($smarty.cookies.show_list)}active{/if}">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g id="Layer_4" data-name="Layer 4"><rect x="2" y="2" width="8" height="8" rx="3" ry="3" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.20000004768372px"/><rect x="2" y="14" width="8" height="8" rx="3" ry="3" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.20000004768372px"/><rect x="14" y="2" width="8" height="8" rx="3" ry="3" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.20000004768372px"/><rect x="14" y="14" width="8" height="8" rx="3" ry="3" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.20000004768372px"/></g>
</svg>
</i>
<i class="gl show_list {if isset($smarty.cookies.show_list)}active{/if}">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g id="Layer_4" data-name="Layer 4"><rect x="2" y="2" width="20" height="4" rx="2" ry="2" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.20000004768372px"/><rect x="2" y="10" width="20" height="4" rx="2" ry="2" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.20000004768372px"/><rect x="2" y="18" width="20" height="4" rx="2" ry="2" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.20000004768372px"/></g></svg>
</i>
{if $listing.pagination.total_items > 1}
<p>{l s='There are' d='Shop.Theme.Catalog'} <span>{l s='%product_count%' d='Shop.Theme.Catalog' sprintf=['%product_count%' => $listing.pagination.total_items]}</span> {l s='products.' d='Shop.Theme.Catalog'}</p>
{else if $listing.pagination.total_items > 0}
<p>{l s='There is' d='Shop.Theme.Catalog'} <span>1</span> {l s='product.' d='Shop.Theme.Catalog'}</p>
{/if}
</div>
<div class="sort-by-row">
{block name='sort_by'}
{include file='catalog/_partials/sort-orders.tpl' sort_orders=$listing.sort_orders}
{/block}
</div>
<div class="col-sm-12 hidden-md-up showing">
{l s='Showing %from%-%to% of %total% item(s)' d='Shop.Theme.Catalog' sprintf=[
'%from%' => $listing.pagination.items_shown_from ,
'%to%' => $listing.pagination.items_shown_to,
'%total%' => $listing.pagination.total_items
]}
</div>
</div>

View File

@@ -0,0 +1,38 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2017 PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<div id="js-product-list">
<div class="products row">
{foreach from=$listing.products item="product"}
{block name='product_miniature'}
{include file='catalog/_partials/miniatures/product.tpl' product=$product}
{/block}
{/foreach}
</div>
{block name='pagination'}
{include file='_partials/pagination.tpl' pagination=$listing.pagination}
{/block}
</div>

View File

@@ -0,0 +1,137 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2017 PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<div id="quickview-modal-{$product.id}-{$product.id_product_attribute}" class="modal fade quickview" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog" role="document">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>
</button>
<div class="modal-content">
<div class="modal-body">
<div class="row">
<div class="col-md-6 col-sm-6 left_col">
{block name='product_images'}
<div class="js-qv-mask mask">
<ul class="product-images js-qv-product-images">
{foreach from=$product.images item=image}
<li class="thumb-container">
<img
class="thumb js-thumb {if $image.id_image == $product.cover.id_image} selected {/if}"
data-image-medium-src="{$image.bySize.medium_default.url}"
data-image-large-src="{$image.bySize.large_default.url}"
src="{$image.bySize.large_default.url}"
alt="{$image.legend}"
title="{$image.legend}"
width="100"
itemprop="image"
>
</li>
{/foreach}
</ul>
</div>
{/block}
</div>
<div class="col-md-6 col-sm-6 right_col">
<div class="right_col_inner">
<h1 class="h1 product-title">{$product.name}</h1>
<div class="product-information">
{block name='product_discounts'}
{include file='catalog/_partials/product-discounts.tpl'}
{/block}
{block name='product_prices'}
{include file='catalog/_partials/product-prices.tpl'}
{/block}
{block name='product_description_short'}
<div id="product-description-short-{$product.id}" сlass="product-short-desc" itemprop="description">{$product.description_short nofilter}</div>
{/block}
{if $product.is_customizable && count($product.customizations.fields)}
{block name='product_customization'}
{include file="catalog/_partials/product-customization.tpl" customizations=$product.customizations}
{/block}
{/if}
<div class="product-actions">
{block name='product_buy'}
<form action="{$urls.pages.cart}" method="post" id="add-to-cart-or-refresh">
<input type="hidden" name="token" value="{$static_token}">
<input type="hidden" name="id_product" value="{$product.id}" id="product_page_product_id">
<input type="hidden" name="id_customization" value="{$product.id_customization}" id="product_customization_id">
{block name='product_variants'}
{include file='catalog/_partials/product-variants.tpl'}
{/block}
{block name='product_pack'}
{if $packItems}
<section class="product-pack">
<h3 class="h4">{l s='This pack contains' d='Shop.Theme.Catalog'}</h3>
{foreach from=$packItems item="product_pack"}
{block name='product_miniature'}
{include file='catalog/_partials/miniatures/pack-product.tpl' product=$product_pack}
{/block}
{/foreach}
</section>
{/if}
{/block}
{block name='product_out_of_stock'}
<div class="product-out-of-stock">
{hook h='actionProductOutOfStock' product=$product}
</div>
{/block}
{block name='product_refresh'}
<input class="product-refresh" data-url-update="false" name="refresh" type="submit" value="{l s='Refresh' d='Shop.Theme.Actions'}" hidden>
{/block}
</form>
{/block}
</div>
</div>
<div class="discover_qw">
<a href="{$product.url}" class="btn btn-primary">
{l s='Discover Product' d='Shop.Theme.Actions'}
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,47 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2017 PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<span class="hidden-sm-down sort-by" style="min-width: 150px;">{l s='Sort by:' d='Shop.Theme.Global'}</span>
<div class="products-sort-order dropdown">
<button
class="btn-unstyle select-title"
rel="nofollow"
data-toggle="dropdown"
aria-haspopup="true"
aria-expanded="false">
{if isset($listing.sort_selected)}{$listing.sort_selected}{else}{l s='Select' d='Shop.Theme.Actions'}{/if}
<i><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-bar-chart-2"><line class="st0" x1="4" y1="18" x2="14" y2="18"/><line class="st0" x1="4" y1="12" x2="20" y2="12"/><line class="st0" x1="4" y1="6" x2="10" y2="6"/></svg></i>
</button>
<div class="dropdown-menu">
{foreach from=$listing.sort_orders item=sort_order}
<a
rel="nofollow"
href="{$sort_order.url}"
class="select-list noeffect {['current' => $sort_order.current, 'js-search-link' => true]|classnames}"
>
{$sort_order.label}
</a>
{/foreach}
</div>
</div>

View File

@@ -0,0 +1,16 @@
<div class="variant-links">
{foreach from=$variants item=variant}
<a href="{$variant.url}"
class="{$variant.type}"
title="{$variant.name}"
{*
TODO:
put color in a data attribute for use with attr() as soon as browsers support it,
see https://developer.mozilla.org/en/docs/Web/CSS/attr
*}
{if $variant.html_color_code} style="background-color: {$variant.html_color_code}" {/if}
{if $variant.texture} style="background-image: url({$variant.texture})" {/if}
><span class="ctooltip">{$variant.name}</span></a>
{/foreach}
<span class="js-count count"></span>
</div>

View File

@@ -0,0 +1,44 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2017 PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{extends file=$layout}
{block name='content'}
<section id="main">
{block name='brand_header'}
<h1>{l s='Brands' d='Shop.Theme.Catalog'}</h1>
{/block}
{block name='brand_miniature'}
<ul class="brands_list">
{foreach from=$brands item=brand}
{include file='catalog/_partials/miniatures/brand.tpl' brand=$brand}
{/foreach}
</ul>
{/block}
</section>
{/block}

View File

@@ -0,0 +1,5 @@
{*
* This file allows you to customize your best-sales page.
* You can safely remove it if you want it to appear exactly like all other product listing pages
*}
{extends file='catalog/listing/product-list.tpl'}

View File

@@ -0,0 +1,73 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2017 PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{extends file='catalog/listing/product-list.tpl'}
{block name='product_list_header'}
{if isset($roythemes.b_pos_cat) && $roythemes.b_pos_cat == "2"}
{block name='breadcrumb'}
{include file='_partials/breadcrumb.tpl'}
{/block}
{/if}
<div class="block-category hidden-sm-down">
{if $category.image.large.url && isset($roythemes.nc_cat_img) && $roythemes.nc_cat_img == "1" && isset($roythemes.nc_cat_imglay) && $roythemes.nc_cat_imglay == "1"}
<div class="category-cover">
<img class="img-responsive" src="{$category.image.large.url}" alt="{$category.image.legend}">
</div>
{/if}
<h1 class="h1">{$category.name}</h1>
{if $category.description}
<div id="category-description" class="text-muted">{$category.description nofilter}</div>
{/if}
</div>
<div class="text-sm-center hidden-md-up">
<h1 class="h3">{$category.name}</h3>
</div>
{if isset($subcategories) && isset($roythemes.nc_subcat) && $roythemes.nc_subcat == "1"}
<!-- Subcategories -->
<div id="subcategories">
<ul class="clearfix">
{foreach from=$subcategories item=subcategory}
<li>
<div class="sub_cont">
<div class="subcategory-image">
<a href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'html':'UTF-8'}" class="img noeffect">
{if $subcategory.id_image}
<img class="replace-2x" src="{$link->getCatImageLink($subcategory.link_rewrite, $subcategory.id_image, 'category_default')|escape:'html':'UTF-8'}" alt="{$subcategory.name|escape:'html':'UTF-8'}"/>
{else}
<img class="replace-2x" src="{$img_cat_dir}{$lang_iso}-default-category_default.jpg" alt="{$subcategory.name|escape:'html':'UTF-8'}"/>
{/if}
</a>
</div>
<h5><a class="subcategory-name" href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'html':'UTF-8'}">{$subcategory.name|truncate:25:'...'|escape:'html':'UTF-8'}</a></h5>
</div>
</li>
{/foreach}
</ul>
</div>
{/if}
{/block}

View File

@@ -0,0 +1,31 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2017 PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{extends file='catalog/listing/product-list.tpl'}
{block name='product_list_header'}
<h1>{l s='List of products by brand %brand_name%' sprintf=['%brand_name%' => $manufacturer.name] d='Shop.Theme.Catalog'}</h1>
<div id="manufacturer-short_description">{$manufacturer.short_description nofilter}</div>
<div id="manufacturer-description">{$manufacturer.description nofilter}</div>
{/block}

View File

@@ -0,0 +1,5 @@
{*
* This file allows you to customize your new-product page.
* You can safely remove it if you want it to appear exactly like all other product listing pages
*}
{extends file='catalog/listing/product-list.tpl'}

View File

@@ -0,0 +1,5 @@
{*
* This file allows you to customize your price-drop page.
* You can safely remove it if you want it to appear exactly like all other product listing pages
*}
{extends file='catalog/listing/product-list.tpl'}

View File

@@ -0,0 +1,69 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2017 PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{extends file=$layout}
{block name='content'}
<section id="main">
{block name='product_list_header'}
<h1 class="h1">{$listing.label}</h2>
{/block}
<section id="products">
{if $listing.products|count}
<div id="">
{block name='product_list_top'}
{include file='catalog/_partials/products-top.tpl' listing=$listing}
{/block}
</div>
{block name='product_list_active_filters'}
<div id="">
{$listing.rendered_active_filters nofilter}
</div>
{/block}
<div id="">
{block name='product_list'}
{include file='catalog/_partials/products.tpl' listing=$listing}
{/block}
</div>
<div id="js-product-list-bottom">
{block name='product_list_bottom'}
{include file='catalog/_partials/products-bottom.tpl' listing=$listing}
{/block}
</div>
{else}
{l s='There are no products in this category.' d='Shop.Theme.Global'}
{/if}
</section>
</section>
{/block}

View File

@@ -0,0 +1,5 @@
{*
* This file allows you to customize your search page.
* You can safely remove it if you want it to appear exactly like all other product listing pages
*}
{extends file='catalog/listing/product-list.tpl'}

View File

@@ -0,0 +1,30 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2017 PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{extends file='catalog/listing/product-list.tpl'}
{block name='product_list_header'}
<h1>{l s='List of products by supplier %s' sprintf=[$supplier.name] d='Shop.Theme.Catalog'}</h1>
<div id="supplier-description">{$supplier.description nofilter}</div>
{/block}

View File

@@ -0,0 +1,25 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2017 PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{extends file='catalog/brands.tpl'}

View File

@@ -0,0 +1,523 @@
{**
* 2007-2019 PrestaShop and Contributors
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to https://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2019 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{extends file=$layout}
{assign var="pl_manufacturer" value=Manufacturer::getNameById($product.id_manufacturer)}
{block name='head_seo' prepend}
<link rel="canonical" href="{$product.canonical_url}">
{/block}
{block name='head' append}
<meta property="og:type" content="product">
<meta property="og:url" content="{$urls.current_url}">
<meta property="og:title" content="{$page.meta.title}">
<meta property="og:site_name" content="{$shop.name}">
<meta property="og:description" content="{$page.meta.description}">
<meta property="og:image" content="{$product.cover.large.url}">
{if $product.show_price}
<meta property="product:pretax_price:amount" content="{$product.price_tax_exc}">
<meta property="product:pretax_price:currency" content="{$currency.iso_code}">
<meta property="product:price:amount" content="{$product.price_amount}">
<meta property="product:price:currency" content="{$currency.iso_code}">
{/if}
{if isset($product.weight) && ($product.weight != 0)}
<meta property="product:weight:value" content="{$product.weight}">
<meta property="product:weight:units" content="{$product.weight_unit}">
{/if}
{/block}
{block name='content'}
<section id="main" itemscope itemtype="https://schema.org/Product">
<meta itemprop="url" content="{$product.url}">
<meta itemprop="gtin13" content="{$product.ean13}" />
<meta itemprop="brand" content="{if isset($pl_manufacturer)}{$pl_manufacturer}{else}{$shop.name}{/if}" />
{if isset($product.isbn)}<meta itemprop="productID" content="{$product.isbn}">{/if}
<div class="container">
{if isset($roythemes.b_pos_pro) && $roythemes.b_pos_pro == "2"}
{block name='breadcrumb'}
{include file='_partials/breadcrumb.tpl'}
{/block}
{/if}
{block name='page_header_container'}
{block name='page_header'}
<h1 class="h1 product-title" itemprop="name">{block name='page_title'}{$product.name}{/block}</h1>
{hook h='displayProductNav' product=$product}
{/block}
{/block}
<div class="product-block-prices">
{block name='product_discounts'}
{include file='catalog/_partials/product-discounts.tpl'}
{/block}
{if isset($roythemes.nc_pp_con) && $roythemes.nc_pp_con == "1"}
{block name='product_prices'}
{include file='catalog/_partials/product-prices.tpl'}
{/block}
{/if}
</div>
{$last_img = Product::getProductImages($product.link_rewrite,$product.id, $this->context)}
<!--
{$attrs = $product.attributes}
{foreach from=$attrs item=elem key=key}
{$elem.id_attribute}
{/foreach}
-->
<div class="product-top-banner">
<img src="{$last_img}" width="100" itemprop="image" draggable="false">
</div>
<div class="row {if isset($roythemes.pp_sticky) && $roythemes.pp_sticky == "1"}pp_stick_parent{/if}">
<div class="col-lg-6 col-image">
{block name='page_content_container'}
<section class="col-image-inside">
{block name='page_content'}
{block name='product_flags'}
<ul class="product-flags">
{foreach from=$product.flags item=flag}
<li class="product-flag {$flag.type}">{$flag.label}</li>
{/foreach}
</ul>
{/block}
<div class="product_image_wrapper">
{block name='product_cover_thumbnails'}
{include file='catalog/_partials/product-cover-thumbnails.tpl'}
{/block}
</div>
{/block}
</section>
{/block}
</div>
<div class="col-lg-6 col-content">
<div class="col-content-inside {if isset($roythemes.pp_sticky) && $roythemes.pp_sticky == "1"}pp_stick_it{/if}">
{if isset($nb_comments) && $nb_comments > 0}
<div class="comments-note">
{include file='module:productcomments/views/templates/hook/average-grade-stars.tpl' grade=$average_grade}
<a class="nb-comments noeffect goreviews" href="#tabsection"><span itemprop="reviewCount">{l s='%s'|sprintf:$nbComments mod='productcomments'}</span> {if isset($nbComments) && $nbComments == 1}{l s='Review'}{else}{l s='Reviews'}{/if}</a>
<div itemprop="aggregateRating" itemtype="http://schema.org/AggregateRating" itemscope>
<meta itemprop="reviewCount" content="{$nb_comments}" />
<meta itemprop="ratingValue" content="{$average_grade}" />
</div>
</div>
{/if}
{widget name='productcomments' hook='displayProductExtraContent'}
<div class="product-information">
{if $product.is_customizable && count($product.customizations.fields)}
{block name='product_customization'}
{include file="catalog/_partials/product-customization.tpl" customizations=$product.customizations}
{/block}
{/if}
{if isset($roythemes.nc_pp_con) && $roythemes.nc_pp_con == "2"}
{block name='product_additional_info'}
{include file='catalog/_partials/product-additional-info.tpl'}
{/block}
{/if}
{if isset($roythemes.nc_pp_con) && ($roythemes.nc_pp_con == "2" || $roythemes.nc_pp_con == "3")}
{block name='product_prices'}
{include file='catalog/_partials/product-prices.tpl'}
{/block}
{/if}
</div>
</div>
</div>
</div>
<div class="product-actions">{block name='product_buy'}{*<div id="zapisz">ZAPISZ</div> *}
<form action="{$urls.pages.cart}" method="post" id="add-to-cart-or-refresh">
<input type="hidden" name="token" value="{$static_token}">
<input type="hidden" name="id_product" value="{$product.id}" id="product_page_product_id">
<input type="hidden" name="id_customization" value="{$product.id_customization}" id="product_customization_id" class="js-product-customization-id">
<input type="hidden" name="fixed_price" value="{$product.price_amount}" id="product_fixed_price">
<input type="hidden" name="base_price" value="{$product.price_amount}" id="product_base_price">
<input type="hidden" name="is_crop" value="0" id="product_is_crop">
<input type="hidden" name="is_reflection" value="0" id="product_is_reflection">
<input type="hidden" name="crop_pos_x" value="0" id="product_crop_pos_x">
<input type="hidden" name="crop_pos_y" value="0" id="product_crop_pos_y">
<input type="hidden" name="crop_width" value="0" id="product_crop_width">
<input type="hidden" name="crop_height" value="0" id="product_crop_height">
<input type="hidden" name="product_total_price_calc" id="product_total_price_calc" value='' />
<input type="hidden" name="piece_bg_top" id="piece_bg_top" value='' />
<input type="hidden" name="piece_bg_left" id="piece_bg_left" value='' />
<div class="product-bar-container 1">
<div class="product-bar product-bar-title container">
<h3>Konfigurator</h3>
<h2>Dopasuj tapetę do swoich potrzeb</h2>
</div>
<div class="product-bar product-bar-data container">
{$product_variant_mode = 1}
<a rel="nofollow" href="javascript:void(0);" class="fancybox-size-controls">
<div id="fancybox-size-controls" class="">
<div class="product-block-piece">
<div class="product-bar-label">
<p>1.</p>
</div>
<div class="product-bar-icon crop-icon">
<img src="/themes/ayon/assets/images/dopasuj-wymiar.png" alt="">
{* <svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M17 15h2V7c0-1.1-.9-2-2-2H9v2h8v8zM7 17V1H5v4H1v2h4v10c0 1.1.9 2 2 2h10v4h2v-4h4v-2H7z"/></svg> *}
</div>
<div class="product-bar-box">
<div class="piece-size-controls product-bar-box">
Dopasuj wymiar
{* {l s='Rozmiar:' d='Shop.Theme.Catalog'} <br/>
<span id="piece-size-view" class="strong">
{l s='Wybierz' d='Shop.Theme.Catalog'}
</span> *}
</div>
<div class="piece-size-controls hidden">
<input type="checkbox" id="checkbox-piece"><label for="checkbox-piece">Wymiary tapety</label>
</div>
<div class="piece-size-values hidden">
<input type="number" min="50" max="500" value="100" id="piece-width" readonly>
<input type="number" min="50" max="300" value="100" id="piece-height" readonly>
</div>
</div>
</div></a>
</div>
{block name='product_variants'}
{include file='catalog/_partials/product-variants.tpl'}
{/block}
<div id="button-mirror-reflection">
<div class="product-bar-label">
<p>3.</p>
</div>
<div class="product-bar-icon rotate-icon" style="margin-top: 0px !important;">
<img src="/themes/ayon/assets/images/odbicie-iustrzane.png" alt="">
{* <svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M15 21h2v-2h-2v2zm4-12h2V7h-2v2zM3 5v14c0 1.1.9 2 2 2h4v-2H5V5h4V3H5c-1.1 0-2 .9-2 2zm16-2v2h2c0-1.1-.9-2-2-2zm-8 20h2V1h-2v22zm8-6h2v-2h-2v2zM15 5h2V3h-2v2zm4 8h2v-2h-2v2zm0 8c1.1 0 2-.9 2-2h-2v2z"/></svg> *}
</div>
<div class="product-bar-box">
{* <p class="button-mirror-reflection-label">Odbicie<br/>lustrzane</p> *}
<p class="button-mirror-reflection-label">Odbicie lustrzane</p>
</div>
</div>
<div id="button-color-variants">
<div class="product-bar-label">
<p>4.</p>
</div>
<div class="product-bar-icon rotate-icon" style="margin-top: 0px !important;">
<img src="/themes/ayon/assets/images/wariant-kolorystyczny.png" alt="">
</div>
<div class="product-bar-box">
<p class="button-color-variants-label">Wariant kolorystyczny</p>
</div>
</div>
{* <div class="product-block-custom-price">
<div class="product-bar-icon"></div>
<div class="product-bar-box">
<div class="clearfix product-variants-item">
<p id="custom-wallpaper-price-label">Cena</p>
<p id="custom-wallpaper-price"></p>
</div>
</div>
</div> *}
{* {block name='product_add_to_cart'}
{include file='catalog/_partials/product-add-to-cart.tpl'}
{/block}
{block name='product_discounts'}
{include file='catalog/_partials/product-discounts.tpl'}
{/block} *}
</div>
</div>
<div id="box-color-variants">
{$product_variant_mode = 2}
{block name='product_variants'}
{include file='catalog/_partials/product-variants.tpl'}
{/block}
</div>
<div class="product-actions-custom">
<div class="product-bar container">
<div class="product-actions-custom--wrapper">
{block name='product_add_to_cart'}
{include file='catalog/_partials/product-add-to-cart.tpl'}
{/block}
{block name='product_discounts'}
{include file='catalog/_partials/product-discounts.tpl'}
{/block}
</div>
</div>
</div>
{* {$product_variant_mode = 2}
{block name='product_variants'}
{include file='catalog/_partials/product-variants.tpl'}
{/block} *}
</form>
{/block}
</div>
{if in_array(6,Product::getProductCategories($product->id|intval))}
<a href="https://designer.hpwallart.com/mcdn?external_link=true"><div class="wallcover-button">Stwórz wzór tapety</div></a>
{/if}
{block name='product_tabs'}
<div class="tabs" id="tabsection">
<div class="container">
<ul class="nav nav-tabs" role="tablist">
{if $product.description}
<li class="nav-item">
<a
class="nav-link{if $product.description} active{/if}"
data-toggle="tab"
href="#description"
role="tab"
aria-controls="description"
{if $product.description} aria-selected="true"{/if}>{l s='Description' d='Shop.Theme.Catalog'}</a>
</li>
{/if}
{if $product.features}
<li class="nav-item">
<a
class="nav-link{if !$product.description} active{/if}"
data-toggle="tab"
href="#product-details"
role="tab"
aria-controls="product-details"
{if !$product.description} aria-selected="true"{/if}>{l s='Product Details' d='Shop.Theme.Catalog'}</a>
</li>
{/if}
{if $product.attachments}
<li class="nav-item">
<a
class="nav-link"
data-toggle="tab"
href="#attachments"
role="tab"
aria-controls="attachments">{l s='Attachments' d='Shop.Theme.Catalog'}</a>
</li>
{/if}
{foreach from=$product.extraContent item=extra key=extraKey}
<li class="nav-item">
<a
class="nav-link"
data-toggle="tab"
href="#extra-{$extraKey}"
role="tab"
aria-controls="extra-{$extraKey}">{$extra.title}</a>
</li>
{/foreach}
</ul>
<div class="tab-content" id="tab-content">
<div class="tab-pane fade in{if $product.description} active{/if}" id="description" role="tabpanel">
{block name='product_description'}
<div class="product-description">{$product.description nofilter}</div>
{/block}
</div>
{block name='product_details'}
{include file='catalog/_partials/product-details.tpl'}
{/block}
{block name='product_attachments'}
{if $product.attachments}
<div class="tab-pane fade in" id="attachments" role="tabpanel">
<section class="product-attachments">
<h3 class="h5 text-uppercase">{l s='Download' d='Shop.Theme.Actions'}</h3>
{foreach from=$product.attachments item=attachment}
<div class="attachment">
<h4><a href="{url entity='attachment' params=['id_attachment' => $attachment.id_attachment]}">{$attachment.name}</a></h4>
<p>{$attachment.description}</p
<a href="{url entity='attachment' params=['id_attachment' => $attachment.id_attachment]}">
{l s='Download' d='Shop.Theme.Actions'} ({$attachment.file_size_formatted})
</a>
</div>
{/foreach}
</section>
</div>
{/if}
{/block}
{foreach from=$product.extraContent item=extra key=extraKey}
<div class="tab-pane fade in {$extra.attr.class}" id="extra-{$extraKey}" role="tabpanel" {foreach $extra.attr as $key => $val} {$key}="{$val}"{/foreach}>
{$extra.content nofilter}
</div>
{/foreach}
</div>
</div>
</div>
{/block}
{hook h='displayProductBeforeBuy' mod='roy_content'}
{block name='product_accessories'}
{if $accessories}
<section class="product-accessories featured-products slideme clearfix mt-3">
<div class="pp_products_wrapper">
<h2 class="products-section-title">
{l s='You might also like' d='Shop.Theme.Catalog'}
</h2>
<div class="products">
{foreach from=$accessories item="product_accessory"}
{block name='product_miniature'}
{include file='catalog/_partials/miniatures/product.tpl' product=$product_accessory}
{/block}
{/foreach}
</div>
</div>
</section>
{/if}
{/block}
<a href="/Instrukcja.pdf" class="product-manual-button">Pobierz instrukcję PDF</a>
{block name='special_order_modal'}
{include file='catalog/_partials/custom/special-order.tpl'}
{/block}
{block name='email_pattern_modal'}
{include file='catalog/_partials/custom/email-pattern.tpl'}
{/block}
{block name='product_footer'}
{hook h='displayFooterProduct' product=$product category=$category}
{/block}
{block name='product_images_modal'}
{include file='catalog/_partials/product-images-modal.tpl'}
{/block}
</div>
{block name='page_footer_container'}
<footer class="page-footer">
{block name='page_footer'}
<!-- Footer content -->
{/block}
</footer>
{/block}
<!-- Root element of PhotoSwipe. Must have class pswp. -->
<div class="pswp" tabindex="-1" role="dialog" aria-hidden="true">
<!-- Background of PhotoSwipe.
It's a separate element as animating opacity is faster than rgba(). -->
<div class="pswp__bg"></div>
<!-- Slides wrapper with overflow:hidden. -->
<div class="pswp__scroll-wrap">
<!-- Container that holds slides.
PhotoSwipe keeps only 3 of them in the DOM to save memory.
Don't modify these 3 pswp__item elements, data is added later on. -->
<div class="pswp__container">
<div class="pswp__item"></div>
<div class="pswp__item"></div>
<div class="pswp__item"></div>
</div>
<!-- Default (PhotoSwipeUI_Default) interface on top of sliding area. Can be changed. -->
<div class="pswp__ui pswp__ui--hidden">
<div class="pswp__top-bar">
<!-- Controls are self-explanatory. Order can be changed. -->
<div class="pswp__counter"></div>
<button class="pswp__button pswp__button--close" title="Close (Esc)"></button>
<button class="pswp__button pswp__button--share" title="Share"></button>
<button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button>
<button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button>
<!-- Preloader demo https://codepen.io/dimsemenov/pen/yyBWoR -->
<!-- element will get class pswp__preloader--active when preloader is running -->
<div class="pswp__preloader">
<div class="pswp__preloader__icn">
<div class="pswp__preloader__cut">
<div class="pswp__preloader__donut"></div>
</div>
</div>
</div>
</div>
<div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">
<div class="pswp__share-tooltip"></div>
</div>
<button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)">
</button>
<button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)">
</button>
<div class="pswp__caption">
<div class="pswp__caption__center"></div>
</div>
</div>
</div>
</div>
</section>
<div class="piece-left-positon hidden">10</div>
<div class="piece-top-positon hidden">10</div>
{/block}

View File

@@ -0,0 +1,478 @@
{**
* 2007-2019 PrestaShop and Contributors
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to https://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2019 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{extends file=$layout}
{assign var="pl_manufacturer" value=Manufacturer::getNameById($product.id_manufacturer)}
{block name='head_seo' prepend}
<link rel="canonical" href="{$product.canonical_url}">
{/block}
{block name='head' append}
<meta property="og:type" content="product">
<meta property="og:url" content="{$urls.current_url}">
<meta property="og:title" content="{$page.meta.title}">
<meta property="og:site_name" content="{$shop.name}">
<meta property="og:description" content="{$page.meta.description}">
<meta property="og:image" content="{$product.cover.large.url}">
{if $product.show_price}
<meta property="product:pretax_price:amount" content="{$product.price_tax_exc}">
<meta property="product:pretax_price:currency" content="{$currency.iso_code}">
<meta property="product:price:amount" content="{$product.price_amount}">
<meta property="product:price:currency" content="{$currency.iso_code}">
{/if}
{if isset($product.weight) && ($product.weight != 0)}
<meta property="product:weight:value" content="{$product.weight}">
<meta property="product:weight:units" content="{$product.weight_unit}">
{/if}
{/block}
{block name='content'}
<section id="main" itemscope itemtype="https://schema.org/Product">
<meta itemprop="url" content="{$product.url}">
<meta itemprop="gtin13" content="{$product.ean13}" />
<meta itemprop="brand" content="{if isset($pl_manufacturer)}{$pl_manufacturer}{else}{$shop.name}{/if}" />
{if isset($product.isbn)}<meta itemprop="productID" content="{$product.isbn}">{/if}
<div class="container">
{if isset($roythemes.b_pos_pro) && $roythemes.b_pos_pro == "2"}
{block name='breadcrumb'}
{include file='_partials/breadcrumb.tpl'}
{/block}
{/if}
{block name='page_header_container'}
{block name='page_header'}
<h1 class="h1 product-title" itemprop="name">{block name='page_title'}{$product.name}{/block}</h1>
{hook h='displayProductNav' product=$product}
{/block}
{/block}
<div class="product-block-prices">
{block name='product_discounts'}
{include file='catalog/_partials/product-discounts.tpl'}
{/block}
{if isset($roythemes.nc_pp_con) && $roythemes.nc_pp_con == "1"}
{block name='product_prices'}
{include file='catalog/_partials/product-prices.tpl'}
{/block}
{/if}
</div>
{$last_img = Product::getProductImages($product.link_rewrite,$product.id, $this->context)}
<!--
{$attrs = $product.attributes}
{foreach from=$attrs item=elem key=key}
{$elem.id_attribute}
{/foreach}
-->
<div class="product-top-banner">
<img src="{$last_img}" width="100" itemprop="image" draggable="false">
</div>
<div class="row {if isset($roythemes.pp_sticky) && $roythemes.pp_sticky == "1"}pp_stick_parent{/if}">
<div class="col-lg-6 col-image">
{block name='page_content_container'}
<section class="col-image-inside">
{block name='page_content'}
{block name='product_flags'}
<ul class="product-flags">
{foreach from=$product.flags item=flag}
<li class="product-flag {$flag.type}">{$flag.label}</li>
{/foreach}
</ul>
{/block}
<div class="product_image_wrapper">
{block name='product_cover_thumbnails'}
{include file='catalog/_partials/product-cover-thumbnails.tpl'}
{/block}
</div>
{/block}
</section>
{/block}
</div>
<div class="col-lg-6 col-content">
<div class="col-content-inside {if isset($roythemes.pp_sticky) && $roythemes.pp_sticky == "1"}pp_stick_it{/if}">
{if isset($nb_comments) && $nb_comments > 0}
<div class="comments-note">
{include file='module:productcomments/views/templates/hook/average-grade-stars.tpl' grade=$average_grade}
<a class="nb-comments noeffect goreviews" href="#tabsection"><span itemprop="reviewCount">{l s='%s'|sprintf:$nbComments mod='productcomments'}</span> {if isset($nbComments) && $nbComments == 1}{l s='Review'}{else}{l s='Reviews'}{/if}</a>
<div itemprop="aggregateRating" itemtype="http://schema.org/AggregateRating" itemscope>
<meta itemprop="reviewCount" content="{$nb_comments}" />
<meta itemprop="ratingValue" content="{$average_grade}" />
</div>
</div>
{/if}
{widget name='productcomments' hook='displayProductExtraContent'}
<div class="product-information">
{if $product.is_customizable && count($product.customizations.fields)}
{block name='product_customization'}
{include file="catalog/_partials/product-customization.tpl" customizations=$product.customizations}
{/block}
{/if}
{if isset($roythemes.nc_pp_con) && $roythemes.nc_pp_con == "2"}
{block name='product_additional_info'}
{include file='catalog/_partials/product-additional-info.tpl'}
{/block}
{/if}
{if isset($roythemes.nc_pp_con) && ($roythemes.nc_pp_con == "2" || $roythemes.nc_pp_con == "3")}
{block name='product_prices'}
{include file='catalog/_partials/product-prices.tpl'}
{/block}
{/if}
</div>
</div>
</div>
</div>
<div class="product-actions"><div id="zapisz">ZAPISZ</div>
<form action="{$urls.pages.cart}" method="post" id="add-to-cart-or-refresh">
<input type="hidden" name="token" value="{$static_token}">
<input type="hidden" name="id_product" value="{$product.id}" id="product_page_product_id">
<input type="hidden" name="id_customization" value="{$product.id_customization}" id="product_customization_id" class="js-product-customization-id">
{*<input type="hidden" name="fixed_price" value="{$product.price_amount}" id="product_fixed_price">
<input type="hidden" name="base_price" value="{$product.price_amount}" id="product_base_price">
<input type="hidden" name="is_crop" value="0" id="product_is_crop">
<input type="hidden" name="is_reflection" value="0" id="product_is_reflection">
<input type="hidden" name="crop_pos_x" value="0" id="product_crop_pos_x">
<input type="hidden" name="crop_pos_y" value="0" id="product_crop_pos_y">
<input type="hidden" name="crop_width" value="0" id="product_crop_width">
<input type="hidden" name="crop_height" value="0" id="product_crop_height">
<input type="hidden" name="product_total_price_calc" id="product_total_price_calc" value='' />*}
<div class="product-bar-container">
<div class="product-bar container">
<a rel="nofollow" href="javascript:void(0);" class="fancybox-size-controls ">
<div id="fancybox-size-controls" class="">
<div class="product-block-piece">
<div class="product-bar-icon crop-icon">
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M17 15h2V7c0-1.1-.9-2-2-2H9v2h8v8zM7 17V1H5v4H1v2h4v10c0 1.1.9 2 2 2h10v4h2v-4h4v-2H7z"/></svg>
</div>
<div class="product-bar-box">
<div class="piece-size-controls product-bar-box">
{l s='Rozmiar:' d='Shop.Theme.Catalog'} <br/>
<span id="piece-size-view" class="strong">
{l s='Wybierz' d='Shop.Theme.Catalog'}
</span>
</div>
<div class="piece-size-controls hidden">
<input type="checkbox" id="checkbox-piece"><label for="checkbox-piece">Wymiary tapety</label>
</div>
<div class="piece-size-values hidden">
<input type="number" min="50" max="500" value="100" id="piece-width" readonly>
<input type="number" min="50" max="300" value="100" id="piece-height" readonly>
</div>
</div>
</div></a>
</div>
<div id="button-mirror-reflection">
<div class="product-bar-icon rotate-icon" style="margin-top: 0px !important;">
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M15 21h2v-2h-2v2zm4-12h2V7h-2v2zM3 5v14c0 1.1.9 2 2 2h4v-2H5V5h4V3H5c-1.1 0-2 .9-2 2zm16-2v2h2c0-1.1-.9-2-2-2zm-8 20h2V1h-2v22zm8-6h2v-2h-2v2zM15 5h2V3h-2v2zm4 8h2v-2h-2v2zm0 8c1.1 0 2-.9 2-2h-2v2z"/></svg>
</div>
<div class="product-bar-box">
<p class="button-mirror-reflection-label">Odbicie lustrzane</p>
</div>
</div>
{$product_variant_mode = 1}
{block name='product_variants'}
{include file='catalog/_partials/product-variants.tpl'}
{/block}
<div class="product-block-custom-price">
<div class="product-bar-icon"></div>
<div class="product-bar-box">
<div class="clearfix product-variants-item">
<p id="custom-wallpaper-price-label">Cena</p>
<p id="custom-wallpaper-price"></p>
<p id="totalpriceinfo"></p>
<div id="product_total_price_calc"></div>
</div>
</div>
</div>
{block name='product_add_to_cart'}
{include file='catalog/_partials/product-add-to-cart.tpl'}
{/block}
{block name='product_discounts'}
{include file='catalog/_partials/product-discounts.tpl'}
{/block}
</div>
</div>
{$product_variant_mode = 2}
{block name='product_variants'}
{include file='catalog/_partials/product-variants.tpl'}
{/block}
</form>
</div>
{if in_array(6,Product::getProductCategories($product->id|intval))}
<a href="https://designer.hpwallart.com/mcdn?external_link=true"><div class="wallcover-button">Stwórz wzór tapety</div></a>
{/if}
{block name='product_tabs'}
<div class="tabs" id="tabsection">
<div class="container">
<ul class="nav nav-tabs" role="tablist">
{if $product.description}
<li class="nav-item">
<a
class="nav-link{if $product.description} active{/if}"
data-toggle="tab"
href="#description"
role="tab"
aria-controls="description"
{if $product.description} aria-selected="true"{/if}>{l s='Description' d='Shop.Theme.Catalog'}</a>
</li>
{/if}
{if $product.features}
<li class="nav-item">
<a
class="nav-link{if !$product.description} active{/if}"
data-toggle="tab"
href="#product-details"
role="tab"
aria-controls="product-details"
{if !$product.description} aria-selected="true"{/if}>{l s='Product Details' d='Shop.Theme.Catalog'}</a>
</li>
{/if}
{if $product.attachments}
<li class="nav-item">
<a
class="nav-link"
data-toggle="tab"
href="#attachments"
role="tab"
aria-controls="attachments">{l s='Attachments' d='Shop.Theme.Catalog'}</a>
</li>
{/if}
{foreach from=$product.extraContent item=extra key=extraKey}
<li class="nav-item">
<a
class="nav-link"
data-toggle="tab"
href="#extra-{$extraKey}"
role="tab"
aria-controls="extra-{$extraKey}">{$extra.title}</a>
</li>
{/foreach}
</ul>
<div class="tab-content" id="tab-content">
<div class="tab-pane fade in{if $product.description} active{/if}" id="description" role="tabpanel">
{block name='product_description'}
<div class="product-description">{$product.description nofilter}</div>
{/block}
</div>
{block name='product_details'}
{include file='catalog/_partials/product-details.tpl'}
{/block}
{block name='product_attachments'}
{if $product.attachments}
<div class="tab-pane fade in" id="attachments" role="tabpanel">
<section class="product-attachments">
<h3 class="h5 text-uppercase">{l s='Download' d='Shop.Theme.Actions'}</h3>
{foreach from=$product.attachments item=attachment}
<div class="attachment">
<h4><a href="{url entity='attachment' params=['id_attachment' => $attachment.id_attachment]}">{$attachment.name}</a></h4>
<p>{$attachment.description}</p
<a href="{url entity='attachment' params=['id_attachment' => $attachment.id_attachment]}">
{l s='Download' d='Shop.Theme.Actions'} ({$attachment.file_size_formatted})
</a>
</div>
{/foreach}
</section>
</div>
{/if}
{/block}
{foreach from=$product.extraContent item=extra key=extraKey}
<div class="tab-pane fade in {$extra.attr.class}" id="extra-{$extraKey}" role="tabpanel" {foreach $extra.attr as $key => $val} {$key}="{$val}"{/foreach}>
{$extra.content nofilter}
</div>
{/foreach}
</div>
</div>
</div>
{/block}
{hook h='displayProductBeforeBuy' mod='roy_content'}
{block name='product_accessories'}
{if $accessories}
<section class="product-accessories featured-products slideme clearfix mt-3">
<div class="pp_products_wrapper">
<h2 class="products-section-title">
{l s='You might also like' d='Shop.Theme.Catalog'}
</h2>
<div class="products">
{foreach from=$accessories item="product_accessory"}
{block name='product_miniature'}
{include file='catalog/_partials/miniatures/product.tpl' product=$product_accessory}
{/block}
{/foreach}
</div>
</div>
</section>
{/if}
{/block}
<a href="/Instrukcja.pdf" class="product-manual-button">Pobierz instrukcję PDF</a>
{block name='product_footer'}
{hook h='displayFooterProduct' product=$product category=$category}
{/block}
{block name='product_images_modal'}
{include file='catalog/_partials/product-images-modal.tpl'}
{/block}
</div>
{block name='page_footer_container'}
<footer class="page-footer">
{block name='page_footer'}
<!-- Footer content -->
{/block}
</footer>
{/block}
<!-- Root element of PhotoSwipe. Must have class pswp. -->
<div class="pswp" tabindex="-1" role="dialog" aria-hidden="true">
<!-- Background of PhotoSwipe.
It's a separate element as animating opacity is faster than rgba(). -->
<div class="pswp__bg"></div>
<!-- Slides wrapper with overflow:hidden. -->
<div class="pswp__scroll-wrap">
<!-- Container that holds slides.
PhotoSwipe keeps only 3 of them in the DOM to save memory.
Don't modify these 3 pswp__item elements, data is added later on. -->
<div class="pswp__container">
<div class="pswp__item"></div>
<div class="pswp__item"></div>
<div class="pswp__item"></div>
</div>
<!-- Default (PhotoSwipeUI_Default) interface on top of sliding area. Can be changed. -->
<div class="pswp__ui pswp__ui--hidden">
<div class="pswp__top-bar">
<!-- Controls are self-explanatory. Order can be changed. -->
<div class="pswp__counter"></div>
<button class="pswp__button pswp__button--close" title="Close (Esc)"></button>
<button class="pswp__button pswp__button--share" title="Share"></button>
<button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button>
<button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button>
<!-- Preloader demo https://codepen.io/dimsemenov/pen/yyBWoR -->
<!-- element will get class pswp__preloader--active when preloader is running -->
<div class="pswp__preloader">
<div class="pswp__preloader__icn">
<div class="pswp__preloader__cut">
<div class="pswp__preloader__donut"></div>
</div>
</div>
</div>
</div>
<div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">
<div class="pswp__share-tooltip"></div>
</div>
<button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)">
</button>
<button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)">
</button>
<div class="pswp__caption">
<div class="pswp__caption__center"></div>
</div>
</div>
</div>
</div>
</section>
<div class="piece-left-positon hidden">10</div>
<div class="piece-top-positon hidden">10</div>
{/block}

View File

@@ -0,0 +1,261 @@
{**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to https://devdocs.prestashop.com/ for more information.
*
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
*}
{extends file=$layout}
{block name='head_seo' prepend}
<link rel="canonical" href="{$product.canonical_url}">
{/block}
{block name='head' append}
<meta property="og:type" content="product">
<meta property="og:url" content="{$urls.current_url}">
<meta property="og:title" content="{$page.meta.title}">
<meta property="og:site_name" content="{$shop.name}">
<meta property="og:description" content="{$page.meta.description}">
<meta property="og:image" content="{$product.cover.large.url}">
{if $product.show_price}
<meta property="product:pretax_price:amount" content="{$product.price_tax_exc}">
<meta property="product:pretax_price:currency" content="{$currency.iso_code}">
<meta property="product:price:amount" content="{$product.price_amount}">
<meta property="product:price:currency" content="{$currency.iso_code}">
{/if}
{if isset($product.weight) && ($product.weight != 0)}
<meta property="product:weight:value" content="{$product.weight}">
<meta property="product:weight:units" content="{$product.weight_unit}">
{/if}
{/block}
{block name='content'}
<section id="main" itemscope itemtype="https://schema.org/Product">
<meta itemprop="url" content="{$product.url}">
<div class="row product-container">
<div class="col-md-6">
{block name='page_content_container'}
<section class="page-content" id="content">
{block name='page_content'}
{include file='catalog/_partials/product-flags.tpl'}
{block name='product_cover_thumbnails'}
{include file='catalog/_partials/product-cover-thumbnails.tpl'}
{/block}
<div class="scroll-box-arrows">
<i class="material-icons left">&#xE314;</i>
<i class="material-icons right">&#xE315;</i>
</div>
{/block}
</section>
{/block}
</div>
<div class="col-md-6">
{block name='page_header_container'}
{block name='page_header'}
<h1 class="h1" itemprop="name">{block name='page_title'}{$product.name}{/block}</h1>
{/block}
{/block}
{block name='product_prices'}
{include file='catalog/_partials/product-prices.tpl'}
{/block}
<div class="product-information">
{block name='product_description_short'}
<div id="product-description-short-{$product.id}" class="product-description" itemprop="description">{$product.description_short nofilter}</div>
{/block}
{if $product.is_customizable && count($product.customizations.fields)}
{block name='product_customization'}
{include file="catalog/_partials/product-customization.tpl" customizations=$product.customizations}
{/block}
{/if}
<div class="product-actions">
{block name='product_buy'}
<form action="{$urls.pages.cart}" method="post" id="add-to-cart-or-refresh">
<input type="hidden" name="token" value="{$static_token}">
<input type="hidden" name="id_product" value="{$product.id}" id="product_page_product_id">
<input type="hidden" name="id_customization" value="{$product.id_customization}" id="product_customization_id">
{block name='product_variants'}
{include file='catalog/_partials/product-variants.tpl'}
{/block}
{block name='product_pack'}
{if $packItems}
<section class="product-pack">
<p class="h4">{l s='This pack contains' d='Shop.Theme.Catalog'}</p>
{foreach from=$packItems item="product_pack"}
{block name='product_miniature'}
{include file='catalog/_partials/miniatures/pack-product.tpl' product=$product_pack showPackProductsPrice=$product.show_price}
{/block}
{/foreach}
</section>
{/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_additional_info'}
{include file='catalog/_partials/product-additional-info.tpl'}
{/block}
{* Input to refresh product HTML removed, block kept for compatibility with themes *}
{block name='product_refresh'}{/block}
</form>
{/block}
</div>
{block name='hook_display_reassurance'}
{hook h='displayReassurance'}
{/block}
{block name='product_tabs'}
<div class="tabs">
<ul class="nav nav-tabs" role="tablist">
{if $product.description}
<li class="nav-item">
<a
class="nav-link{if $product.description} active{/if}"
data-toggle="tab"
href="#description"
role="tab"
aria-controls="description"
{if $product.description} aria-selected="true"{/if}>{l s='Description' d='Shop.Theme.Catalog'}</a>
</li>
{/if}
<li class="nav-item">
<a
class="nav-link{if !$product.description} active{/if}"
data-toggle="tab"
href="#product-details"
role="tab"
aria-controls="product-details"
{if !$product.description} aria-selected="true"{/if}>{l s='Product Details' d='Shop.Theme.Catalog'}</a>
</li>
{if $product.attachments}
<li class="nav-item">
<a
class="nav-link"
data-toggle="tab"
href="#attachments"
role="tab"
aria-controls="attachments">{l s='Attachments' d='Shop.Theme.Catalog'}</a>
</li>
{/if}
{foreach from=$product.extraContent item=extra key=extraKey}
<li class="nav-item">
<a
class="nav-link"
data-toggle="tab"
href="#extra-{$extraKey}"
role="tab"
aria-controls="extra-{$extraKey}">{$extra.title}</a>
</li>
{/foreach}
</ul>
<div class="tab-content" id="tab-content">
<div class="tab-pane fade in{if $product.description} active{/if}" id="description" role="tabpanel">
{block name='product_description'}
<div class="product-description">{$product.description nofilter}</div>
{/block}
</div>
{block name='product_details'}
{include file='catalog/_partials/product-details.tpl'}
{/block}
{block name='product_attachments'}
{if $product.attachments}
<div class="tab-pane fade in" id="attachments" role="tabpanel">
<section class="product-attachments">
<p class="h5 text-uppercase">{l s='Download' d='Shop.Theme.Actions'}</p>
{foreach from=$product.attachments item=attachment}
<div class="attachment">
<h4><a href="{url entity='attachment' params=['id_attachment' => $attachment.id_attachment]}">{$attachment.name}</a></h4>
<p>{$attachment.description}</p>
<a href="{url entity='attachment' params=['id_attachment' => $attachment.id_attachment]}">
{l s='Download' d='Shop.Theme.Actions'} ({$attachment.file_size_formatted})
</a>
</div>
{/foreach}
</section>
</div>
{/if}
{/block}
{foreach from=$product.extraContent item=extra key=extraKey}
<div class="tab-pane fade in {$extra.attr.class}" id="extra-{$extraKey}" role="tabpanel" {foreach $extra.attr as $key => $val} {$key}="{$val}"{/foreach}>
{$extra.content nofilter}
</div>
{/foreach}
</div>
</div>
{/block}
</div>
</div>
</div>
{block name='product_accessories'}
{if $accessories}
<section class="product-accessories clearfix">
<p class="h5 text-uppercase">{l s='You might also like' d='Shop.Theme.Catalog'}</p>
<div class="products" itemscope itemtype="http://schema.org/ItemList">
{foreach from=$accessories item="product_accessory" key="position"}
{block name='product_miniature'}
{include file='catalog/_partials/miniatures/product.tpl' product=$product_accessory position=$position}
{/block}
{/foreach}
</div>
</section>
{/if}
{/block}
{block name='product_footer'}
{hook h='displayFooterProduct' product=$product category=$category}
{/block}
{block name='product_images_modal'}
{include file='catalog/_partials/product-images-modal.tpl'}
{/block}
{block name='page_footer_container'}
<footer class="page-footer">
{block name='page_footer'}
<!-- Footer content -->
{/block}
</footer>
{/block}
</section>
{/block}

View File

@@ -0,0 +1,29 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2017 PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{extends file='catalog/brands.tpl'}
{block name='brand_header'}
<h1>{l s='Suppliers' d='Shop.Theme.Catalog'}</h1>
{/block}