Login
Register

VirtueMart

WooCommerce

Others

Docs

Support

Blog

About

Forum

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:

Ruling out other shipping methods? 11 Dec 2014 01:28 #1

  • JaviG
  • JaviG's Avatar Topic Author
Hi, this is a great plug-in, after half an hour of checking it I set up the shipment methods easily...but (a little but) i got stuck.

I created 3 shipment methods in VM being:

1) "Standard shipping": which i set rules so depending the total cost amount, it will change the shipping cost
2) "Overnight shipping": sames as Standard rules except the shipping costs are higher. And
3) "WA, ID, CA, OR, Shipping": which is ruled by zip codes..If you´re in that zipcode range you get a lower shipping cost.

Now if If choose a product and i´m outside of the zip codes stated in the 3rd shipping method. I only get the 1st and 2nd shipping method to choose, which is correct, but if I am in the ZIP range it shows me the 3rd shipping method but also the 1st and 2nd methods (because those rules still apply). So how can I hide the 1st and 2nd if the 3rd method is the obvious one i need to choose?

be aware I´m creating actually 3 shippings in VM, I noticed the plug-in have 8 "rules for country zone" which i don´t know what is their use.

Here are the rules:
1)Standard:
Amount<=25.00; Shipping=14.00
25.01<=Amount<50.00; Shipping=16.00
50.01<=Amount<100.00; Shipping=18.00
100.01<=Amount<250.00; Shipping=20.00
250.01<=Amount<500.00; Shipping=30.00
Amount=>500.01; Shipping=40.00

2)Overnight:
Amount<=25.00; Shipping=20.00
25.01<=Amount<50.00; Shipping=22.00
50.01<=Amount<100.00; Shipping=24.00
100.01<=Amount<250.00; Shipping=25.00
250.01<=Amount<500.00; Shipping=35.00
Amount=>500.01; Shipping=45.00

3)Some states:
Name=Washington Area; 98001<=ZIP<99403; Amount<=1000.00; Shipping=7.00
Name=Oregon Area; 97001<=ZIP<97920; Amount<=1000.00; Shipping=10.00
Name=Idaho Area; 83201<=ZIP<83876; Amount<=1000.00; Shipping=10.00
Name=California Area; 90001<=ZIP<96162; Amount<=1000.00; Shipping=10.00

Cheers
Javier G.

Ruling out other shipping methods? 08 Jan 2015 14:41 #2

A shipping method can only be hidden if it does not offer any shipping rate. In particular, if you don't want the first two methods be offered for some ZIP ranges, then you'll have to add conditions to not offer any rate for these postcodes. In particular, prepend the following to your rules of the first two methods:
Comment=Exclude special areas; 98001<=ZIP<99403; NoShipping
Comment=Exclude special areas; 97001<=ZIP<97920; NoShipping
Comment=Exclude special areas; 83201<=ZIP<83876; NoShipping
Comment=Exclude special areas; 90001<=ZIP<96162; NoShipping

Best regards,
Reinhold
  • Page:
  • 1