VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: Clocked0ne on April 01, 2012, 14:47:05 PM

Title: Shipping by weight & country + state/region
Post by: Clocked0ne on April 01, 2012, 14:47:05 PM
Hi.

I'm almost ready to go live with a site for a client, but we are struggling to find a suitable solution for shipping because the shipping options seem too restrictive - anyone else configuring a site for the UK market I'm sure will have found this too.

I need to configure the following in addition to a Standard flat rate shipping charge:

Scottish highlands & islands charge applies up to 20 kilo's of £25.95
Northern Ireland charge applies upto 10 kilo's of £25.95
Channel Islands charge applies up to 10 kilos of £45.95
Isle of man charge applies up to 10 kilo's of £45.95
Isle of Wight charge applies up to 20 kilos of £25.95
Dublin charge applies up to 10 kilos of  £45.95
Rest of Eire charge applies up to 10 kilos of £49.50

This kind of scenario is standard for UK couriers, there are no one-shipment-fits-all logistics companies that will work in the UK without these weight based surcharges for outlying areas, channel islands, etc.

I have edited the table _virtumart_states in the db to modify the (rather pointless) England/Wales/Scotland/Ireland to match the above, adding a few new options, so now these regions are selectable in the chekout for Shipping. Great!

However, shipping options can only currently be set by Weight and Country, not by State/Region also. I am aware that Tax Calculations can be used to add additional costs for a State/Region, but these calculations cannot be limited by order weight too.

