Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    9,199
    Plugin Contributions
    72

    Default Admin orders: Prices inc/ex tax

    The description of the setting Configuration->My Store->Display Prices with Tax in Admin (DISPLAY_PRICE_WITH_TAX_ADMIN) reads:
    Code:
    Display prices with tax included (true) or add the tax at the end (false) in Admin(Invoices)
    but it's far more reaching than just the invoices. The function zen_add_tax (present in general.php) determines whether or not to add the tax based on this setting and that function is used in the admin-level base order processing (details, invoices and packingslips) as well as some plugins that have followed the lead of the /admin/orders.php.

    Anyway, with that configuration value set to false, one result is that when the order's details display of the purchased products, the value for a product's price (inc) and (ex) tax are equal because the tax is being added ... nowhere (well, other than the order-total itself).

    Was this side-effect intentional?

  2. #2
    Join Date
    Jun 2003
    Location
    Newcastle UK
    Posts
    2,879
    Blog Entries
    2
    Plugin Contributions
    2

    Default Re: Admin orders: Prices inc/ex tax

    Hi

    I wouldn't classify it a intentional :)
    More unintentional but 'so what for now'

    I don't doubt that we could do better in terms of the display, especially having worked on a UK site that sells to both B2B and B2C customers (In the UK for B2B you have to DISPLAY_PRICE_WITH_TAX and not for B2C) which is a challenge.

    Any suggestions are welcome.

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    9,199
    Plugin Contributions
    72

    Default Re: Admin orders: Prices inc/ex tax

    wilt, I agree with your "so what" assessment. I brought it up only because a client pointed it out and the display didn't look "proper".

    I'd suggest that a script should not use the zen_add_tax function if a value is supposed to display with tax unconditionally. My feeling is that this applies to the /admin/orders.php handling (based on the inc/ex column titles) and invoice/packingslip outputs.

 

 

Similar Threads

  1. v151 Price inc VAT not working on orders in admin
    By kitcorsa in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 7
    Last Post: 5 Aug 2014, 04:34 PM
  2. Replies: 2
    Last Post: 24 Oct 2012, 03:34 PM
  3. How to Uninstall?: Display Inc/Ex Tax or VAT Prices, Created by Andrew Moore?
    By omerhanif in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 12 Oct 2010, 08:53 PM
  4. Prices inc tax in admin price manager
    By nsanford in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 3
    Last Post: 12 Mar 2009, 12:09 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