[Skip to main content](#vessel-content)

#   Checkout guest address country change issue

##

- **[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")**
- [![kyratn's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/redswirl.jpg)](/forum/user/38342-kyratn "View kyratn's Profile") Topic Author
- [ Offline](/forum/user/38342-kyratn)

Less More

- Posts: 1119
- Thank you received: 114
-
- [](http://kyra.lt)
-

8 years 2 months ago -  8 years 2 months ago [\#297326](#297326) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  *[Checkout guest address country change issue](/forum/3-bug-report/895608-checkout-guest-address-country-change-issue#297326 "-- HikaShop version -- : 1808241828  Hi,  So after playing with checkout i just found another issue with address and zone restrictions....  To reproduce the issue:  1. Make sure address on registration is set to &quot;YES&quot; in checkout login block. 2. In address block set address to shipping or billing, it doesn't matter. 3.Try to checkout, Add address and register account. 4. Now edit address and select different country as example Germany, save it.  And the new address will be added in back-end which will be set as default with country Germany...( Issue here...Editable address should be saved instead new one created?)  5. Edit address again and select your default country, save it.  The default address in back-end will be that one with country Germany. In the front-end you see your default country address only...So shipping and payment zone restriction stops working here.  I have made quick video as this will help you understand issue better.  Kind Regards")* was created by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")*

-- HikaShop version -- : 1808241828

Hi,

So after playing with checkout i just found another issue with address and zone restrictions....

To reproduce the issue:

1. Make sure address on registration is set to "YES" in checkout login block.
2. In address block set address to shipping or billing, it doesn't matter.
3.Try to checkout, Add address and register account.
4. Now edit address and select different country as example Germany, save it.

And the new address will be added in back-end which will be set as default with country Germany...( Issue here...Editable address should be saved instead new one created?)

5. Edit address again and select your default country, save it.

The default address in back-end will be that one with country Germany. In the front-end you see your default country address only...So shipping and payment zone restriction stops working here.

I have made quick video as this will help you understand issue better.

This message contains confidential information

Kind Regards

Last edit: 8 years 2 months ago by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84OTU2MDgtY2hlY2tvdXQtZ3Vlc3QtYWRkcmVzcy1jb3VudHJ5LWNoYW5nZS1pc3N1ZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")**
- [![kyratn's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/redswirl.jpg)](/forum/user/38342-kyratn "View kyratn's Profile") Topic Author
- [ Offline](/forum/user/38342-kyratn)

Less More

- Posts: 1119
- Thank you received: 114
-
- [](http://kyra.lt)
-

8 years 2 months ago [\#297335](#297335) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  Replied by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")* on topic *[Checkout guest address country change issue](/forum/3-bug-report/895608-checkout-guest-address-country-change-issue#297335 "-- HikaShop version -- : 1808241828  Hi,  So after playing with checkout i just found another issue with address and zone restrictions....  To reproduce the issue:  1. Make sure address on registration is set to &quot;YES&quot; in checkout login block. 2. In address block set address to shipping or billing, it doesn't matter. 3.Try to checkout, Add address and register account. 4. Now edit address and select different country as example Germany, save it.  And the new address will be added in back-end which will be set as default with country Germany...( Issue here...Editable address should be saved instead new one created?)  5. Edit address again and select your default country, save it.  The default address in back-end will be that one with country Germany. In the front-end you see your default country address only...So shipping and payment zone restriction stops working here.  I have made quick video as this will help you understand issue better.  Kind Regards")*

UPDATE. Please ignore! i

It looks like i had some js error and it was cached. Sorry for taking your time....

Thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84OTU2MDgtY2hlY2tvdXQtZ3Vlc3QtYWRkcmVzcy1jb3VudHJ5LWNoYW5nZS1pc3N1ZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")**
- [![kyratn's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/redswirl.jpg)](/forum/user/38342-kyratn "View kyratn's Profile") Topic Author
- [ Offline](/forum/user/38342-kyratn)

Less More

- Posts: 1119
- Thank you received: 114
-
- [](http://kyra.lt)
-

8 years 2 months ago [\#297336](#297336) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  Replied by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")* on topic *[Checkout guest address country change issue](/forum/3-bug-report/895608-checkout-guest-address-country-change-issue#297336 "-- HikaShop version -- : 1808241828  Hi,  So after playing with checkout i just found another issue with address and zone restrictions....  To reproduce the issue:  1. Make sure address on registration is set to &quot;YES&quot; in checkout login block. 2. In address block set address to shipping or billing, it doesn't matter. 3.Try to checkout, Add address and register account. 4. Now edit address and select different country as example Germany, save it.  And the new address will be added in back-end which will be set as default with country Germany...( Issue here...Editable address should be saved instead new one created?)  5. Edit address again and select your default country, save it.  The default address in back-end will be that one with country Germany. In the front-end you see your default country address only...So shipping and payment zone restriction stops working here.  I have made quick video as this will help you understand issue better.  Kind Regards")*

MY BAD, the issue still there!!

It works fine if later you delete all addresses in back-end and reapply them again in front-end.

Could someone take a looks please??

Kind Regards

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84OTU2MDgtY2hlY2tvdXQtZ3Vlc3QtYWRkcmVzcy1jb3VudHJ5LWNoYW5nZS1pc3N1ZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")**
- [![kyratn's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/redswirl.jpg)](/forum/user/38342-kyratn "View kyratn's Profile") Topic Author
- [ Offline](/forum/user/38342-kyratn)

Less More

- Posts: 1119
- Thank you received: 114
-
- [](http://kyra.lt)
-

8 years 2 months ago [\#297338](#297338) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  Replied by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")* on topic *[Checkout guest address country change issue](/forum/3-bug-report/895608-checkout-guest-address-country-change-issue#297338 "-- HikaShop version -- : 1808241828  Hi,  So after playing with checkout i just found another issue with address and zone restrictions....  To reproduce the issue:  1. Make sure address on registration is set to &quot;YES&quot; in checkout login block. 2. In address block set address to shipping or billing, it doesn't matter. 3.Try to checkout, Add address and register account. 4. Now edit address and select different country as example Germany, save it.  And the new address will be added in back-end which will be set as default with country Germany...( Issue here...Editable address should be saved instead new one created?)  5. Edit address again and select your default country, save it.  The default address in back-end will be that one with country Germany. In the front-end you see your default country address only...So shipping and payment zone restriction stops working here.  I have made quick video as this will help you understand issue better.  Kind Regards")*

So finally i found what is giving issue.

1. When address on registration is set to "YES", after successful registration the shipping and billing addresses are created. All fine here.
2. After modifying shipping address and changing country, the billing address is updated as well.
3. Modifying again shipping address, the billing address is not updated anymore, those zone restrictions stop working properly as per my video attached.

Hope you can reproduce the issue and fix it.

Thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84OTU2MDgtY2hlY2tvdXQtZ3Vlc3QtYWRkcmVzcy1jb3VudHJ5LWNoYW5nZS1pc3N1ZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86564
- Thank you received: 14311
-
-

8 years 2 months ago [\#297344](#297344) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Checkout guest address country change issue](/forum/3-bug-report/895608-checkout-guest-address-country-change-issue#297344 "-- HikaShop version -- : 1808241828  Hi,  So after playing with checkout i just found another issue with address and zone restrictions....  To reproduce the issue:  1. Make sure address on registration is set to &quot;YES&quot; in checkout login block. 2. In address block set address to shipping or billing, it doesn't matter. 3.Try to checkout, Add address and register account. 4. Now edit address and select different country as example Germany, save it.  And the new address will be added in back-end which will be set as default with country Germany...( Issue here...Editable address should be saved instead new one created?)  5. Edit address again and select your default country, save it.  The default address in back-end will be that one with country Germany. In the front-end you see your default country address only...So shipping and payment zone restriction stops working here.  I have made quick video as this will help you understand issue better.  Kind Regards")*

Hi,

The payment methods zone restriction is based on the country of the billing address. So if you change the country of the shipping address, and not the one of the billing address, it's normal that the payment method zone restriction doesn't change.
The only issue I can perhaps see here, is why you would be able to change the billing address when you edit the shipping address the first time after creating the user account.
When you register and check the checkbox to use the billing address entered also as a shipping address, it should directly make a duplicate and you should have an address for the billing and an address for the shipping.
You can't look at the backend addresses of the customer. We didn't work on it yet and thus it just displays all the addresses of the customer without indicating if it's an address only for shipping or only for billing or for both (legacy addresses created before HikaShop 3.5). We'll have to change the system in the backend to display that.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84OTU2MDgtY2hlY2tvdXQtZ3Vlc3QtYWRkcmVzcy1jb3VudHJ5LWNoYW5nZS1pc3N1ZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")**
- [![kyratn's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/redswirl.jpg)](/forum/user/38342-kyratn "View kyratn's Profile") Topic Author
- [ Offline](/forum/user/38342-kyratn)

Less More

- Posts: 1119
- Thank you received: 114
-
- [](http://kyra.lt)
-

8 years 2 months ago [\#297387](#297387) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  Replied by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")* on topic *[Checkout guest address country change issue](/forum/3-bug-report/895608-checkout-guest-address-country-change-issue#297387 "-- HikaShop version -- : 1808241828  Hi,  So after playing with checkout i just found another issue with address and zone restrictions....  To reproduce the issue:  1. Make sure address on registration is set to &quot;YES&quot; in checkout login block. 2. In address block set address to shipping or billing, it doesn't matter. 3.Try to checkout, Add address and register account. 4. Now edit address and select different country as example Germany, save it.  And the new address will be added in back-end which will be set as default with country Germany...( Issue here...Editable address should be saved instead new one created?)  5. Edit address again and select your default country, save it.  The default address in back-end will be that one with country Germany. In the front-end you see your default country address only...So shipping and payment zone restriction stops working here.  I have made quick video as this will help you understand issue better.  Kind Regards")*

> nicolas wrote: Hi,
>
> The only issue I can perhaps see here, is why you would be able to change the billing address when you edit the shipping address the first time after creating the user account.

The issue is as you say Nicolas!

If i register account via joomla registration and then go to checkout, everything works fine because address block is used but if i register via show_block_login.php ( with settings address on registration is set to "YES") the issue occures on the first time editing shipping address.

If no country changed it works fine but as soon as you change country, the new billing address with that country will be created which shouldn't be....

I could go into deeper explanations cause i was playing with it like 4-6 hours and found this potentially could give some issues in next checkout steps. Which i am happy to explain later if need it....

Are you going to fix it?

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84OTU2MDgtY2hlY2tvdXQtZ3Vlc3QtYWRkcmVzcy1jb3VudHJ5LWNoYW5nZS1pc3N1ZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")**
- [![kyratn's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/redswirl.jpg)](/forum/user/38342-kyratn "View kyratn's Profile") Topic Author
- [ Offline](/forum/user/38342-kyratn)

Less More

- Posts: 1119
- Thank you received: 114
-
- [](http://kyra.lt)
-

8 years 2 months ago [\#297389](#297389) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  Replied by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")* on topic *[Checkout guest address country change issue](/forum/3-bug-report/895608-checkout-guest-address-country-change-issue#297389 "-- HikaShop version -- : 1808241828  Hi,  So after playing with checkout i just found another issue with address and zone restrictions....  To reproduce the issue:  1. Make sure address on registration is set to &quot;YES&quot; in checkout login block. 2. In address block set address to shipping or billing, it doesn't matter. 3.Try to checkout, Add address and register account. 4. Now edit address and select different country as example Germany, save it.  And the new address will be added in back-end which will be set as default with country Germany...( Issue here...Editable address should be saved instead new one created?)  5. Edit address again and select your default country, save it.  The default address in back-end will be that one with country Germany. In the front-end you see your default country address only...So shipping and payment zone restriction stops working here.  I have made quick video as this will help you understand issue better.  Kind Regards")*

Also if you register via show_block_login.php with settings address on registration is set to "YES" only one address is added in back-end. Which i don't know is shipping, billing or 2 in 1.

After editing shipping address and changing country, second address is added which is billing.... Defintely something wrong here!

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84OTU2MDgtY2hlY2tvdXQtZ3Vlc3QtYWRkcmVzcy1jb3VudHJ5LWNoYW5nZS1pc3N1ZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86564
- Thank you received: 14311
-
-

8 years 2 months ago [\#297430](#297430) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Checkout guest address country change issue](/forum/3-bug-report/895608-checkout-guest-address-country-change-issue#297430 "-- HikaShop version -- : 1808241828  Hi,  So after playing with checkout i just found another issue with address and zone restrictions....  To reproduce the issue:  1. Make sure address on registration is set to &quot;YES&quot; in checkout login block. 2. In address block set address to shipping or billing, it doesn't matter. 3.Try to checkout, Add address and register account. 4. Now edit address and select different country as example Germany, save it.  And the new address will be added in back-end which will be set as default with country Germany...( Issue here...Editable address should be saved instead new one created?)  5. Edit address again and select your default country, save it.  The default address in back-end will be that one with country Germany. In the front-end you see your default country address only...So shipping and payment zone restriction stops working here.  I have made quick video as this will help you understand issue better.  Kind Regards")*

Hi,

I found the issue.
It was a subtility that we didn't account for.
I've added a patch for it.
You can download the install package on our website and install it on yours to get the patch.

The following user(s) said Thank You: [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84OTU2MDgtY2hlY2tvdXQtZ3Vlc3QtYWRkcmVzcy1jb3VudHJ5LWNoYW5nZS1pc3N1ZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")**
- [![kyratn's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/redswirl.jpg)](/forum/user/38342-kyratn "View kyratn's Profile") Topic Author
- [ Offline](/forum/user/38342-kyratn)

Less More

- Posts: 1119
- Thank you received: 114
-
- [](http://kyra.lt)
-

8 years 2 months ago [\#297435](#297435) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  Replied by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")* on topic *[Checkout guest address country change issue](/forum/3-bug-report/895608-checkout-guest-address-country-change-issue#297435 "-- HikaShop version -- : 1808241828  Hi,  So after playing with checkout i just found another issue with address and zone restrictions....  To reproduce the issue:  1. Make sure address on registration is set to &quot;YES&quot; in checkout login block. 2. In address block set address to shipping or billing, it doesn't matter. 3.Try to checkout, Add address and register account. 4. Now edit address and select different country as example Germany, save it.  And the new address will be added in back-end which will be set as default with country Germany...( Issue here...Editable address should be saved instead new one created?)  5. Edit address again and select your default country, save it.  The default address in back-end will be that one with country Germany. In the front-end you see your default country address only...So shipping and payment zone restriction stops working here.  I have made quick video as this will help you understand issue better.  Kind Regards")*

> nicolas wrote: It was a subtility that we didn't account for.

Hi,

Well you have some great user who will find it for you ![:)](/media/kunena/emoticons/3.png ":)")

It is working fine now!

Thank you for your support Nicolas

Have a great weekend

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84OTU2MDgtY2hlY2tvdXQtZ3Vlc3QtYWRkcmVzcy1jb3VudHJ5LWNoYW5nZS1pc3N1ZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.076 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
