Address is also a shipping address button not functioning

  • Posts: 3
  • Thank you received: 0
  • Hikashop Business
6 days 15 hours ago #370712

-- HikaShop version -- : 6.3.0
-- Joomla version -- : ‎5.4.3
-- Browser(s) name and version -- : Firefox

Hello, I have been having some trouble with the "Address is also a shipping address" button. In checkout when I uncheck it, no additional fields appear to add my shipping address.

My checkout workflow thus far is
Step 1: Login (user can choose between Login, Register and Guest)
Step 2: Address

I have "Ask address on registration" set to no, as I want the address handled on the next step.
In the Address step I have "Same address checkbox pre-checked" set to yes.

Sure Enough it shows up pre-checked but when I un-check it nothing happens.

When I play with the settings in the login settings and try turning "Ask address on registration" to YES and "Same address checkbox pre-checked" to YES, then the box shows unchecked.. Not sure why I cant get this to work!

Settings images attacehd

Thanks,

Matt

Attachments:

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

  • Posts: 85260
  • Thank you received: 13917
  • MODERATOR
6 days 7 hours ago #370719

Hi,

I'm not able to assess the situation on your website frontend as Joomla is configured to not provide access to the frontend unless logged in.
Also, I'm not able to reproduce the issue on my end and I double checked the code and I don't see how this could happen.
This seems to hint at something else: You might actually be looking at the address block, not the login block. Note that once you're logged on your frontend, if you access a step with the login block, the login block won't display anything. And if you only have the login block on the step, it will automatically switch to the next step.
Also, if you didn't activate the checkout progress bar setting, you would not be able to see which step you're on, and thus that might be why you might be thinking the login block is not working properly as you might be looking at the address block.
An easy way to distinguish between them is that the login block will always display the email input field, while the new address form of the address block will only display address fields.

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

  • Posts: 3
  • Thank you received: 0
  • Hikashop Business
5 days 3 hours ago #370738

Thanks for your time Nicolas. I do have the progress bar activated. The only way I can get the checkbox to work normally is when I have BOTH the login block and address block placed in Step 1, and "Ask address on registration" to set to "yes". All other configurations give me the issues I describe. I have made the site public, if you could try out the guest checkout process and let me know what you make of it I would appreciate it.


Matt

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

  • Posts: 85260
  • Thank you received: 13917
  • MODERATOR
4 days 22 hours ago #370739

Hi,

Ok. I think I understand the situation. It's a confusion.
The system is made thinking that normally the address is asked on the registration form / guest form.
So, when you arrive on the address block, you already have addresses.
Also, the system handles several billing / shipping addresses per user, so, on the address block, you get a "new" button for the shipping address area and a "new" button for the billing address area.
When, you create a new shipping address, the new address form appears with the "Address is also a billing address" checkbox. If you check it, the shipping address entered will also be added as a billing address after the user validated the address.
Similarly, when, you create a new billing address, the new address form appears with the "Address is also a shipping address" checkbox. If you check it, the billing address entered will also be added as a shipping address after the user validated the address.
In your case, since the user doesn't have yet a billing address, you directly see the new billing address form. And thus, it displays the "Address is also a shipping address" checkbox. And when you validated, if the checkbox is checked, the address will appear as both a billing and a shipping address. But if you don't check it, then, after you validate, you'll see the new shipping address form.
The confusion is that you expect this "Address is also a shipping address" checkbox to work as the "Use same address for shipping" checkbox from the registration form, which directly displays the shipping address form below the billing address form. But here, the address block is there to manage addresses, and so the new billing address form doesn't assume that there are no shipping addresses yet and there is no mechanism to display directly a new shipping address form below it when unchecking the "Address is also a shipping address" checkbox. The checkbox is there to help filling extra addresses linked to his user account.

If that's something you're really keen on having, I would recommend activating back the "Ask address on registration" setting.

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

  • Posts: 3
  • Thank you received: 0
  • Hikashop Business
3 days 23 hours ago #370760

Thank you for looking into it Nicolas.

Matt

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

Time to create page: 0.061 seconds
Powered by Kunena Forum