Page 9 of 11 FirstFirst ... 7891011 LastLast
Results 81 to 90 of 103
  1. #81
    Join Date
    Oct 2005
    Location
    Finland
    Posts
    186
    Plugin Contributions
    1

    Default Re: Shipping tax not added in order confirmation - possible bug??


  2. #82
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,227
    Plugin Contributions
    6

    red flag Re: Shipping tax not added in order confirmation - possible bug??

    Quote Originally Posted by DrByte View Post
    As an EXPERIMENT (no guarantees here with this idea), you could try the following...

    /includes/modules/checkout_process.php
    Around line 51 you'll see this section of code:
    Code:
    // load the selected shipping module
    require(DIR_WS_CLASSES . 'shipping.php');
    $shipping_modules = new shipping($_SESSION['shipping']);
    
    require(DIR_WS_CLASSES . 'order.php');
    $order = new order;
    Try moving the shipping-module part down a few lines, like this:
    Code:
    // 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']);
    
    Note: ZC v155b includes this fix:
    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

  3. #83
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,574
    Plugin Contributions
    88

    Default Re: Shipping tax not added in order confirmation - possible bug??

    @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.

  4. #84
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,227
    Plugin Contributions
    6

    red flag Re: Shipping tax not added in order confirmation - possible bug??

    Quote Originally Posted by lat9 View Post
    @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.
    No definitely no override file.
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

  5. #85
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,227
    Plugin Contributions
    6

    red flag Re: Shipping tax not added in order confirmation - possible bug??

    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

  6. #86
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,379
    Plugin Contributions
    9

    Default Re: Shipping tax not added in order confirmation - possible bug??

    Quote Originally Posted by Nick1973 View Post
    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:

    PHP Code:
    // 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']); 
    So has this actually fixed your issue??

  7. #87
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,227
    Plugin Contributions
    6

    Default Re: Shipping tax not added in order confirmation - possible bug??

    Quote Originally Posted by frank18 View Post
    So has this actually fixed your issue??
    Not sure yet, I am waiting for an order at the moment. I will try and test it shortly though. I realised after that my SSL was out of date on my site so you may have got a security error.
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

  8. #88
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,227
    Plugin Contributions
    6

    Default Re: Shipping tax not added in order confirmation - possible bug??

    Quote Originally Posted by Nick1973 View Post
    Not sure yet, I am waiting for an order at the moment. I will try and test it shortly though. I realised after that my SSL was out of date on my site so you may have got a security error.

    SSL now fixed so you should be able to get to the attachments.
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

  9. #89
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,227
    Plugin Contributions
    6

    Default Re: Shipping tax not added in order confirmation - possible bug??

    Quote Originally Posted by Nick1973 View Post
    SSL now fixed so you should be able to get to the attachments.
    Ok even after making the change as stated by Dr Byte and switching the table rate modules off then back on, VAT is still not being charged on delivery.
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

  10. #90
    Join Date
    Jul 2012
    Posts
    16,740
    Plugin Contributions
    17

    Default Re: Shipping tax not added in order confirmation - possible bug??

    Quote Originally Posted by Nick1973 View Post
    Ok even after making the change as stated by Dr Byte and switching the table rate modules off then back on, VAT is still not being charged on delivery.
    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...

 

 
Page 9 of 11 FirstFirst ... 7891011 LastLast

Similar Threads

  1. Can not get tax to be added to order total
    By harleyhar in forum General Questions
    Replies: 1
    Last Post: 28 Jul 2011, 12:10 AM
  2. Tax not being added to shipping
    By hamid84 in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 4
    Last Post: 13 Nov 2010, 11:22 PM
  3. Sales tax not being added to order
    By danilyn22 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 29 Oct 2009, 07:12 PM
  4. bug in Canada Post shipping module? - no tax added
    By ptalindstrom in forum Addon Shipping Modules
    Replies: 4
    Last Post: 14 Jan 2008, 10:31 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR