Page 7 of 9 FirstFirst ... 56789 LastLast
Results 61 to 70 of 81
  1. #61
    Join Date
    Apr 2007
    Location
    Vancouver, Canada
    Posts
    1,565
    Plugin Contributions
    71

    Default Re: SplitTaxLines mod support thread

    The error only occurs if MORE than 1 item is added to the cart. I know my latest version of CTE is good so I will release it publicly. Hopefully alan can fix this major bug in STL.

  2. #62
    Join Date
    Apr 2007
    Location
    Vancouver, Canada
    Posts
    1,565
    Plugin Contributions
    71

    Default Re: SplitTaxLines mod support thread

    There error in the code is coming from includes/classes/order.php:

    PHP Code:
          if (isset($this->info['tax_groups'][$products_tax_description[$tax_entry_description]])) {
            
    $this->info['tax_groups'][$tax_entry_description] += $tax_add;
          } else {
            
    $this->info['tax_groups'][$tax_entry_description] = $tax_add;
          } 
    Specifically...

    PHP Code:
          if (isset($this->info['tax_groups'][$products_tax_description[$tax_entry_description]])) { 
    ...is always returning false and therefore the tax_groups value is always going to be the tax_add of the last product. Adding += to both lines makes it work, but it would be better to have the line above returning true.

  3. #63
    Join Date
    Apr 2007
    Location
    Vancouver, Canada
    Posts
    1,565
    Plugin Contributions
    71

    Default Re: SplitTaxLines mod support thread

    Change that line to:

    PHP Code:
    if (isset($this->info['tax_groups'][$tax_entry_description])) { 
    And the issue appears to be solved for the order_total, but I will have to look at the shipping next...

  4. #64
    Join Date
    Apr 2007
    Location
    Vancouver, Canada
    Posts
    1,565
    Plugin Contributions
    71

    Default Re: SplitTaxLines mod support thread

    The shipping looks fine. Just change line 578 to the line I've put above and all issues will be solved. The newest version of CTE is available at http://www.numinix.com and has also been uploaded to the Zen Cart downloads section and should be active soon.

    I'll leave it up to alan to OFFICIALLY update his module with the fix.

  5. #65
    Join Date
    Nov 2007
    Posts
    31
    Plugin Contributions
    1

    Default Re: SplitTaxLines mod support thread

    Wow numinix, you've been busy this weekend!

    I'll have a look at your proposed bugfix today and release an updated STL asap.

    I'm happy someone stepped up and supported you in making the necessary changes to CTE so that it plays nicely with STL. Thanks (to them, and to you) for extending that effort to STL in the form of this bugfix.

    Alan

  6. #66
    Join Date
    Apr 2007
    Location
    Vancouver, Canada
    Posts
    1,565
    Plugin Contributions
    71

    Default Re: SplitTaxLines mod support thread

    NP Alan. I hope that Zen Cart incorporates the split tax lines module into the Zen Cart core as apparently Canadian retailers must legally display GST and PST on seperate lines. Hopefully DrByte, a fellow Canadian, can understand this legal obligation.

  7. #67
    Join Date
    Nov 2007
    Posts
    31
    Plugin Contributions
    1

    Default Re: SplitTaxLines mod support thread

    Hi All,
    As promised, an updated SplitTaxLines package has been uploaded to the Zen-Cart downloads area and should be available soon. EVERYONE who is using STL on zen-cart 1.3.8 should either:

    - download and install the new package ( STL v1.11 for zc 1.3.8)

    or

    - make the single change as suggested by numinix above. (well spotted, numinix!)
    change:
    Code:
     if (isset($this->info['tax_groups'][$products_tax_description[$tax_entry_description]])) {
    to:
    Code:
     if (isset($this->info['tax_groups'][$tax_entry_description])) {
    Folks using zc1.3.7.1 can ignore this message. Just a reminder, STLv1.01 is the most recent version for 1.3.7.1-based carts.

    Enjoy!
    Alan

  8. #68
    Join Date
    Feb 2007
    Location
    Ontario, Canada
    Posts
    36
    Plugin Contributions
    0

    Default Re: SplitTaxLines mod support thread

    Does anyone using this mod have PayPal Express Checkout enabled on their account? My customers are unable to complete the checkout process with the SplitTaxLines set to true.

    Colleen

  9. #69
    Join Date
    Nov 2007
    Posts
    31
    Plugin Contributions
    1

    Default Re: SplitTaxLines mod support thread

    Quote Originally Posted by MsHutch View Post
    Does anyone using this mod have PayPal Express Checkout enabled on their account? My customers are unable to complete the checkout process with the SplitTaxLines set to true.

    Colleen
    Hi Colleen,
    I have never tried STL with PayPalExpress so I'm afraid I don't have any quick help for you. Can you tell me a little more about the issue? At what point does the checkout process fail, and what is the failure? Is STL working well for your other customers (ie. customers not using PPE)? Hopefully we can narrow it down and find a solution.

    Alan

  10. #70
    Join Date
    Feb 2007
    Location
    Ontario, Canada
    Posts
    36
    Plugin Contributions
    0

    Default Re: SplitTaxLines mod support thread

    Hi Alan,

    The actual error I get is

    Code:
    PHP Fatal error:  Unsupported operand types in /home/hutch5/public_html/bayviewlaserengraving/includes/functions/functions_taxes.php on line 176
    This occurs at the final stage of checkout. Everything works great when other payment methods are used, like check/money order.

    Thank you again for your time,

    Colleen

 

 
Page 7 of 9 FirstFirst ... 56789 LastLast

Similar Threads

  1. How Did You Hear About Us? Referrals Mod [Support Thread]
    By martyndw2005 in forum All Other Contributions/Addons
    Replies: 364
    Last Post: 30 Mar 2026, 02:40 PM
  2. Local Sales Tax Mod - Support Thread
    By LadyHLG in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 658
    Last Post: 22 Dec 2025, 05:29 PM
  3. v154 Mod List Support Thread
    By swguy in forum Addon Admin Tools
    Replies: 51
    Last Post: 31 Dec 2023, 12:13 PM
  4. Multi Cross Sell mod [Support thread]
    By gilby in forum All Other Contributions/Addons
    Replies: 475
    Last Post: 11 Apr 2020, 10:44 PM
  5. Just another Cross-Sell mod (support thread)
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 702
    Last Post: 3 Nov 2012, 04:30 AM

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