Administrator
- Join Date:
- Feb 2006
- Location:
- Tampa Bay, Florida
- Posts:
- 10,751
- Plugin Contributions:
- 56
SOLVED: 100% coupon on download still keeps order pending
If you have set configuration->GV Coupons->Default Order Status For Zero Balance Orders to Processing, but your download orders still stay at Pending, this may help:
In 1.3.8 and 1.3.9, orders with sales tax which are reduced to 0 through a coupon still have a tiny non-zero value in their order total, so the following check in includes/classes/order.php fails:
if ($this->info['total'] == 0) {
this is on line 568 in 1.3.9h and line 554 in 1.3.8a.
change this to
if ($this->info['total'] < 0.01) {
and it will work.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.