Jump to content

 

Stephon

Member Since 13 Feb 2021
Offline Last Active Feb 16 2021 05:37 AM
-----

Posts I've Made

In Topic: Hide / Remove The Short Description Title

13 February 2021 - 04:36 AM

I'm looking to remove the title of "Short Description" from the product page, any ideas how I can do this?

 

Thanks, Dan

It might depend on how you have your products laid out, but for me I can change:

skins/your-skin/products_pages/products_avdvanced.tpl

Basically change:

{if $product.short_description || $product.full_description}
            <div class="box" style="margin-top: 5px;">
            {if $product.short_description}
                {$product.short_description}
            {else}
                {$product.full_description|strip_tags|truncate:280:"..."}{if $product.full_description|strlen > 280}<a href="{$index_script}?{$target_name}=products&product_id={$product.product_id}" class="underlined">{$lang.more_link}</a>{/if}
            {/if}
            </div>
            {/if}
To:

{*{if $product.short_description || $product.full_description}
            <div class="box" style="margin-top: 5px;">
            {if $product.short_description}
                {$product.short_description}
            {else}
                {$product.full_description|strip_tags|truncate:280:"..."}{if $product.full_description|strlen > 280}<a href="{$index_script}?{$target_name}=products&product_id={$product.product_id}" class="underlined">{$lang.more_link}</a>{/if}
            {/if}
            </div>
            {/if}*}
All you are doing is commenting out this code. I usually just comment stuff out, but I guess you could also just delete this section of code.