VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: antifragile on March 18, 2016, 12:50:30 PM

Title: Category-based shipping prices
Post by: antifragile on March 18, 2016, 12:50:30 PM
Hi, there used to be a third-party plug-in available to enable category-based shipping price determination. However, this does not seem to be available for J3/VM3 (http://forum.virtuemart.net/index.php?topic=108063.0).

I basically only have two categories. One cheaper, one more expensive. When someone orders a mix of both categories, the more expensive one should kick in.

What I never solved was to also have a fork when people order from another country. This would require a mix of both approaches (i.e. first country selection, then category selection).

The default VM plug-in does not seem to have a option to differentiate categories (only which categories are included, but not a default to the higher price when there is a mixed order).

An ideas please?

Thanks and regards,

Dan

J3.4.8
VM3.0.14
Title: Re: Category-based shipping prices
Post by: AH on March 18, 2016, 14:21:39 PM
The default plugin for VM shipping has the exclude / include categories that will do exactly what you need

Just choose the appropriate include settings for your shipping methods and it will work
Title: Re: Category-based shipping prices
Post by: jenkinhill on March 18, 2016, 15:12:01 PM
See pic
Title: Re: Category-based shipping prices
Post by: antifragile on March 19, 2016, 09:58:16 AM
A, Kelvyn, many thanks! The advantage of the Category Shipping plug-in was that it allowed to assign the cost for the higher cost only when ordering products from both categories.

Shipping cost category A - 2.00
Shipping cost category B - 3.00

Order product in category A -> 2.00
Order product in category A AND B -> 3.00 (so the lower cost product is covered in the higher shipping cost)

I do not think that this works in the default. I tried but I had to define two shipping options. One include category A and exclude category B, the other one vice versa. When ordering both the cart got confused (it was showing neither).

Have I perhaps misconfigured?

Thanks and regards,

Dan
Title: Re: Category-based shipping prices
Post by: AH on March 19, 2016, 10:19:36 AM
Charge the highest shipping cost

Have 2 shipping options:

In the lowest priced shipping option: set to exclude the highest priced shipping category

In the highest do not configure anything in the categories
Title: Re: Category-based shipping prices
Post by: antifragile on March 19, 2016, 15:44:46 PM
That does work. However, customers can chose between the lower and the higher cost shipping option. They are not forced to take the correct one. Is that achievable?
Title: Re: Category-based shipping prices
Post by: AH on March 19, 2016, 16:58:37 PM
This is not so difficult

Have 2 shipping options:

In the lowest priced shipping option: set to exclude the highest shipping category

In the highest priced shipping option set to exclude the lowest shipping category