Xam:
Hi ..
I need this code but quite the other way around.
I have 4 categories BSC, SPC, RAI and VAN.
I would like to enable a shipping method called "Distingo" when only RAI products are in cart.
When RAI + other cat products (or only other Cat products) are in cart then I need to use the "Colissimo" method.
The other tricky point is :
when I need to send 1 or 2 RAI products, shipping cost is 2.50
when I need to send 2 to 4 RAI products, shipping cost is 3.00
when I need to send 5 to 10 RAI products, shipping cost is 4.00
and for more than 10 RAI products, I would send it "Colissimo".
How shall I modify that code to make it work ?
Thanks
Xam
You would need a customization on the shipping modules to test the cart content to determin which module to enable and then set the prices ...
From what this looks like, on the pricing the Zone Rate zones could be used for both the pricing method and the Zone filtering ...
The customization on what shipping method is used can be filtered in a similar manner to how the master_categories_id is used in the example above ...
If you are a coder, this just takes a bit of thought to manage the filters for enabling the right shipping module ...
If you are not a coder, then you may wish to have someone write this for you ...