diff --git a/templates/catalog/product.tpl b/templates/catalog/product.tpl index bad319d..976f1d1 100644 --- a/templates/catalog/product.tpl +++ b/templates/catalog/product.tpl @@ -66,10 +66,15 @@ {/block} {/block} -
+
{block name='page_header_container'} {block name='page_header'} -

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

+
+

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

+ {if $product.description_short} + {$product.description_short nofilter} + {/if} +
{/block} {/block} {block name='product_prices'} @@ -77,9 +82,6 @@ {/block}
- {block name='product_description_short'} - {/block} - {if $product.is_customizable && count($product.customizations.fields)} {block name='product_customization'} {include file="catalog/_partials/product-customization.tpl" customizations=$product.customizations} @@ -114,14 +116,14 @@ {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} + {block name='product_add_to_cart'} + {include file='catalog/_partials/product-add-to-cart.tpl'} + {/block} + {* Input to refresh product HTML removed, block kept for compatibility with themes *} {block name='product_refresh'}{/block} @@ -134,86 +136,13 @@ {/block} {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} -
+
+

+ Description +

+ {block name='product_details'} + {include file='catalog/_partials/product-details.tpl'} + {/block}
{/block}