VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: edvinysz on June 18, 2014, 09:30:29 AM

Title: Shippment price by category
Post by: edvinysz on June 18, 2014, 09:30:29 AM
Hello,

I have two categories. All products in both categories have kilograms mentioned. If i choose all items from category A and the price is lower than 100eu, then i use normal shipment calculation, but if it is more than 100eu, then shipment is free.
And if i choose all items from B category, there is no such a thing as free shipping, even if it is more than 1000eu. But if i put 9 items from category A and one from category B, it should still count as if all items are from category B. Please help me!
Thank you for your time.
Title: Re: Shippment price by category
Post by: john-doe on June 18, 2014, 14:40:56 PM
Is any shipment rules set with minimum/maximum items?
Title: Re: Shippment price by category
Post by: jenkinhill on June 18, 2014, 14:49:34 PM
Have a look at this plugin: http://open-tools.net/virtuemart-2-extensions/vm2-advanced-shipping-by-rules-plugin.html
Title: Re: Shippment price by category
Post by: edvinysz on June 18, 2014, 18:33:35 PM
Thanks for your responses. I'll definatedly will have a look at that plugin. There is no minimum/maximum items, there is only one rule that there shouldn't be any items from category B, and the price should be higher than 300 in order to get free shipping.
All i need here is just a peace of code or an example of code of something similar to guide me.