innocuous Posted November 9, 2012 Share Posted November 9, 2012 PS 1.5.2 default theme. I have configured referral program module to as shown in attachment. However when a user clicks on my referral to recommend to friends, they are shown Get a discount of 0 for you and your friends by recommending this Website. It's quick and it's easy. Just fill in the first name, last name, and e-mail address(es) of your friend(s) in the fields below. When one of them makes at least 1 order , he or she will receive a 0 voucher and you will receive your own voucher worth 0. ---- See attached screenshot. How do I fix this? 1 Link to comment Share on other sites More sharing options...
mohitrevai Posted February 6, 2013 Share Posted February 6, 2013 i have similar problem... any suggestion??? Link to comment Share on other sites More sharing options...
maars11 Posted May 18, 2013 Share Posted May 18, 2013 Same problem here but no solution posted till date Link to comment Share on other sites More sharing options...
cjrent Posted September 6, 2013 Share Posted September 6, 2013 This is happening for me too when I enter a fixed value. If I do a percentage a number shows up but it doesn't let the customer know that it is a percentage. Get a discount of 5 for you and your friends by recommending this Website. It's quick and it's easy. Just fill in the first name, last name, and e-mail address(es) of your friend(s) in the fields below. When one of them makes at least 1 order , he or she will receive a 5 voucher and you will receive your own voucher worth 5. if I put in a fixed value I get Get a discount of 0 for you and your friends by recommending this Website. It's quick and it's easy. Just fill in the first name, last name, and e-mail address(es) of your friend(s) in the fields below. When one of them makes at least 1 order , he or she will receive a 0 voucher and you will receive your own voucher worth 0. I think it has to do with modules/referralprogram/controllers/front/program.phpBut I cannot see where the problem lies. // get discount value (ready to display) $discount_type = (int)(Configuration::get('REFERRAL_DISCOUNT_TYPE')); if ($discount_type == 1) $discount = Discount::display((float)(Configuration::get('REFERRAL_PERCENTAGE')), $discount_type, new Currency($this->context->currency->id)); else $discount = Discount::display((float)(Configuration::get('REFERRAL_DISCOUNT_VALUE_'.(int)($this->context->currency->id))), $discount_type, new Currency($this->context->currency->id)); $activeTab = 'sponsor'; $error = false; Link to comment Share on other sites More sharing options...
cjrent Posted September 6, 2013 Share Posted September 6, 2013 Or can it be this: modules/referralproram/views/templates/front/program.tpl <div id="idTab1"> <p class="bold"> <strong>{l s='Get a discount of %d for you and your friends by recommending this Website.' sprintf=$discount mod='referralprogram'}</strong> </p> {if $canSendInvitations} <p> {l s='It\'s quick and it\'s easy. Just fill in the first name, last name, and e-mail address(es) of your friend(s) in the fields below.' mod='referralprogram'} {if $orderQuantity > 1} {l s='When one of them makes at least %d orders' sprintf=$orderQuantity mod='referralprogram'} {else} {l s='When one of them makes at least %d order' sprintf=$orderQuantity mod='referralprogram'} {/if}, {l s='he or she will receive a %1$d voucher and you will receive your own voucher worth %2$d.' sprintf=[$discount,$discount] mod='referralprogram'} </p> Link to comment Share on other sites More sharing options...
claybourg Posted November 7, 2013 Share Posted November 7, 2013 Is there a fix for this problem yet. The issue persists in 1.5.6 it seems, as it is the module is useless. Link to comment Share on other sites More sharing options...
Recommended Posts