VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: framos41 on August 18, 2016, 23:10:06 PM

Title: Virtuemart Shipment Rule
Post by: framos41 on August 18, 2016, 23:10:06 PM
Hello,

I´m using Joomla 3.6.2 and Virtuemart 3.0.16, in the shipping rules (for standard shipping "weight_countries") you can set the minimum ammount for the order for that shipment to be active, the problem is that it is not working based on the total final price, it is working with the final base price without discounts, for example if the rule is that this shipment method is active with orders from $70 and up, when you apply a 10% coupon to the order of $74 the final price is $66.6, but the shipping method for $70 and up still shows up and the other shipments that should be active up to 69.99 are not showing up, is there a way i can make them follow the final price after all discounts and not the base final price?

Thank you!

Regards
Title: Re: Virtuemart Shipment Rule
Post by: GJC Web Design on August 18, 2016, 23:26:58 PM
I guess have a look at what#s available in the $cart_prices

protected function checkConditions ($cart, $method, $cart_prices)

plugins\vmshipment\weight_countries\weight_countries.php