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:

Free shipping for range of postal codes 11 Apr 2013 16:30 #1

  • oysterrgirl
  • oysterrgirl's Avatar Topic Author
Hello, i need to have free shipping for certain postal codes. This is my code:

Name=Portes gratis; 29000<ZIP<=29018; Shipping=0
Name=Portes gratis; ZIP=29196; Shipping=0
Name=Envíos España; Weight<=2; Shipping=6.91
Name=Envíos España; 2<Weight<=5; Shipping=9.03
Name=Envíos España; 5<Weight<=10; Shipping=11.18
Name=Envíos España; 10<Weight<=15; Shipping=13.32
Name=Envíos España; 15<Weight<=20; Shipping=15.46
Name=Envíos España; 20<Weight<=40; Shipping=28.16
Name=Envíos España; Weight>40; Shipping=28.16

But it doesn't work. Must be something wrong?

Thanks.

Free shipping for range of postal codes 11 Apr 2013 18:45 #2

Hello, i need to have free shipping for certain postal codes. Name=Portes gratis; ZIP=29196; Shipping=0


The equal comparison is '==', while '=' is the assignment (like in Shipping=0). So this rule should correctly be
Name=Portes gratis; ZIP==29196; Shipping=0

Free shipping for range of postal codes 11 Apr 2013 21:36 #3

  • oysterrgirl
  • oysterrgirl's Avatar Topic Author
Excellent!!! thank you! :)

[SOLVED] Free shipping for range of postal codes 13 Apr 2013 17:27 #4

Problem solved.

Free shipping for range of postal codes 29 Apr 2013 20:53 #5

  • manuxx
  • manuxx's Avatar
En la nota de pedido y facturas te aparece 0 o el mensaje portes gratis?

Saludos

Free shipping for range of postal codes 01 May 2013 20:06 #6

Sorry, can you please repeat your question in English or German? Google translate didn't return something that I could clearly understand...

Free shipping for range of postal codes 01 May 2013 20:37 #7

  • manuxx
  • manuxx's Avatar
Oh sorry Reinhold was out of curiosity wondering if Shipping=0 will show:

1- shipping cost 0

2- free shipping

I mean the text or the quantity?

Basicly asking for the order email and invoices.

Regards

Free shipping for range of postal codes 01 May 2013 21:42 #8

Shipping=0 will simply set the shipping cost to 0, everything else is governed by the VirtueMart core code and the template.

By default, costs of amount 0 are not shown at all (i.e. the name of the shipping method will be shown on the left side, but NOT "0.00 €" in the columns on the right).

To change this, you can either add a template override to the cart view, or change the currency formatting function. But it is not so straightforward to show "FREE" without hacking the VM code.

Free shipping for range of postal codes 04 May 2013 19:51 #9

  • manuxx
  • manuxx's Avatar
Thanks Reinhold, is fine showing 0

Regards
  • Page:
  • 1