Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2009
    Location
    France
    Posts
    26
    Plugin Contributions
    0

    Default Display tax percentage rate

    Is there any method of showing the actual % percentage rate charged on the checkout pages and, ideally, on the invoice?

    The reason is that I've altered functions_taxes.php to calculate tax on a customer specific basis, with a couple of new fields in the customers table (modified Tax Exempt mod).

    The answer (I think) lies somewhere in the function zen_get_tax_description, but I've got stuck...

    I've been working with the idea that I need to put the tax_rate into an array of $_SESSION in function zen_get_tax_rate, and pick it up again in zen_get_tax_description... But not too sure how.

    Anyone?!

    Am I on the right track, at least?

  2. #2
    Join Date
    Nov 2009
    Location
    France
    Posts
    26
    Plugin Contributions
    0

    Default Re: Display tax percentage rate

    I wish I could delete posts after I've submitted them...

    Have found the answer is to replace several entries of:

    PHP Code:
    return $tax_description
    with

    PHP Code:
    return $tax_description ' ' '@ ' zen_get_tax_rate (1) . '%'
    in the function zen_get_tax_description.

    Note - Obviously, this whole business of setting tax rates for individual customers only works when all products are taxed the same.

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Display tax percentage rate

    But think how many people you have helped by not being able to delete your post and for having posted the solution that worked for you ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. Display tax rate on every product?
    By imagino in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 0
    Last Post: 10 Mar 2010, 10:52 PM
  2. Percentage and Flat Rate
    By bigredthelogger in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 29 Oct 2009, 04:25 AM
  3. Percentage with Minimum Shipping Rate
    By pwood31 in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 26 Mar 2008, 08:53 PM
  4. Percentage or Flat rate shipping whichever is greater
    By PTBARR in forum Built-in Shipping and Payment Modules
    Replies: 6
    Last Post: 14 Nov 2007, 08:00 PM
  5. add percentage to table rate
    By CnTGifts in forum Addon Shipping Modules
    Replies: 0
    Last Post: 3 Jul 2007, 04:53 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