Jump to content

Shipping price range and discount


GraceGoh

Recommended Posts

Hi,

 

I am using presta 1.5.4.1.  I am creating a cart rule that applies a discount of 20% on all purchases.  I have a shipping price range that says :

 

purchases from $1 to $50 - delivery fee of $10;

purchases from $51 to $100 - delivery fee of $15;

purchases from $100 onwards - free delivery

 

I want to charge customers the usual delivery fee because that's what I need to pay my courier guys regardless of the discount.  

 

There is an issue here when i tested shopping cart.

 

When I purchase an item of $60 without applying the discount code, I am charged $15 delivery fee (which is correct and what I wanted).  When I apply the discount, the total purchase becomes $48 (after 20% discount) and the shipping fee now drops to $10 (which is what I do not want because I need to charge $15).

 

How do I solve this issue?  Hope to hear from anyone soon.

 

Thank you.

 

 

 

 

Link to comment
Share on other sites

Hi Grace,

You say the 20% is for the whole shop, so all products get this same 20% discount, right?

If so, just adjust your shipping steps for the 20% discount:

50/(0.8) = 62.5

100/(0.8) = 125

 

So

step 1 :   0.01$ -    62.51$ = 10$ shipping cost    (check: 62.5 - 20% = 50  OK)

step 2 :  62.51$ -   125.01$ = 15$ shipping cost    (check: 125  - 20% = 100 OK)

step 3 : 125.01$ - 99999.00$ =  0$ shipping cost

 

 

(N.B. The 62.51 I put, to make 62.50 Included in the 10$ shipping cost. If you put 62.50 as end value of step 1, all prices up to 62.49 are included, but not 62.50 itself)

 

Hope this helps,

pascal

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...