manitari Posted February 26, 2014 Share Posted February 26, 2014 Dear Prestashop users/admins, I face an unexpected issue in my prestashop product page. As mentioned in Title I would like to remove the More Info Button from my product page. I am new to prestashop so maybe I missunderstood the source code. After digging the source code I found how I can change the diplayed Strings. (More Details -> Περισσοτερα). Then I finally found that mytheme/product.tpl holds the button in product page. After removing that code from the product.tpl page, unfortunately nothing happens. I will be greatfull for helping me out with this. I just can't understand how it still displays the button since i removed the code. My domain: http://www.fisiokinesis.gr/zgel.html Thankfully, Ilias Lolos Link to comment Share on other sites More sharing options...
selectshop.at Posted February 26, 2014 Share Posted February 26, 2014 (edited) Remove it by hardcoding directly from your theme. File you should search/adapt: /themes/yourtheme/product.tpl. and the block description_short. Search this block and coment the line "more": <!-- left infos--> <div id="pb-left-column"> <h1>{$product->name|escape:'htmlall':'UTF-8'}</h1> {if $product->description_short OR $packItems|@count > 0} <div id="short_description_block"> {if $product->description_short} <div id="short_description_content" class="rte align_justify">{$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> --> After you saved the file clear smarty cache and browser cache. Delete browser Cache: F5 Delete smarty cache PS 1.5.latest: Advanced Parameters > Performance > clear smarty button. Delete smarty cache PS 1.4.: download this free module: http://catalogo-onlinersi.net/en/back-office-prestashop-modules/93-clear-smarty-prestashop-module.html Edited January 9, 2015 by selectshop.at (see edit history) Link to comment Share on other sites More sharing options...
manitari Posted March 6, 2014 Author Share Posted March 6, 2014 Thank you very much! I really appreciate your prompt answer! Best Regards, Ilias Lolos Link to comment Share on other sites More sharing options...
Recommended Posts