diff --git a/themes/ayon/templates/catalog/product.tpl b/themes/ayon/templates/catalog/product.tpl index d6f1f36..7c4c589 100644 --- a/themes/ayon/templates/catalog/product.tpl +++ b/themes/ayon/templates/catalog/product.tpl @@ -48,63 +48,496 @@ {/if} {/block} -{block name='content'} +{if $smarty.server.REMOTE_ADDR != '193.243.155.179'} + {block name='content'} -
- - - - {if isset($product.isbn)}{/if} +
+ + + + {if isset($product.isbn)}{/if} -
+
- {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'} -

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

- - {hook h='displayProductNav' product=$product} - {/block} - {/block} - -
- - {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 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'} +

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

- {$last_img = Product::getProductImages($product.link_rewrite,$product.id, $this->context)} + {hook h='displayProductNav' product=$product} + {/block} + {/block} - +
-
- -
+ {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} + +
+ + {$last_img = Product::getProductImages($product.link_rewrite,$product.id, $this->context)} + + + +
+ +
-
-
- {block name='page_content_container'} -
- {block name='page_content'} +
+
+ {block name='page_content_container'} +
+ {block name='page_content'} + {block name='product_flags'} +
    + {foreach from=$product.flags item=flag} +
  • {$flag.label}
  • + {/foreach} +
+ {/block} + +
+ {block name='product_cover_thumbnails'} + {include file='catalog/_partials/product-cover-thumbnails.tpl'} + {/block} +
+ + {/block} +
+ {/block} +
+
+
+ + {if isset($nb_comments) && $nb_comments > 0} +
+ {include file='module:productcomments/views/templates/hook/average-grade-stars.tpl' grade=$average_grade} + {l s='%s'|sprintf:$nbComments mod='productcomments'} {if isset($nbComments) && $nbComments == 1}{l s='Review'}{else}{l s='Reviews'}{/if} + +
+ + +
+
+ {/if} + + {widget name='productcomments' hook='displayProductExtraContent'} + +
+ + + {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} + +
+
+
+
+ + +
{block name='product_buy'}{*
ZAPISZ
*} +
+ + + + + + + + + + + + + + + +
+
+

Konfigurator

+

Dopasuj tapetę do swoich potrzeb

+
+
+ + {$product_variant_mode = 1} + + + + + {block name='product_variants'} + {include file='catalog/_partials/product-variants.tpl'} + {/block} + +
+
+

3.

+
+
+ + {* *} +
+
+ {*

Odbicie
lustrzane

*} +

Odbicie lustrzane

+
+
+ +
+
+

4.

+
+
+ +
+
+

Wariant kolorystyczny

+
+
+ + {*
+
+
+
+

Cena

+

+ +
+
+
*} + {* {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} *} +
+
+ +
+ {$product_variant_mode = 2} + + {block name='product_variants'} + {include file='catalog/_partials/product-variants.tpl'} + {/block} +
+ +
+
+
+ {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} +
+
+
+ + {* {$product_variant_mode = 2} + {block name='product_variants'} + {include file='catalog/_partials/product-variants.tpl'} + {/block} *} +
+ + {/block} +
+ + {if in_array(6,Product::getProductCategories($product->id|intval))} +
Stwórz wzór tapety
+ {/if} + + + {block name='product_tabs'} +
+
+ + +
+
+ {block name='product_description'} +
{$product.description nofilter}
+ {/block} +
+ + {block name='product_details'} + {include file='catalog/_partials/product-details.tpl'} + {/block} + + {block name='product_attachments'} + {if $product.attachments} +
+
+

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

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

{$attachment.name}

+

{$attachment.description}

+ {l s='Download' d='Shop.Theme.Actions'} ({$attachment.file_size_formatted}) + +
+ {/foreach} +
+
+ {/if} + {/block} + + {foreach from=$product.extraContent item=extra key=extraKey} +
$val} {$key}="{$val}"{/foreach}> + {$extra.content nofilter} +
+ {/foreach} +
+ +
+
+ {/block} + + {hook h='displayProductBeforeBuy' mod='roy_content'} + + + {block name='product_accessories'} + {if $accessories} + + {/if} + {/block} + + Pobierz instrukcję PDF + + {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} +
+ + {block name='page_footer_container'} +
+ {block name='page_footer'} + + {/block} +
+ {/block} + + + + + +
+ + + {/block} +{else} + {block name='content'} +
+ + + + {if isset($product.isbn)}{/if} + +
+ {if isset($roythemes.b_pos_pro) && $roythemes.b_pos_pro == "2"} + {block name='breadcrumb'} + {include file='_partials/breadcrumb.tpl'} + {/block} + {/if} + +
+
+
{block name='product_flags'}
    {foreach from=$product.flags item=flag} @@ -114,410 +547,85 @@ {/block}
    - {block name='product_cover_thumbnails'} - {include file='catalog/_partials/product-cover-thumbnails.tpl'} + {block name='product_cover_thumbnails'} + {include file='catalog/_partials/product-cover-thumbnails.tpl'} + {/block} +
    +
+
+
+ {block name='page_header_container'} + {block name='page_header'} +

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

+ {hook h='displayProductNav' product=$product} {/block} -
- {/block} -
- {/block} - -
-
- {if isset($nb_comments) && $nb_comments > 0} -
- {include file='module:productcomments/views/templates/hook/average-grade-stars.tpl' grade=$average_grade} - {l s='%s'|sprintf:$nbComments mod='productcomments'} {if isset($nbComments) && $nbComments == 1}{l s='Review'}{else}{l s='Reviews'}{/if} - -
- - + {block name='product_description'} + {if $product.description} +
+

{l s='Description' d='Shop.Theme.Catalog'}

+
{$product.description nofilter}
-
- {/if} - - {widget name='productcomments' hook='displayProductExtraContent'} - -
- - - {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} - -
-
-
-
- - -
{block name='product_buy'}{*
ZAPISZ
*} -
- - - - - - - - - - - - - - - -
-
-

Konfigurator

-

Dopasuj tapetę do swoich potrzeb

-
-
- - {$product_variant_mode = 1} - - - - - {block name='product_variants'} - {include file='catalog/_partials/product-variants.tpl'} - {/block} - -
-
-

3.

-
-
- - {* *} -
-
- {*

Odbicie
lustrzane

*} -

Odbicie lustrzane

-
-
- -
-
-

4.

-
-
- -
-
-

Wariant kolorystyczny

-
-
- - {*
-
-
-
-

Cena

-

- -
-
-
*} - {* {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} *} -
-
- -
- {$product_variant_mode = 2} - - {block name='product_variants'} - {include file='catalog/_partials/product-variants.tpl'} - {/block} -
- -
-
-
- {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 name='product_config_info'} +
+

Skonfiguruj tapetę do wymiarów swojej ściany

+

Przed dodaniem do koszyka dopasuj tapetę do wymiarów swojej ściany. Nasz konfigurator pozwala na dostosowanie wymiarów i kolorystyki tapety.

+
+ {/block} + {block name='product_price'} +
+

Cena

+
+ {block name='product_prices'} + {include file='catalog/_partials/product-prices.tpl'} + {/block} + {block name='product_discounts'} + {include file='catalog/_partials/product-discounts.tpl'} + {/block} +
+ +
+ {/block} + + {block name='product_variants'} +
+

Wybierz wersję kolorystyczną

+ {include file='catalog/_partials/product-variants.tpl'} +
+ {/block} + + {block name='product_size'} + + {/block} + + {block name='product_texture'} + + + {$product_variant_mode = 1} + + {block name='product_variants'} + {include file='catalog/_partials/product-variants.tpl'} + {/block} {/block}
- - {* {$product_variant_mode = 2} - {block name='product_variants'} - {include file='catalog/_partials/product-variants.tpl'} - {/block} *} -
- - {/block} -
- - {if in_array(6,Product::getProductCategories($product->id|intval))} -
Stwórz wzór tapety
- {/if} - - - {block name='product_tabs'} -
-
- - -
-
- {block name='product_description'} -
{$product.description nofilter}
- {/block} -
- - {block name='product_details'} - {include file='catalog/_partials/product-details.tpl'} - {/block} - - {block name='product_attachments'} - {if $product.attachments} -
-
-

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

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

{$attachment.name}

-

{$attachment.description}

- {l s='Download' d='Shop.Theme.Actions'} ({$attachment.file_size_formatted}) - -
- {/foreach} -
-
- {/if} - {/block} - - {foreach from=$product.extraContent item=extra key=extraKey} -
$val} {$key}="{$val}"{/foreach}> - {$extra.content nofilter} -
- {/foreach} -
- -
-
+
{/block} - - {hook h='displayProductBeforeBuy' mod='roy_content'} - - - {block name='product_accessories'} - {if $accessories} - - {/if} - {/block} - - Pobierz instrukcję PDF - - {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} - - - {block name='page_footer_container'} - - {/block} - - - - - - - - -{/block} - +{/if}