Has anyone succesfully implemented a voucher redemption scheme on their Cat 6 website?
Announcement
Collapse
No announcement yet.
Vouchers
Collapse
X
-
Yes, I did but that's called v7. Probably this can also be implemented in v6 by using referrer.pl and doing some customisation on AdjustmentTamplate.pl. I would modify the sub CalculateOrderAdjustment of AdjustmentTamplate.pl and change the lineCode:if($sKey =~ /^ORDER_ADJUST_/)
Code:my ($nStatus, $sMsg, $sReferrer) = ACTINIC::GetReferrerCookie($ENV{'HTTP_COOKIE'}); if ($sKey =~ /^ORDER_ADJUST_/ && $sReferrer eq "MyVoucher")
Please note it is just a guess and I couldn't test this in lack of time. But you can try this on your own responsibility. I hope this helps anyway.
Regards,
Comment