Results 1 to 10 of 103

Threaded View

  1. #21
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

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

    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
    Last edited by DrByte; 15 Jul 2016 at 03:57 AM. Reason: Note: ZC v155b will include this fix
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

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