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:

Shipping only select zip code 27 Sep 2013 09:27 #1

  • akhtar
  • akhtar's Avatar Topic Author
i am facing issue in advance Shipping method plugin.

1. Publish this pluging with demo test rule show error and Please select a shipment method

error is
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in
plugins/vmshipment/rules_shipping_advanced/rules_shipping_base.php on line 427

my rule is

Name=No shipping to Chicago; 60601<=ZIP4<=60620; NoShipping

2: i want only select zip code shipping

example:
60458 - JUSTICE
60459 - BURBANK
60461 - OLYMPIA FIELDS
60462 - ORLAND PARK
60463 - PALOS HEIGHTS
60464 - PALOS PARK
60465 - PALOS HILLS
60626 - CHICAGO
60628 - CHICAGO
60629 - CHICAGO
60630 - CHICAGO
60631 - CHICAGO
60632 - CHICAGO
60633 - CHICAGO

please help me

Shipping only select zip code 28 Sep 2013 22:15 #2

1) The log warning is fixed in the latest version (which I still call version 3.3...) Please download the plugin again from the homepage and install it.

1a) Your rule seems to be wrong, because ZIP4 means the first four letters/digits of the ZIP code. They can never lie in the range you check (because the larges value that is possible with four digits is 9999)...

2) To check for a list of ZIP codes, you can simply use the "in" operator:
Name=Chicago and suburbs; ZIP in list(60458, 60459,60461,60462); Shipping=5
  • Page:
  • 1