Not working when set to calculate shipping after discounts
-
Hi!
The plugin is not working when you set shipping to be calculated after discounts and no discounts in cart.
If you do that, the first shipping rate is applied always, no matter the min-max price rules.
Changing line 242 from:
if( $this->get_option( 'apply_when' ) == "after" )
to
if( $this->get_option( 'apply_when' ) == "after" && !empty($discount_total) )
Fixed it. I hope you can include this in the next version.
Best regards,
Samuel.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Not working when set to calculate shipping after discounts’ is closed to new replies.