Vahid Abdi
Vahid Abdi

Reputation: 9

How to increase shipping cost depending on quantity of order?

Pretty much I want to increase the shipping cost depending on the number of items in order... e.g. by default shipping cost is 10$ but when number items goes beyond 20 it will add 3$ to shipping cost so it would be 13$

I tried changing codes but it's complicated somehow

I had to find all places that include shipping tax like in 1-blockcart module, 2-one page checkout, 3-payment, 4-inserting to database... And then change some codes. And it's a lot of work and hard

Upvotes: 0

Views: 983

Answers (1)

Florian Lemaitre
Florian Lemaitre

Reputation: 5748

Prestashop includes a shipping range functionality. You can define shipping cost depending of the total weight of your products.

If you want a simple implementation, you can define all your products weight to 1Kg and add shipping cost ranges like those:

 0kg =>    20kg : 10$
20kg =>    40kg : 13$
40kg => 99999kg : 15$

Upvotes: 1

Related Questions