Missing Name and Address Fields at Checkout (Browser-Specific) [4.6.0]

  • Posts: 34
  • Thank you received: 4
  • Hikashop Essential
2 years 5 months ago #342086

-- HikaShop version -- : 4.6.0
-- Joomla version -- : 3.10.9
-- PHP version -- : 7.4.29
-- Browser(s) name and version -- : Various - See Below
-- Error-message(debug-mod must be tuned on) -- : "Enter a billing address" and "Enter a shipping address."

In an attempt to correct some other problems, I have discovered a browser-specific omission in the checkout flow. The first step in the checkout process is the address page. Of the browsers I've tried, only Firefox shows the billing and shipping address fields.

Joomla Version: 3.10.9
Checkout Workflow Step 1 - Address
Read only - No
Address selector - List
Type - Both
Show 'same address' checkbox - Yes
Same address checkbox pre-checked - Yes
Allow multiple addresses - Always

Browser Test Local Site Using HikaShop Starter 4.6.0
PHP Version: 7.4.16
Firefox 96.0 on Linux - Works as expected. Billing address and Shipping address fields are shown.
Google Chrome 102.0.5005.61 on Linux - Billing address and Shipping address fields not shown. The division with an ID of hikashop_checkout_address_1_0 exists but only contains two empty divisions with classes of hikashop_checkout_loading_elem and hikashop_checkout_loading_spinner. If I select Next, the site displays the error messages "Enter a billing address" and "Enter a shipping address."
Opera 87.0.4390.36 on Linux - Billing address and Shipping address fields not shown.
Konqueror 20.12.3 on Linux - Billing address and Shipping address fields not shown.
Brave 1.39.111 on Linux - Billing address and Shipping address fields not shown.

Browser Test Online Site Using HikaShop Starter 4.6.0
PHP Version: 7.4.29
Firefox 96.0 on Linux - Works as expected. Billing address and Shipping address fields are shown.
Google Chrome 102.0.5005.61 on Linux - Billing address and Shipping address fields not shown.
Opera 87.0.4390.36 on Linux - Billing address and Shipping address fields not shown.
Konqueror 20.12.3 on Linux - Billing address and Shipping address fields not shown.
Brave 1.39.111 on Linux - Billing address and Shipping address fields not shown.
Firefox on Windows 10 - Billing address and Shipping address fields not shown.
Edge on Windows 10 - Billing address and Shipping address fields not shown.

What else can I try?

How do I get back to version 4.5.1? That package is apparently no longer available online.


Charles

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
2 years 5 months ago #342088

Hi,

I don't think it is related to your version of HikaShop nor the browser you're using.
The address view will only display itself if the user is either logged in or has filled the guest form of the "login" view of the checkout workflow.
I suppose that you removed the "login" view and you logged in to your website frontend with Firefox and didn't login with other browsers and that's why you see a difference.
You must have had the exact same issue before updating.
The solution is simple: add back the "login" view to your checkout workflow and it should work properly.

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

  • Posts: 34
  • Thank you received: 4
  • Hikashop Essential
2 years 5 months ago #342114

nicolas wrote: Hi,
The solution is simple: add back the "login" view to your checkout workflow and it should work properly.

Okay, Nicolas. I have reenabled the Login step in the Checkout Workflow. I also had to reenable User Registration in Joomla.
I certainly don't want any potential customers to be required to create login credentials. I just need to capture their address to pass to PayPal to complete the order.
To that end I have found a few other threads herein that appear to contain solutions to that problem.


Charles

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
2 years 5 months ago #342115

Hi,

Under the "checkout" tab of the HikaShop configuration, you need to set the "registration" setting to "guest".
That way, users will be able to checkout with just their email address, without any registration and without the need to activate the Joomla user registration.

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

  • Posts: 34
  • Thank you received: 4
  • Hikashop Essential
2 years 5 months ago #342118

In my Starter version of HikaShop, I navigated to Administrator > Components > HikaShop > System > Configuration > Checkout > Login & Registration. Login is set to Yes and User group on registration is now set to Guest. With Login set to No, I realized that it wouldn't be possible for a returning customer to return to a previously-created account.

I also added two language overrides to clarify the Login page for customers. The text in HIKA_LOGIN is now "Login (for returning customers)" and the text in HIKA_REGISTRATION is now "Registration (for new accounts)."

I miss seeing the customer's address in the Cart display but I'll have to come back to that later.


Charles

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
2 years 5 months ago #342121

Hi,

The "registration" option is only available with the Essential and Business editions.
So with the Starter edition, you can only have a checkout with a registration mode and not a guest mode.
I've never tried setting the "User group on registration" setting to "guest". If it works for you, great. However, normally, what you want to do would be done with the "registration" setting set to "guest".

To have the address entered in the "address" view displayed elsewhere in the checkout, you can add a second "address" view with its "read only" setting activated.

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

  • Posts: 34
  • Thank you received: 4
  • Hikashop Essential
2 years 5 months ago #342128

nicolas wrote: Hi,
To have the address entered in the "address" view displayed elsewhere in the checkout, you can add a second "address" view with its "read only" setting activated.

That's a good idea. I've just implemented that on the site.


Charles

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

Time to create page: 0.045 seconds
Powered by Kunena Forum