VirtueMart

WooCommerce

Others

Docs

Support

Blog

About

Shipping by Rules for VirtueMart

IMPORTANT ANNOUNCEMENT: Plugin development ceased, all plugins made available freely (GPL)

With great sadness we have to announce that we are ceasing development of all our VirtueMart, WooCommerce and Joomla plugins. Effective immediately, all our plugins -- even those that were paid downloads -- are made available for free from our homepage (GPL license still applies), but we cannot and will not provide any support anymore.

It has been a great pleasure to be part of the thriving development communities of VirtueMart as well as WooCommerce. However, during the last year it became painstakingly clear that in addition to a full-time job, a young family and several other time-consuming hobbies at professional level (like being a professional singer) the plugin development and the support that it requires is not sustainable and is taking its toll. It has been an honor, but it is now time to say good bye!

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Rules based on weight and categories

Rules based on weight and categories 12 Jun 2018 14:17 #1

  • oysterrgirl
  • oysterrgirl's Avatar Topic Author
  • Offline
  • Posts: 48
Hi, I need help to create shipping rules for certain categories that need to have different shipping prices and weight bands than the default rules. Can't figure out how to do this.

Theses are my current rules:
Name=; Weight==0; NoShipping 

Name=; 0<Weight<=1; Shipping=6.79
Name=; 1<Weight<=3; Shipping=6.79
Name=; 3<Weight<=5; Shipping=5.72
Name=; 5<Weight<=10; Shipping=6.21
Name=; 10<Weight<=14; Shipping=6.34
Name=; 14<Weight<=18; Shipping=7.76
Name=; 18<Weight<=100; Shipping=7.76+0.34*(Weight-18) 
 
Name=; Weight>100; NoShipping

And these are the additional rules I've created with no success. Articles from categories 100, 104 and 105 should have different shipping prices. Articles from other categories should be excluded.
Name=Envío estimado 72H; 60<Weight<=80; Condition=contains_only(Categories, 100,104,105); Shipping=21.57 
Name=Envío estimado 72H; 80<Weight<=90; Condition=contains_only(Categories, 100,104,105); Shipping=24.03 
Name=Envío estimado 72H; 90<Weight<=100; Condition=contains_only(Categories, 100,104,105); Shipping=26.72
Name=Envío estimado 72H; 100<Weight<=200; Condition=contains_only(Categories, 100,104,105); Shipping=25.67
Name=Envío estimado 72H; 200<Weight<=300; Condition=contains_only(Categories, 100,104,105); Shipping=23.43
Name=Envío estimado 72H; 300<Weight<=500; Condition=contains_only(Categories, 100,104,105); Shipping=22.65
Name=Envío estimado 72H; 500<Weight<=750; Condition=contains_only(Categories, 100,104,105); Shipping=21.51
Name=Envío estimado 72H; 750<Weight<=1000; Condition=contains_only(Categories, 100,104,105); Shipping=20.54

How can I do this?

VirtueMart 3.2.14 and Advanced Shipping by Rules for VirtueMart 6.2.4

Thanks

Please Log in or Create an account to join the conversation.

Rules based on weight and categories 24 Aug 2018 00:53 #2

Dear Oysterrgirl,
Sorry for the late reply, we have been very busy with concurrent projects, leaving no time for proper support.

Just for clarification: If a customer buys products form category 100, 104 or 105 and other products, do you want to apply the 21.57 for weights between 60 and 80kg or do you want some other shipping cost?

Your additional rules seem to indicate that these special shipping costs apply only if the customer buys products from categoreis 100, 104 or 105, but no other products. In all other cases, the "normal" rates apply (and weights above 100kg are not allowed). If this is what you want, then your rules look fine. You just need to make sure that these more restricted rules are placed BEFORE the more generic rules. VM will always use the first weight-based rules that matches, so you need to place rules with more restrictions first.

Best regards,
Reinhold

Please Log in or Create an account to join the conversation.

  • Page:
  • 1

VM - Shopping cart

 x 

Cart empty

Login Formular