Jump to content

Translation in Cart - More than 1?


Recommended Posts

Hi Prestashop Forum,

 

I have translated the cart module from 'quantity' to 'hours' however, I would prefer this to be for one product only, with another product, I'd like it to remain as quantity.

 

Anyway to do this?

 

Thanks As Always!  :rolleyes:

Link to comment
Share on other sites

well no, translations are valid for all products. You might be able to achieve something by editing the tpl file, like

 

{if $product.id_product == xx}{l s='Hours' mod='blockcart'}{else}{l s='Quantity mod='blockcart'}{/if}

Link to comment
Share on other sites

×
×
  • Create New...