xross Posted April 24, 2014 Share Posted April 24, 2014 Hi, How to put full description under short description on product page? I guess it should be changed in product.tpl but not sure what code where to put. Link to comment Share on other sites More sharing options...
dioniz Posted April 24, 2014 Share Posted April 24, 2014 Open product.tpl and find this {if $product->description} <!-- More info --> <section class="page-product-box"> <h3 class="page-product-heading">{l s='More info'}</h3>{/if} {if isset($product) && $product->description} <!-- full description --> <div class="rte">{$product->description}</div> </section> <!--end More info --> {/if} and move it just before {if ($display_qties == 1 && !$PS_CATALOG_MODE && $PS_STOCK_MANAGEMENT && $product->available_for_order)} You will probably want to remove section part and h3 part Link to comment Share on other sites More sharing options...
vekia Posted April 24, 2014 Share Posted April 24, 2014 Hi, How to put full description under short description on product page? I guess it should be changed in product.tpl but not sure what code where to put. you use default template? if so, follow dioniz suggestion. if not, let us know what theme you use Link to comment Share on other sites More sharing options...
xross Posted April 25, 2014 Author Share Posted April 25, 2014 I have a custom theme but it works great like dioniz sad. Thank you. Now need to put Features under my new full description position. Where is my full description code is I know but need to find a features code. Link to comment Share on other sites More sharing options...
vekia Posted April 25, 2014 Share Posted April 25, 2014 product.tpl code for features looks like: {if isset($features) && $features} <!-- Data sheet --> <section class="page-product-box"> <h3 class="page-product-heading">{l s='Data sheet'}</h3> <table class="table-data-sheet"> {foreach from=$features item=feature} <tr class="{cycle values="odd,even"}"> {if isset($feature.value)} <td>{$feature.name|escape:'html':'UTF-8'}</td> <td>{$feature.value|escape:'html':'UTF-8'}</td> {/if} </tr> {/foreach} </table> </section> <!--end Data sheet --> {/if} Link to comment Share on other sites More sharing options...
Recommended Posts