Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Percentage Scale based on Price Brackets

Percentage Scale based on Price Brackets

Locked

Views: 611

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
29 Sep 2009, 1:39 PM
#1
glowkat avatar

glowkat

New Zenner

Join Date:
Sep 2009
Posts:
2
Plugin Contributions:
0

Percentage Scale based on Price Brackets

I'm really hoping someone can help me with this as I'm tearing my hair out trying to find the answer (that works). I need to set up shipping as a percentage scale based on the total price of the order as follows:

0 to $49.99: 10%
$50 to $99.99: 9%
$100 to $199.99: 8%
$200 to $299.99: 7%
$300+ 6%

I can't work out how to do this for the life of me. :no: Regardless of whether I use zones or tables, if I put in: 4999:10%, 9999:9%, 19999:8%, 29999:7%, 30000:6%, it just adds 10% no matter what size my order is and I just don't know what else to try. It probably doesn't help that I don't know PHP. :blush:

The url is www.wraptgifts.com

Any help would be greatly appreciated! Many thanks in advance.

29 Sep 2009, 2:24 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Percentage Scale based on Price Brackets

The Zone Rates zones and Table Rate table are looking for actual amounts ...

You are close but you have no decimals ... :eek:

Try using:

49.99:10%, 99.99:9%, 199.99:8%, 299.99:7%, 300.00:6%

30 Sep 2009, 3:53 AM
#3
glowkat avatar

glowkat

New Zenner

Join Date:
Sep 2009
Posts:
2
Plugin Contributions:
0

Re: Percentage Scale based on Price Brackets

Thanks Ajeh - that did the trick! You're a legend! :clap:

30 Sep 2009, 1:14 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Percentage Scale based on Price Brackets

Thanks for the update that you just needed to fix the configuration of the amounts ... :smile: