Calculate shipping using product categories and shipping location

Started by Synced, September 26, 2016, 19:53:52 PM

Previous topic - Next topic

Synced

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

GJC Web Design

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
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Synced

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.

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Synced

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!

GJC Web Design

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
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation