Hello, we have your module Cumulative discount. We would like to change this text in displayProductAdditionalInfo.tpl fro pruduct view {l s='To reach next discount level:' mod='cudi'} {$cudi.name} {l s='that will grant you' mod='cudi'} {$cudi.val}% {l s='discount' mod='cudi'} {l s='you have to spend' mod='cudi'} {Tools::displayPrice(($cudi.amount_left), $ps_currency_default)}
{$logged_cudi_contents nofilter}to text for customer (example) - Your current dicount is 10%. Can you help me with the code? Thank you
Hello,
try to use this code:
{l s='Your current discount is:' mod='cudi'}: {Group::getCurrent()->reduction}%
it should display text you expect to display on product page :)
0 comments:
Post a Comment