Mreco Posted August 8, 2015 Share Posted August 8, 2015 Witam. W jaki sposób włączyć krótki opis w karcie produktu w szablonie ? W jakich plikach trzeba dokonać zmian ? Link to comment Share on other sites More sharing options...
0 Yabber Posted August 9, 2015 Share Posted August 9, 2015 W produkt.tpl sprawdź, czy div o id="short_description_content" nie jest zakomentowany, albo całkiem wywalony. Może być też przez css wygaszony. Bez wglądu na stronę trudno to telepatycznie wywróżyć. Link to comment Share on other sites More sharing options...
0 Mreco Posted August 9, 2015 Author Share Posted August 9, 2015 Mam coś takiego: {if $product->description_short || $packItems|@count > 0} <div id="short_description_block""> {if $product->description_short} <!-- <div id="short_description_content" class="rte align_justify" {if $enable_google_rich_snippets}itemprop="description"{/if}>{$product->description_short}</div> --> {/if} {if $product->description} <p class="buttons_bottom_block"> <a href="javascript:{ldelim}{rdelim}" class="button"> {l s='More details'} </a> </p> {/if} <!--{if $packItems|@count > 0} <div class="short_description_pack"> <h3>{l s='Pack content'}</h3> {foreach from=$packItems item=packItem} <div class="pack_content"> {$packItem.pack_quantity} x <a href="{$link->getProductLink($packItem.id_product, $packItem.link_rewrite, $packItem.category)|escape:'html':'UTF-8'}">{$packItem.name|escape:'html':'UTF-8'}</a> <p>{$packItem.description_short}</p> </div> {/foreach} </div> {/if}--> </div> <!-- end short_description_block --> Link to comment Share on other sites More sharing options...
0 Yabber Posted August 9, 2015 Share Posted August 9, 2015 Czyli masz zakomentowane. Usuń <!-- i --> z diva id="short_description_content". Link to comment Share on other sites More sharing options...
0 Mreco Posted August 9, 2015 Author Share Posted August 9, 2015 Działa Dzięki wielkie Link to comment Share on other sites More sharing options...
Question
Mreco
Witam. W jaki sposób włączyć krótki opis w karcie produktu w szablonie ? W jakich plikach trzeba dokonać zmian ?
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now