News:

Support the VirtueMart project and become a member

Main Menu

Virtuemart Shipment Rule

Started by framos41, August 18, 2016, 23:10:06 PM

Previous topic - Next topic

framos41

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

GJC Web Design

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
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation