Author Topic: How to set shipping fees per product and country + state  (Read 108 times)

titolin10

  • Jr. Member
  • **
  • Posts: 52
  • A beginner
How to set shipping fees per product and country + state
« on: November 27, 2017, 17:21:35 pm »
Hello everyone.


I wonder if someone can explain to me how I can set the shipping fees as the following description:


I have products with different shipping costs and this cost should change depending on the country or state that the customer will choose.

(e.g  The countries I ship to is 3 countries and each country has some states (e.g 10 different states)

So now the product should have 3 primary different shipping prices depending on the country (e.g country1 fee $10, country2 fee $15, country3 fee $20)

and after that the product should has additional shipping fee for each state of each country.



e.g

PRODUCT_A
country1 Primary fee $10
- state1  additional fee $2,
- state2  additional fee $3.5,

country1 Primary fee $15
- state1 for country2 additional fee $4, -
- state2 for country2 additional fee $3,

country3 Primary fee $20
- state1 for country3 additional fee $1.40, -
- state2 for country3 additional fee $5,


PRODUCT_B
country1 Primary fee $8
- state1  additional fee $1,
- state2  additional fee $2,

country1 Primary fee $13
- state1 for country2 additional fee $2, -
- state2 for country2 additional fee $6,

country3 Primary fee $18
- state1 for country3 additional fee $2, -
- state2 for country3 additional fee $4,


The rules should be applied to the cart depending on the customer selected country and selected state.



I hope to have clear answer regarding to the above.

Thank you

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 7637
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.2
Re: How to set shipping fees per product and country + state
« Reply #1 on: November 28, 2017, 00:17:11 am »
I think you would need a bespoke coded plugin -- extend the standard one.. 
I don't know of any shipping plugins using country and state.. most are postcode based etc

I would set up a method for each country and extend the core ship plugin to have state selection as well - but not simple
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 26421
  • Always on vacation
    • Jenkin Hill Internet
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

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

Currently using VM3.2.8 on Joomla 3.8.2 PHP 7.0.25

Testing VM3.2.8 on J3.8.3RC