Zen Follower
- Join Date:
- Mar 2004
- Location:
- Finland
- Posts:
- 435
- Plugin Contributions:
- 1
Shipping tax not included in step 3
Hi,
I've ran into a problem...
a shop I'm parsing together for a customers has a slight problem with shipping method taxes.
The tax is shown in steps 1 and 2 of checkout, but when I go to step 3 the shipping order total no longer contains tax and the grand total of the order is also smaller than in step 1 and 2.
I've traced the problem down to ot_shipping (well it's not actually a problem in the ot_shipping module).
I see that the ot_shipping tries to use:
$GLOBALS[$module]->tax_class
which when debugged with print_r() is not set!
There is no array that matches the value of $module and thus all the tax calculation on step 3 is left undone.
the $GLOBALS[$module]->tax_class is not available in step 1 or 2 either but yet the shipping cost includes tax in these steps. Does it take the shipping cost value from elsewhere??
This happens with each shipping module I've tried, so don't think it's a problem in the actual shipping modules.
the biggest problem I always got when setting up zen cart shops is with these damn shipping/payment/ot modules. and I really think that the whole checkout system needs to be cleared up!
Working with Zen Cart since 2003 :: www.prr.fi
Author of the original Finnish language pack for Zen Cart since 2004