简体   繁体   中英

how to increase shipping cost depending on quantity of order? in prestashop

pretty much i want to increase the shipping cost depending on the number of items in order... eg 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

so is there anyway to do this technically? thanks

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$

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM