Results 1 to 9 of 9
  1. #1
    Join Date
    Aug 2007
    Posts
    77
    Plugin Contributions
    0

    Default How do I add a percentage to shipping rates?

    I would like to add basically my state tax to all shipping rates since when I ship the items I will be paying the local/state tax. How would I include a flat percentage to all shipping charges based on the shipping amount for each order? Thanks!

  2. #2
    Join Date
    Aug 2007
    Posts
    77
    Plugin Contributions
    0

    Default Re: How do you add a percentage to shipping rates?

    Bump!!!!!!!!

  3. #3
    Join Date
    Mar 2009
    Posts
    89
    Plugin Contributions
    0

    Default Re: How do you add a percentage to shipping rates?

    you can set the shipping to include taxes automatically. have a look though the tutorials for how to do this, it's just a setting in the admin.

    The other alternative would of course be to add the tax to the shipping manually when you configured your shipping module

  4. #4
    Join Date
    Aug 2007
    Posts
    77
    Plugin Contributions
    0

    Default Re: How do you add a percentage to shipping rates?

    Thanks. Not sure where to look. Basically I just need to include a tax percentage to all shipping prices without the order indicating the shopper was taxed, maybe just a flat fee percentage added based on SHIPPING prices? Anything additional? Thanks!

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

    Default Re: How do you add a percentage to shipping rates?

    What shipping methods are you using?
    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!

  6. #6
    Join Date
    Aug 2007
    Posts
    77
    Plugin Contributions
    0

    Default Re: How do you add a percentage to shipping rates?

    Quote Originally Posted by Ajeh View Post
    What shipping methods are you using?

    The USPS and UPS mods, payment mod is Paypal. Basically I want to make sure that I charge my state and local tax on shipping so that when I go to ship the items I don't lose money. A flat percentage ONLY on the shipping charges would be good also, but I don't know how to do that... I don't want the percentage or "tax" on the items purchased, just the shipping portion...

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

    Default Re: How do you add a percentage to shipping rates?

    Edit the two shipping modules and below the line:
    Code:
              $cost = preg_replace('/[^0-9.]/', '',  $cost);
    and add to the $cost your percentage ...
    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!

  8. #8
    Join Date
    Aug 2007
    Posts
    77
    Plugin Contributions
    0

    Default Re: How do you add a percentage to shipping rates?

    Quote Originally Posted by Ajeh View Post
    Edit the two shipping modules and below the line:
    Code:
              $cost = preg_replace('/[^0-9.]/', '',  $cost + 10%);
    and add to the $cost your percentage ...

    So, if my tax amount is 10% I would code it like above? Thanks.

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

    Default Re: How do you add a percentage to shipping rates?

    No ... you need to add the custom code UNDER that line with something like:
    $cost = $cost * 1.10;
    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. Shipping problem with combination of Table rates and Percentage
    By nesum18 in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 11 May 2013, 04:06 AM
  2. v138a how to add price discount percentage by a category?
    By hmdnawaz in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 30 Mar 2012, 03:47 PM
  3. Shipping rates by percentage
    By Nick1973 in forum General Questions
    Replies: 0
    Last Post: 22 Jul 2011, 12:20 PM
  4. How do I set up Shipping rates based on percentage surcharge?
    By jisul in forum Addon Shipping Modules
    Replies: 1
    Last Post: 15 May 2010, 07:36 PM
  5. Replies: 5
    Last Post: 8 Apr 2009, 08:04 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