So, is there any way I can set up VM2 to also allow configuring shipment fixed by Country + State? If not this seems completely inflexible for the UK market guys! :(

Looking forward to hearing a developers view.
Title: Re: Shipping by weight & country + state/region
Post by: John2400 on April 02, 2012, 10:22:26 AM
Clocked0ne,

Seems like a lot of work ? just wondering why you are not using the post codes to set the shipping rates?

There are quite a few - UK clients on VM and I have never seen this issue before -

* maybe some just estimate a flat rate for a few close to a post code areas and change them for say
'The issle of Wight Po30 - Po41. ( have say three weight settings only)?'
Title: Re: Shipping by weight & country + state/region
Post by: Clocked0ne on April 02, 2012, 11:39:25 AM
I have tried the postcodes before and it did not seem to work with alphanumerical postcodes, only for American numerical zip codes? ???

The reality is it should be far easier to set shipping based on states/regions - at the moment these are completely redundant in VM2 except for applying tax for shipping - having said that, I would be okay with using post codes if someone could point out how to get it to work. If I have to set up a huge number of ranges for every letter combination then it will be pointless and far, far more work.
Title: Re: Shipping by weight & country + state/region
Post by: Clocked0ne on April 05, 2012, 01:49:39 AM
Well I've been plugging away at this and with no joy. I still think this is a serious development oversight for the UK market - the fact that Zip Ranges are only 00000-99999 American style numbers is bad enough, it simply does not work with UK Postcodes.

At the moment anyone can choose from all the shipping options because they cannot be set by region. Customers should be given a simple and easy view of available options for their delivery address area, not options for the entire country. VM2 cannot provide this it seems!

Really tired and fed up of having to hack the site to get things working :(

There must be someone here with a UK shop??
Title: Re: Shipping by weight & country + state/region
Post by: melina on April 08, 2012, 02:26:28 AM
Hi there! I have the same problem here, and I have an online shop for Argentina. We have too many zip codes and they have no real order so working with zip codes is something I cant even start thinking about.
The normal way to work would be by state. I have joomla 2.5 with VM 2 and I am still trying to find someone giving me an answer regarding this. I think there must be a way to change the plugin a bit to add states after countries but cant find it yet...
Frustrated here too!
=(
Title: Re: Shipping by weight & country + state/region
Post by: Clocked0ne on April 08, 2012, 17:54:56 PM
I tried to look at modifying the plugin myself melina, but I am not a php developer so I am not even sure where to begin with the code. I'm sure this would be easy for one of the developers!
Title: Re: Shipping by weight & country + state/region
Post by: eldravo on April 27, 2012, 01:16:36 AM
I have a similar problem.

Hopefully I explain myself the right way. (sorry for my English).

I own a restaurant and have delivery service. We charge our customers depending on distance. Actually we do not measure exact meters or kilometers. On my country we have zipcodes that comprehend larger areas. We have as well a figure called "Colonia" or neighborhood which group about 20 to 30 blocks. For my business to choose neighborhood instead of zip code would be better.

My intention is to charge a delivery fee depending on each neighborhood.

Under the respective MySQL table (jos_virtuemart_userfields) I have added this field called "Colonia" with a dropdown menu consisting of approx. 140 neighborhoods which I added manually under the MySQL table (jos_virtuemart_userfield_values). On this last table I have added another integer field called "costo_envio" (or shipment_cost in English).

My intention is to manually insert, under the "costo_envio" field, those 140 costs (one for each neighborhood). Then assign the shipment cost depending on the value stored under "costo_envio".

This is where I am stocked.

I found a table called "jos_virtuemart_shipmentmethods". Under this table there is a field called "shipment_params" with values like this: shipment_logos=""|countries=["138"]|zip_start=""|zip_stop=""|weight_start=""|weight_stop=""|weight_unit="KG"|nbproducts_start=""|nbproducts_stop=""|orderamount_start=""|orderamount_stop=""|cost="25"|package_fee=""|tax_id="-1"|free_shipment=""|

Instead of a constant like this: |cost="25"|, I would like to insert the value stored on the "costo_envio" field under the table "jos_virtuemart_userfield_values". This way if someone register they have to chose a "Colonia" or neighborhood (required field) from the dropdown menu. When choosing their respective neighborhood they are choosing the respective shipment cost.

I do not know how to continue with this. In other words I would like to assign a shipment cost depending on the neighborhood choose by the customer under the registration page.

If someone can finish what I started, I think this could be a solution for assigning shipment cost based on any other field like Country, State, Zipcode, Neighborhood, or whatever variable you want the customer to choose.

Regards,
Title: Re: Shipping by weight & country + state/region
Post by: Clocked0ne on May 17, 2012, 12:54:44 PM
Eldravo, did you get anywhere with this? We ended up changing our entire shipping scheme in the end, it's far less flexible and meant we had to incorporate shipping costs into the product prices but at least it will work and be easy for people.
Title: Re: Shipping by weight & country + state/region
Post by: letswebify on May 22, 2012, 15:32:32 PM
@Clocked0ne - Did you get the solution / hack to establish state wise shipping charges in VM2 with J!2.5? We have built an website for India and desperately need "Shipping by state".

I really don't understand who come such a simple feature is not part of VM2?
Title: Re: Shipping by weight & country + state/region
Post by: melina on May 22, 2012, 15:39:48 PM
Well, no shipping by state found yet.... if someone knows about it let us know!
I am still looking for it.
=)
Title: Re: Shipping by weight & country + state/region
Post by: Clocked0ne on May 22, 2012, 15:44:46 PM
Hi guys,

No, sorry, as I mentioned in my previous post we had to come up with a completely new shipping scheme to work around the software. I find it bizarre that this isn't standard either, now customers will always see shipping options for regions that do no concern them :(
Title: Re: Shipping by weight & country + state/region
Post by: Tikkiro on May 22, 2012, 17:13:02 PM
It's just such a pity that the upgrade from VM 1 to VM 2 seems to have destroyed many things that were working wonderfully in the previous version.  I'm also in the UK & while I don't have your particular issues I am still having plenty of others that I've neither been able to fix nor to get help with, so appreciate your suggestion of just adding the shipping cost onto the price instead - never thought of that!!! 

I know the developers can't please all of us, but I'd hate to end up switching to a different ecommerce platform if they can't fix these problems in future versions.
Title: Re: Shipping by weight & country + state/region
Post by: letswebify on May 22, 2012, 20:55:28 PM
@Tikkiro - I 100% agree with you.

Further, see extensions.virtuemart.net - most of the extension categories are still empty; they have only 6-7 extensions that are listed there. Same with VM2 templates; very few are available as of today. And further, Checkout of VM2 is not really "single page / one page checkout". And its flow is quite confusing.

In all, there is big scope to improve. Otherwise m****to, p*****shop and o***cart are already there in the market to churn VM customers.

Title: Re: Shipping by weight & country + state/region
Post by: eldravo on June 18, 2012, 03:09:05 AM
Does someone have an answer for this topic?

I´m still stocked here.
Title: Re: Shipping by weight & country + state/region
Post by: John2400 on June 18, 2012, 09:43:13 AM
maybe look at it by tax ,

You can add a tax per country and state - so maybe do it that way.
Title: Re: Shipping by weight & country + state/region
Post by: GrafixVision on June 18, 2012, 19:41:58 PM
Does any one have idea how to set up different minimum purchase order value based on the zip code? And also... ad the cities and zip codes drop down list?
Title: Re: Shipping by weight & country + state/region
Post by: GJC Web Design on July 28, 2012, 17:51:54 PM
see here - http://forum.virtuemart.net/index.php?topic=105803.0 (http://forum.virtuemart.net/index.php?topic=105803.0)

New ZIP code - Postcode shipping Module - UK, Canada, USA, France, Germany etc

Title: Re: Shipping by weight & country + state/region
Post by: ncopeman on May 09, 2013, 01:06:47 AM
Quote from: GJC Web Design on July 28, 2012, 17:51:54 PM
see here - http://forum.virtuemart.net/index.php?topic=105803.0 (http://forum.virtuemart.net/index.php?topic=105803.0)

New ZIP code - Postcode shipping Module - UK, Canada, USA, France, Germany etc

Well that's great that you've been able to produce this but it's way out of our budget.

Is there any news on this from VM? I'm UK based and need to change the postage costs depending on region ('State'). England would be a flat fee with additional charges for Scotland, Norn Iron, and Channel Islands. I can't see the point of having 'States' if you can't select these for the shipping rules.

Is the answer to create new countries and remove 'United Kingdom' ?

It's a bit USA centric to assume everyone uses Zip Codes. There are thousands of VM stores throughout the world using various postage methods. Incorporating 'States' would help alleviate the issues surrounding postage rules and the rather pointless Zip Codes (For those OUTSIDE of the USA).

Title: Re: Shipping by weight & country + state/region
Post by: jenkinhill on May 09, 2013, 09:51:59 AM
This involves more time to set up (and time=money) but have a look at http://forum.virtuemart.net/index.php?topic=112127