Norillo Posted June 27, 2022 Share Posted June 27, 2022 Hello. I'm trying to achieve shipping cost calculated by initial weight and not total weight. Example: Product X Weight 1,5kg Product Y Weight 3kg Shipping cost from 0 to 2kg is 5$ and shipping cost from 2 to 5kg is 8$ Now, when I add product X to cart, it use 0 to 2kg range and shipping cost for one product is 5$. When I add another product X, I want to multiply cost ignoring total weight so for two X products it will be 10$ for three X products it will be 15$, etc.. When I add product Y to cart, it will use 2 to 5kg range and shipping cost for one product is 8$ but when I add three of this product it will cost 24$ (8$*3). And I want presta to display total price in product page and cart (price of product + shipping price). Is there a way or some or module to do that? Regards. Link to comment Share on other sites More sharing options...
abdullacm Posted June 27, 2022 Share Posted June 27, 2022 need to customize classes/Cart.php/Carrier.php Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now