News:

Support the VirtueMart project and become a member

Main Menu

How to have shipment per order

Started by rippergr, January 17, 2014, 20:06:00 PM

Previous topic - Next topic

rippergr

Hello all
I want to have one shipment method that is per order with maximum order 30,00 €.
For example someone buy something that costs 20,00 €, it will show 5,00 € shipping cost. If the order is over 30,00 € it will be free.
None of my products has weight to use the shipping method by weight.
I tried the module per_product but when I add 2 or more products it add the cost of shipping.
If someone can help me.

I have virtuemart 2.0.24a and joomla 2.5.16

thanks in advance.
Visit my webpage www.comworld.gr

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

reinhold

#2
My Shipping by Rules plugin (the one linked by jenkinhill) is certainly up to the task.
However, even the standard weight_countries shipping method distributed together with VM can achieve this. A fixed shipping cost per order (independent of the amount or the weigth) is actually the easy case and the default. 

Simply set up a shipping method of type "Shipment based on the Weight, ZIP and Countries", leave all configuration values empty, except for:
-) Shipment Cost: 5
-) Minimum Amount for Free Shipment: 30

That means that each order gets a shipping cost of 5€, and all orders above 30€ are free.

PS: It might be confusing that the default shipment method has weight, zip and countries in its name. But that is only meant to convey a possibility to base shipping costs on these values, not a requirement to make shipping depend on the weight.  If both weight fields are left empty, the shipping costs will apply to all orders (of any weight).

rippergr

Thank you both for your answers.
This is what I am looking for. I hink something like this must be implement in virtuemart and not only shipping by weight or postal code.
Thanks anyway.
Visit my webpage www.comworld.gr

reinhold

Sorry if I have been unclear in my previous answer:
That functionality IS implemented directly in Virtuemart without any third-party plugins.

The shipping by weight and postal code can do this. Simply do not enter any weight bounds.
The name just indicates that you CAN restrict the shipping cost per order to certain weight ranges. But if you do not enter any weight restrictions, the shipping cost (fixed cost per order, with a threshold for free shipping) will apply to all orders.

Best regards,
Reinhold

rippergr

When I tried this (with the way you say) when I was in cart it said that there are no shipping available.
PS: The user is not registered or have an account. Maybe the difference is there
Visit my webpage www.comworld.gr

reinhold

Just a few ideas for possible causes:
-) To apply to non-logged-in users, you should not select any shopper groups for the shipping method.
-) Another pitfall I often stumble over is that new methods are not automatically enabled.
-) Initially, I also thought that I needed to enter values in all input fields (zip and weight fields). But as soon as one enters any value, that's a restriction and might make the rule not apply to an order. To have a shipping method apply to all orders, one really needs to leave all those fields empty (no 0 or -1!).