Occasionally I do raffles and give someone a coupon code to allow them to get a free product from my site. The cart will show a total of $0.00 but it still brings up the paypal page and shows the full original amount. Other coupons work without a problem (fixed and percentage as long as they don't result in a 0 total). I've tried all of the fixes for coupon issues I could find on there but it still does not fix the issue.
Any thoughts?
Thanks
You can hide the paypal option if the total is zero
catalog/model/payment/pp_standard.php or any other payment module will be similar
find code similar to
extend the code
You must also have 'Free Checkout' enabled in admin
catalog/model/payment/pp_standard.php or any other payment module will be similar
find code similar to
Code: Select all
if ($this->config->get('pp_standard_total') > $total) {
Code: Select all
if ($this->config->get('pp_standard_total') > $total || $total < 0.01) {
Who is online
Users browsing this forum: No registered users and 100 guests