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: Virtuemart 4.6: get the custom plugins work again

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

  • gapinthebreath
  • gapinthebreath's Avatar Topic Author
  • Offline
  • Posts: 1
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!

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

  • Page:
  • 1

VM - Shopping cart

 x 

Cart empty

Login Formular