New Billing/Shipping Address displaying twice

  • Posts: 303
  • Thank you received: 18
  • Hikashop Business
5 years 9 months ago #295012

-- HikaShop version -- : 3.5.0
-- Joomla version -- : 3.8.10

Odd problem after update to hikashop 3.5.0. When a new address (billing or shipping) is added, it appears twice.

For example, use this link to add a product to the cart: www.testing.mojooutdoors.com/index.php?o...1&cid=695&Itemid=505

After registration/login, you will notice the behavior after adding an address. It displays twice every time. Additionally, if you edit an existing address and click "ok", the address is also saved and displaying twice.

I can provide backend credentials via PM if necessary.

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

  • Posts: 81504
  • Thank you received: 13064
  • MODERATOR
5 years 9 months ago #295033

Hi,

It looks like it's because of some view overrides you have regarding the address edition / selection area.
Try renaming the folder templates/YOUR_TEMPLATE/html/com_hikashop/address and the file templates/YOUR_TEMPLATE/html/com_hikashop/checkout/show_block_address.php and it should help.

The following user(s) said Thank You: mojooutdoors-holden

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

  • Posts: 303
  • Thank you received: 18
  • Hikashop Business
5 years 9 months ago #295092

Already tried removing the customization on the view files. Same behavior. Both "editing" an existing address (see screenshot below) and adding a new one results in a duplicate entry.



For completeness, i also tried using the default joomla template and same behavior as I thought my template might be causing some strange javascript issue. Still no luck...

Attachments:

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

  • Posts: 81504
  • Thank you received: 13064
  • MODERATOR
5 years 9 months ago #295105

Hi,

I did a test like yesterday on your website and I don't have the problem anymore:
monosnap.com/file/sQGW2KjtAbAcJd49KHFhyK4E0hmorQ
The test_hikashop address was added on the registration form, the test_hikashop2 was added with the new shipping address form after that with the "Address is also a billing address" checkbox unchecked. And for the test_hikashop3 it was added like the test_hikashop2 but with the checkbox checked.
So to me it looks like removing the overrides solved the issue.

Note that if you already had duplicated addresses for your user account, you'll still keep them duplicated unless you delete them.

The following user(s) said Thank You: mojooutdoors-holden

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

  • Posts: 303
  • Thank you received: 18
  • Hikashop Business
5 years 9 months ago #295156

There is still a duplicate entry if you edit an existing address and save it. I can now add a new one with no duplicate entry but still cannot properly edit an existing address.

Tried this with multiple accounts.

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

  • Posts: 12953
  • Thank you received: 1778
5 years 9 months ago #295220

Hello,

Can you download the last Hikashop version through our website, install it and test it again ? Thank you.

Best regards,
Mohamed Thelji.

The following user(s) said Thank You: mojooutdoors-holden

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

  • Posts: 1119
  • Thank you received: 114
5 years 9 months ago #295231

Hi,

I had same issue but after update it now works fine for me.

Thanks for the support.

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

  • Posts: 303
  • Thank you received: 18
  • Hikashop Business
5 years 9 months ago #295234

That worked! Thanks Mohamed and Nicolas!

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

  • Posts: 303
  • Thank you received: 18
  • Hikashop Business
5 years 9 months ago #295236

I have one follow up question regarding the addresses. Is there any way to only allow ONE shipping and ONE billing address? The multi address selection is not very useful for my customers and 99.99% of users only have 1 set of addresses.

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

  • Posts: 1119
  • Thank you received: 114
5 years 9 months ago #295237

Hi,

You could remove new address button using view override or you can just add some css like this:

.hikashop_checkout_address_new_button  {
display:none;
}

Hope that helps.

Thanks

The following user(s) said Thank You: Mohamed Thelji, Greg_C

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

  • Posts: 81504
  • Thank you received: 13064
  • MODERATOR
4 years 6 months ago #311345

Hi,

Note that there is now a setting "Allow multiple addresses" for the Address view in the checkout workflow of the HikaShop configuration which will remove the new address buttons if turned off.

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

Time to create page: 0.105 seconds
Powered by Kunena Forum