Shipping Zone problem

  • Posts: 19
  • Thank you received: 0
13 years 6 months ago #16214

Hi,

I'm having problems with the following message appearing at Checkout when I restrict my Shipping Methods to a zone:

"No shipping methods available to your location"

I've created a test user whose registration address-country is United Kingdom.

When I don't specify a zone in my Shipping Methods everything is OK. When I restrict my Shipping Methods to either:

> the Country-Zone "United Kingdom", or
> a Shipping Zone "United Kindom" that contains the "United Kingdom" Country-Zone as a sub-Zone

then I get the above message.

I've checked the FAQs www.hikashop.com/support/documentation/i...ins-listing.html#faq and can't see what I'm doing wrong.

Thanks.

Please Log in or Create an account to join the conversation.

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
13 years 6 months ago #16223

At which point do you get the error message ?
Before seeing the addresses selection screen of the checkout or after ?
What is your "main tax zone" (in the config) ? When the address is not yet selected, this main tax zone is used instead. So if you set your tax zone to canada, that your address is in UK, but that you have a checkout workflow in several steps where the shipping view is before the address view, that's something which could happen.

Could you do a screenshot of your manual shipping methods listing ?

Please Log in or Create an account to join the conversation.

  • Posts: 19
  • Thank you received: 0
13 years 6 months ago #16377

Hi Nicolas

The Main Tax zone is: 222 United Kingdom.

The zone in the two Shipping Methods is also set to: 222 United Kingdom.
Before I logon with my test user, there is no problem. But once I logon with the test customer, Fred Blogs - in whose Billing and Shipping address the country has been set to United Kingdom – then the error appears:

“No shipping methods available to your location”

I have attached some screen shots to show this.

Shipment Methods:



Checkout before customer logon:


Checkout after customer logon:

Attachments:
Last edit: 13 years 6 months ago by td001. Reason: Fixing images

Please Log in or Create an account to join the conversation.

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
13 years 6 months ago #16378

Which version of HikaShop are you using ? If it's not the 1.5.0, I would first ask you to update and try again. I can see that you have a shipping method refresh problem on the checkout which should not be the case with the latest version.

Please Log in or Create an account to join the conversation.

  • Posts: 19
  • Thank you received: 0
13 years 6 months ago #16379

I'm using version 1.4.9.

I'll update it to the latest version as you suggest.

Please Log in or Create an account to join the conversation.

  • Posts: 19
  • Thank you received: 0
13 years 6 months ago #16409

No, it still gives the error with version 1.5.0.

I tried adding a second address for the test customer – again with the country set to United Kingdom. I still get the same error, but now the shipping price has disappeared - although it also says “You chose the shipping method: 1st class Royal Mail”...

Any idea what’s wrong?

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
13 years 6 months ago #16411

It's a bit blurry but I think that on the shipping methods listing screenshot you made, one of the two methods has a maximum price in euros while the minimum price of the other is in pounds. So that could explain the problem: the price of your order is within the gap of the shipping methods and thus they are discarded. Could you check on that ?

Please Log in or Create an account to join the conversation.

  • Posts: 19
  • Thank you received: 0
13 years 6 months ago #16414

No, I think they are both in GBP. I've included screenshots below.

Shipping method 1:



Shipping Method 2:


The shipping methods seem to work fine if I do not restrict them to zone "222 United Kingdom" - so I think I must have got something wrong relating to the shipping zones. But I can't figure out what.

Attachments:
Last edit: 13 years 6 months ago by td001.

Please Log in or Create an account to join the conversation.

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
13 years 6 months ago #16416

On the listing of shipping methods do you see a € or a £ ? If you see a € and that you have a £ when you edit the shipping method, that's because you have the € saved in the preferences but that you unpbulished it. So the system doesn't find it there and displays the dropdown with £ because € is not available but the € is still there as long as you don't save the shipping method.

Please Log in or Create an account to join the conversation.

  • Posts: 19
  • Thank you received: 0
13 years 6 months ago #16420

No, I see £ for both shipping methods in the list of Manual Shipping Methods - I've added another screen shot below...



I've also checked the currencies and both Euro and British Pound are published.

Attachments:
Last edit: 13 years 6 months ago by td001.

Please Log in or Create an account to join the conversation.

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
13 years 6 months ago #16424

That's indeed fine. Could you check that the zone for UK on your System->Zones listing if of the type country and has the id 222 ?

Please Log in or Create an account to join the conversation.

  • Posts: 19
  • Thank you received: 0
13 years 6 months ago #16425

Yes, United Kingdom Country Zone has id 222 - screenshot below...

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
13 years 6 months ago #16427

Could you check that you have only this one (because if you created another UK country zone and that you used that one for the address, that would explain the problem)?

Please Log in or Create an account to join the conversation.

  • Posts: 19
  • Thank you received: 0
13 years 6 months ago #16429

Yes, there is only one United Kingdom zone (i.e. Country Zone 222).

When I first hit this problem, I tried to solve it by creating a Shipping Zone "United Kindom" that contained the "United Kingdom" Country-Zone as a sub-Zone. But that didn't work, so I have since deleted that Shipping Zone.

Current Zones starting with "United":



I have also set the default value for the address_country field to the country zone: United Kingdom 222:

Attachments:
Last edit: 13 years 6 months ago by td001.

Please Log in or Create an account to join the conversation.

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
13 years 6 months ago #16430

Well, everything seems good :)
So the only option left is to have an access to your website in order to put traces in the code and find out why it doesn't work as it should.

Please Log in or Create an account to join the conversation.

  • Posts: 19
  • Thank you received: 0
13 years 6 months ago #16431

I would be happy for you to have a look - can I email you the URL and admin logon details?

Please Log in or Create an account to join the conversation.

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
13 years 6 months ago #16432

You can use our contact form:
www.hikashop.com/en/support/contact-us.html

Please Log in or Create an account to join the conversation.

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
13 years 6 months ago #16458

Thank you for the access.

The problem is now clear: you changed the type of the state field to text instead of zone.
When the system decides of the zone of the order, it first decides whether to use the state information or the country information. If the state information it uses it.
On your case, since the state field is there and that the state name is entered by the user himself, it never matches the entry in the database. Thus, the system doesn't find any zone for the order and thus the shipping methods with restrictions on a zone are discarded.

We're going to add an additional check on that to avoid that problem.
On your end, you can just unpublish that field, create a new state field for your state input box and then go to Display->Views and edit the views address_template in order to add your new field column name there so that it appears on the addresses.

Please Log in or Create an account to join the conversation.

Time to create page: 0.091 seconds
Powered by Kunena Forum