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 by Zipcode + Weight + Size 05 Nov 2014 11:52 #1

  • mitus1981
  • mitus1981's Avatar Topic Author
Hi, i have buy the advance plugin and i have create this rule, but i don't see the shipping cost in my site.

My shipment is based on weight range, range of postal codes and the sum of the three sides of the pack.

Variable=Totalsize; Value=TotalLength+TotalHeight+TotalWidth
Variable=zipcheck; Value=07010<=ZIP<09170 OR 90010<=ZIP<98079 OR 87010<=ZIP<89900

Name=Corriere Espresso; Condition=zipcheck; 0<=Weight<=2; 0<Totalsize<=150; Shipping=8.50
Name=Corriere Espresso; Condition=zipcheck; 2.01<=Weight<=10; 0<Totalsize<=150; Shipping=9.50
Name=Corriere Espresso; Condition=zipcheck; 10.01<=Weight<=30; 0<Totalsize<=150; Shipping=11.50
Name=Corriere Espresso; Condition=zipcheck; 0<=Weight<=2; 0<Totalsize<=150; Shipping=11.50
Name=Corriere Espresso; Condition=zipcheck; 2.01<=Weight<=10; 0<Totalsize<=150; Shipping=12.50
Name=Corriere Espresso; Condition=zipcheck; 10.01<=Weight<=30; 0<Totalsize<=150; Shipping=15.50
Name=Pacco misura extra; Totalsize>151; Shipping=25.00

Thanks Roberto

Shipping by Zipcode + Weight + Size 10 Nov 2014 11:15 #2

  • mitus1981
  • mitus1981's Avatar Topic Author
Can someone help me?

Shipping by Zipcode + Weight + Size 13 Nov 2014 11:50 #3

Are the weight units correctly configured?
For testing purposes you can add a final rule to print out some debug information if none of the other rules matches:
Name=Weight is {Weight}, Totalsize is {Totalsize}, zipcheck is {zipcheck}; NoShipping

This will print out the weight, totalsize and zipcheck variables as a warning.

In particular, if an order has weight>30, but totalsize<=150, then your rules will not give any shipping costs, because that case is not handled...

Best regards,
Reinhold

Shipping by Zipcode + Weight + Size 13 Nov 2014 12:14 #4

  • mitus1981
  • mitus1981's Avatar Topic Author
Hi Reinold, thanks for you reply.

I have change my rules with this and all is ok...
Variable=Totalsize; Value=TotalLength+TotalHeight+TotalWidth

Name=SDA; 0<=Weight<=2; 0<=Totalsize<=150; 07010<=ZIP<=09170 OR 90010<=ZIP<=98079 OR 87010<=ZIP<=89900; Shipping=11.50
Name=SDA; 2.01<=Weight<=10; 0<=Totalsize<=150; 07010<=ZIP<=09170 OR 90010<=ZIP<=98079 OR 87010<=ZIP<=89900; Shipping=13.50
Name=SDA; 10.01<=Weight<=30; 0<=Totalsize<=150; 07010<=ZIP<=09170 OR 90010<=ZIP<=98079 OR 87010<=ZIP<=89900; Shipping=15.50
Name=SDA; 0<=Weight<=2; 0<=Totalsize<=150; Shipping=8.50
Name=SDA; 2.01<=Weight<=10; 0<=Totalsize<=150; Shipping=9.50
Name=SDA; 10.01<=Weight<=30; 0<=Totalsize<=150; Shipping=11.50
Name=SDA Extra; 0<=Weight<=30; Totalsize>=151; Shipping=25.00
Name=SDA Extra; 30.01<=Weight<=70; Totalsize>=151; Shipping=25.00

Thanks Roberto

[SOLVED] Shipping by Zipcode + Weight + Size 13 Nov 2014 12:16 #5

Problem solved.
  • Page:
  • 1