Post by t556 » Thu Dec 08, 2011 2:01 am

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

New member

Posts

Joined
Thu Sep 08, 2011 6:10 pm

Post by uksitebuilder » Fri Dec 09, 2011 1:48 am

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

Code: Select all

if ($this->config->get('pp_standard_total') > $total) {
extend the code

Code: Select all

if ($this->config->get('pp_standard_total') > $total || $total < 0.01) {
You must also have 'Free Checkout' enabled in admin

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom
Who is online

Users browsing this forum: No registered users and 100 guests