VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product pricing => Topic started by: titolin10 on November 27, 2017, 17:21:35 PM

Title: How to set shipping fees per product and country + state
Post by: titolin10 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
Title: Re: How to set shipping fees per product and country + state
Post by: GJC Web Design 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
Title: Re: How to set shipping fees per product and country + state
Post by: jenkinhill on November 28, 2017, 11:04:51 AM
Closest current plugin is probably https://alatak.net/en/extensions/virtuemart/shipments/pro-shipment-plugin.html