VirtueMart

WooCommerce

Others

Docs

Support

Demo

Blog

About

Forum
Welcome, Guest
Username: Password: Remember me

TOPIC: Shipping rule not found

Shipping rule not found 30 Sep 2017 06:03 #1

This is my shipping rule:

Name="Ground Shipping";convert_to_currency(Amount, "USD")<10;Shipping=50

and I got the following error on the front end:

Unknown function 'convert_to_currency' encountered during evaluation of rule 'Name="Ground Shipping";convert_to_currency(Amount, "USD")<10;Shipping=50'.

I am using the advanced version shipping by rules in Virtuemart. Why is that happened?
The administrator has disabled public write access.

Shipping rule not found 07 Oct 2017 20:32 #2

Dear Huaqc8,
Sorry to hear about your problem. It is in fact our mistake in the documentation: The function is rather called ConvertToCurrency (not case-sensitive), so the correct, working rule should be:
Name="Ground Shipping"; convertToCurrency(Amount, "USD")<10; Shipping=50

Best regards,
Reinhold
The administrator has disabled public write access.

VM - Shopping cart

 x 

Cart empty

Login Formular