I need to set up a shipping method that has a price that varies depending on what products are in the cart (based on the category and the amount of products) and where they're being shipped.
Here's an example:
Using the table in the attachment, zones would be either cities or postal code ranges and the categories are Virtuemart categories.
If I bought 1 product from Cat. 1 and 1 from Cat. 2 and have them shipped to zone 1 it would cost $130 for shipping.
1 product from Cat. 1 plus 2 from Cat. 3 would cost $140.
But, 1 from Cat. 1 plus 2 from Cat. 2 and 1 from Cat. 3 would cost $150 since categories 2 and 3 combined cannot go over $50.
Is this shipping method possible in Virtuemart with or without an extension or I'd have to change the way it's calculated?
Edit: Forgot to add versions:
- php: 5.4.29
- Joomla: 3.5.1
- Virtuemart: 3.0.10
are there only 3 cats? Numerical postcodes that are adjacent?
Natively not but have a look at the Rules shipping plugin.. otherwise it would need something coded up I guess
There are 6 categories, I also just found out that the costs can be calculated using distance from the warehouse instead of predefined zones removing postal codes from the equation (which contain letters/Canadian codes).
It would also be possible to make it so no matter how many articles there are in a single category, the price would stay the same as long as there's at least one article from that category, it seems simpler to do.
Thanks for the answer, I'll look more into what seems possible to do without having to code everything myself.
http://www.gjcwebdesign.com/vm-2-radius-shipping-plugin.html ?
I think this plugin could be of great help.
It works in Canada as well right? As long as Google can find the addresses I assume.
Thank you for your help!
yes.. exactly -- if Google can find it it works
some work would be needed I guess for the cat restrictions but please move to my email for discussions