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:

Virtuemart 4.6: get the custom plugins work again 12 Oct 2019 13:53 #1

  • gapinthebreath
  • gapinthebreath's Avatar Topic Author
This is only important for you if you use Advanced Shipping by Rules custom plugins.
There is a nice option in this extension - you can write custom functions and put it into a custom plugin that comes into /plugin/vmshipmentrules folder.
You can put there complex database queries according to ZIP codes and return shipping cost as variable back to the plugin and use it in rules.
This won't work after you update Virtuemart to 4.6
You can fix it easily:
1. Go to the file: /plugins/vmshipment/rules_shipping_advanced/rules_shipping_framework_joomla.php
2. Find and replace row:
JPluginHelper::importPlugin('vmshipmentrules');
with:
VmConfig::importVMPlugins('vmshipmentrules');

That's all!

Virtuemart 4.6: get the custom plugins work again 14 Nov 2019 16:17 #2

  • Pascal
  • Pascal's Avatar
Hi,
Have some issues:
Unknown variable 'Amount' in rule 'Amount=100'
Syntax error during evaluation, RPN is not well formed! (Full rule: '=Amount')
Unknown error occurred during evaluation of rule '=Amount'.

I see this row twice in file? Should both be replaced?
Do you mean virtuemart 3.6.x


Thanks
Pas
  • Page:
  • 1