Jump to content

[SOLVED] modify homefeature?


Recommended Posts

The Homefeatured module is a core module. So when you upgrade prestashop (tiresome process btw) then all your customizations will get overwritten.
Thats why it is better to copy the whole module to your THEME and change the .tpl file there.
This will only work for the .tpl files btw

Link to comment
Share on other sites

Here is a tip.
Find the file called homefeatured.tpl in Modules > Homefeatured (using FTP)
Change the lines starting from line nr 18:
OLD CODE

{if !$priceDisplay || $priceDisplay == 2}
{convertPrice price=$product.price}{if $priceDisplay == 2} {l s='+Tx' mod='homefeatured'}{/if}{/if}



NEW CODE

{if !$priceDisplay || $priceDisplay == 2}
{convertPrice price=$product.price}
{l s='Or 3x times:' mod='homefeatured'}{convertPrice price=$product.price/3}{if $priceDisplay == 2} {l s='+Tx' mod='homefeatured'}{/if}{/if}



If you want to have more terms (now it is 3) then change the code.
you can change the translation in the backend for this module.

Link to comment
Share on other sites

×
×
  • Create New...