VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: aftertaf on September 22, 2017, 21:47:25 PM

Title: Solved :Multiple shipping methods available, the wrong one is chosen by default
Post by: aftertaf on September 22, 2017, 21:47:25 PM
First, this isn't a bug...
I've removed automatic selection of shipping & payment methods as this doesn't fit my needs...

Context:
Set 7 actual shipping methods, all based on weight. This is to match the tarifs from the postal service.
I also have a 'pickup at shop' option, for people to buy online but not to pay for shipping: instead they can come and collect in our physical shop.

If i set any one of the 7 'real' methods as the default shipping option, it only applies when the purchased products' weight fits the min/max weight that i've set in that particular shipping method.
Any order falling outside of this weight range is having 'Pickup at shop' automatically selected... At least when I test it with an anonymous and a fake logged-on user account this is the behaviour i see.

Is there any way to set this method as the anti-default? :)
or anyone have this case and implemented it differently ?

I found a sortof workaround, but it implies users not logging in until they reach the checkout : restricting the PickUp method to France only.
Once i logon the default method is the paying shipping...
Title: Re: Multiple shipping methods available, the wrong one is chosen by default
Post by: aftertaf on September 22, 2017, 21:49:28 PM
cough: changed default from no prefered to None, and now none are preselected
oh well, its friday...