What's New
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic.
Hi,
Currently the product details tab is mainly used to show product features.
Why do not you put that to the description tab? You are the second one who wants to put custom content to the details tab.
You can use the Custom content block module to create custom tabs for each product, do you know that.
Regards
The questionis not about description, it’s about showing it in the details tab in the table, where all the properties and attributes depicted. The information needs contained in the product characteristics for logistics and different for all the products and it’s only one string, that’s why the custom content tab is not suitable.
I’ve done it by pasting the code into product-details.tpl (//public_html/themes/panda/templates/catalog/_partials/)
<dl class=”data-sheet flex_container”>
<dt class=”name”>{l s=’Dimentions’}</dt>
<dd class=”value flex_child”>
{if $product.width}
{number_format($product.width, 1)} {else} {l s=’-‘}
{/if}
{if $product.height}
x {number_format($product.height, 1)} {else} {l s=’ x -‘}
{/if}
{if $product.depth>0}
x {number_format($product.depth, 1)} {else} {l s=’ x -‘}
{/if}
</dd>
</dl>
Just after:
<section class=”product-features”>
<h3 class=”page_heading”>{l s=’Data sheet’ d=’Shop.Theme.Catalog’}</h3>
Now the dimensions showed in the Product Details Tab table.
You must be logged in to reply to this topic.