- Posts: 157
- Thank you received: 8
Calculate shipping before discounts
9 years 3 months ago #272344
by vanboke
Calculate shipping before discounts was created by vanboke
I have a client that uses shipping based on the cart total. Is there a way to have the shipping calculated before discounts and coupons are applied? They are having issues where orders with discounts or coupons are showing shipping based upon a cart total smaller than it should as the discounts and coupons are being applied before shipping is calculated.
Is it possible to have shipping calculations done before discounts and coupons are applied?
Is it possible to have shipping calculations done before discounts and coupons are applied?
Please Log in or Create an account to join the conversation.
9 years 3 months ago #272379
by nicolas
Replied by nicolas on topic Calculate shipping before discounts
Hi,
Before coupons it's possible.
If you turn off the use virtual product price setting of the shipping methods, the products without weight and the coupons won't be taken into account for the price restrictions.
However, the discounts are part of the products price and thus part of the cart total. It's not possible to ignore them in the shipping methods restrictions.
That would require developing a custom manual shipping plugin which would handle the restriction calculations itself the way you want. While that's possible, it's a lot more involved and will require a skilled developer to help you.
Before coupons it's possible.
If you turn off the use virtual product price setting of the shipping methods, the products without weight and the coupons won't be taken into account for the price restrictions.
However, the discounts are part of the products price and thus part of the cart total. It's not possible to ignore them in the shipping methods restrictions.
That would require developing a custom manual shipping plugin which would handle the restriction calculations itself the way you want. While that's possible, it's a lot more involved and will require a skilled developer to help you.
Please Log in or Create an account to join the conversation.
Time to create page: 0.133 seconds