Login
Register

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!

×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

"No shipment selected" problem 12 Oct 2014 22:58 #1

  • erbombo
  • erbombo's Avatar Topic Author
Hi all, I tried the free and the pro version of shipping by rules plugin but after I create and configure a new shipment method I can't see any hipping method in my cart ( it displays "No shipment selected" ), If I create a VM standard shipping method I can see it in the cart. What's wrong?
Thank you.
Attachments:

"No shipment selected" problem 13 Oct 2014 19:42 #2

Shipping is only offered if the conditions of a rule are matched. Apparently, none of your rules match the order, thus the plugin does not offer a shipping rate.

What are your rules?

Best regards,
Reinhold

"No shipment selected" problem 13 Oct 2014 21:30 #3

  • erbombo
  • erbombo's Avatar Topic Author
Thank you, the problem was the rule. But now I've another problem, I want to write a rule where my shipping price driven by an AND condition:

Name=Europe Standard 1kg; Weight>0 AND <1 ; Shipping=6.50
Name=Europe Standard 2kg; Weight>1 ; Shipping=13.00

What I'm doing wrong?
thank you.

"No shipment selected" problem 13 Oct 2014 22:05 #4

  • erbombo
  • erbombo's Avatar Topic Author
I got the rule work, I used these strings:

Name=Europe Standard 1kg; Weight>0.00 AND Weight<1.00 ; Shipping=6.50
Name=Europe Standard 2kg; Weight>1.00 AND Weight<2.00 ; Shipping=13.00

Just another question, can I drive the expression using a custom field (for example, package weight) to calculate the final shipping cost?
thank you.

"No shipment selected" problem 13 Oct 2014 22:43 #5

Your rules are mainly correct. Just note that when Weight==1.00, then neither of the rules will match! (since < and > are strictly less/strictly more operators). So the proper rules would be:
Name=Europe Standard 1kg; 0<Weight<=1; Shipping=6.50
Name=Europe Standard 2kg; 1<Weight<=2; Shipping=13.00

Unfortunately, it is currently not possible to access/use custom fields or their values in the rules.

Best regards,
Reinhold

"No shipment selected" problem 13 Oct 2014 22:55 #6

  • erbombo
  • erbombo's Avatar Topic Author
Thank you very much, keep up the good work ;)

[SOLVED] "No shipment selected" problem 13 Oct 2014 23:18 #7

Problem solved.
  • Page:
  • 1