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:

Check if a product SKU is not within a list of SKU 28 Nov 2014 16:54 #1

  • gyam
  • gyam's Avatar Topic Author
Hi,

I'm looking for a rule to check if:
A list of SKU beginning by "xxxx" OR "yyyyy" IS NOT in the SKU list.
to not allow the shipment method for some products in different categories.

Thx for help

Check if a product SKU is not within a list of SKU 01 Dec 2014 17:02 #2

Hello,
Unfortunately, there is currently no such check. You can check a single variable, but not a list.

For the upcoming version 5.0 of the plugin (currently, there is a beta test version 4.99 available for testing), I added a plugin interface and also wrote a plugin to use regular expressions to match variables and even filter lists:
open-tools.net/virtuemart-2-extensions/e...rtuemart-detail.html

The RegExpFilter function could probably be used for your purposes.

Best regards,
Reinhold

This
  • Page:
  • 1