Note! DrByte has added the fix for v1.5.5b:
https://www.zen-cart.com/showthread....61#post1312461
-> https://github.com/zencart/zencart/pull/1034
Note! DrByte has added the fix for v1.5.5b:
https://www.zen-cart.com/showthread....61#post1312461
-> https://github.com/zencart/zencart/pull/1034
Having the same problem in 1.5.5e
I noticed the code had been moved around like this:
require(DIR_WS_CLASSES . 'order.php');
$order = new order;
// load the selected shipping module
require(DIR_WS_CLASSES . 'shipping.php');
$shipping_modules = new shipping($_SESSION['shipping']);
So I am just trying to move it in the same order as your post, like this to see if it fixes the issue.
So its like this:
// load the selected shipping module
require(DIR_WS_CLASSES . 'shipping.php');
require(DIR_WS_CLASSES . 'order.php');
$order = new order;
$shipping_modules = new shipping($_SESSION['shipping']);
Nick Smith - Venture Design and Print
https://venturedesignandprint.co.uk
@Nick1973; the change required that the order-class object be created prior to the shipping-class object ... so both the post that you reference and the code that's in the ZC 1.5.5e contain the same processing.
Make sure, too, that you don't have a template-override version of the checkout_process.php handling (i.e. /includes/modules/YOUR_TEMPLATE/checkout_process.php) that doesn't include the update.
Nick Smith - Venture Design and Print
https://venturedesignandprint.co.uk
VAT is set up using the core Zen Cart System. There aren't any plugins calculating VAT other table rate shipping.
Shipping is set up using Table Rate Clones, similar to what people have talked about in this thread.
Please see the screenshots in the zip file in this link:
https://www.ventureonlineuk.co.uk/screenshots.zip
These will help you understand how shipping has been set up in the cart.
Nick Smith - Venture Design and Print
https://venturedesignandprint.co.uk
Nick Smith - Venture Design and Print
https://venturedesignandprint.co.uk
Nick Smith - Venture Design and Print
https://venturedesignandprint.co.uk
Nick Smith - Venture Design and Print
https://venturedesignandprint.co.uk
In this thread that was started, the report was that VAT was not being calculated in the admin. Then here it was reported that operation of the store was the same as previously reported in this thread. So far, no data has been shown about what is actually happening.
Ie.
What does the order confirmation show?
What is the result in the various locations within the admin where the issue seems to appear?
During the checkout process where does the "calculation" appear incorrectly?
What payment module(s) are involved?
How has the store been otherwise modified or amplified (what files have been added or attempted to be renamed)?
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Bookmarks