Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2012
    Posts
    16,718
    Plugin Contributions
    17

    Default Cart total, Tax each item or the cart?

    Was working on a modification to an existing plugin and among other things to possibly improve the plugin had noticed what seemed like a potential mistake. A module had been added in recently it seems to total the items in the cart when presented on the shopping cart; however, in review of the code to do that each item is taxed then added to the total. I thought that the goal/ideal would be to total each item, then tax the whole or apply each tax type to the group of items that meet that tax type after the cart is made full.

    So, I guess the question is this:
    should items be taxed as a group after the cart is full or should taxes be applied to each item then added to the whole?

    Seems to me that when I go to the grocery store or otherwise that the first is applicable. Input?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  2. #2
    Join Date
    Jul 2012
    Posts
    16,718
    Plugin Contributions
    17

    Default Re: Cart total, Tax each item or the cart?

    Quote Originally Posted by mc12345678 View Post
    Was working on a modification to an existing plugin and among other things to possibly improve the plugin had noticed what seemed like a potential mistake. A module had been added in recently it seems to total the items in the cart when presented on the shopping cart; however, in review of the code to do that each item is taxed then added to the total. I thought that the goal/ideal would be to total each item, then tax the whole or apply each tax type to the group of items that meet that tax type after the cart is made full.

    So, I guess the question is this:
    should items be taxed as a group after the cart is full or should taxes be applied to each item then added to the whole?

    Seems to me that when I go to the grocery store or otherwise that the first is applicable. Input?
    Is this type thing done differently in different regions? Ie, are both options "correct" but in some one is correct and in others the other is correct?

    I'm trying to make sure that the plugin which seems to have been around for a while and still functional with zC 1.5.x, is coded to address the largest possible audience; however, my experience on that side of expectation is limited to my experience as a consumer.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. giving each item an add to cart button
    By feolindo in forum Setting Up Categories, Products, Attributes
    Replies: 7
    Last Post: 14 Mar 2011, 04:23 PM
  2. list a price for each item on the shopping cart content page
    By hoang in forum Templates, Stylesheets, Page Layout
    Replies: 23
    Last Post: 16 Apr 2010, 08:17 PM
  3. Shopping Cart item and sub-total tax USD
    By DanP in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 1
    Last Post: 26 Jan 2010, 05:37 PM
  4. Line after each item in cart?
    By julieoolie in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 5 Feb 2008, 02:14 AM
  5. How can I show the attribute weight for each item in cart?
    By Fay808 in forum Templates, Stylesheets, Page Layout
    Replies: 40
    Last Post: 5 Sep 2007, 07:33 AM

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