Default registration view does not work when simplified with password is chosen

  • Posts: 165
  • Thank you received: 3
7 years 4 months ago #272906

-- HikaShop version -- : 3.1.1
-- Joomla version -- : 3.7.2
-- PHP version -- : 7
-- Error-message(debug-mod must be tuned on) -- : Default registration does not work correctly.

Hi, I am on the most recent version of the cart with the new checkout and the "default registration view" selection does not work when "simplified with password" is chosen for the default value. This has to be a bug. It just defaults back to the login form instead. Attached is a combination of my settings.



I deleted all extra layout overrides out of the checkouts folder and this is still happens so there has to be some sort of bug. Also, I see no javascript errors and all other default registration view selections work, just not the combination I have. Please let me know what the fix is to this.

Attachments:

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

  • Posts: 165
  • Thank you received: 3
7 years 4 months ago #272907

Also, here is a screen shot of what the checkout is doing. It should be selecting "create an account" option by default because that is the "simplified registration with password" option. Instead it is defaulting to the "login" instead.

Attachments:

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 4 months ago #272912

Hello,

Are you using the new checkout system or the legacy one ?

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 165
  • Thank you received: 3
7 years 4 months ago #272981

As I said in my previous post I am using the new checkout system.

Thanks,

Josh

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
7 years 4 months ago #273002

Hi,

I found the issue.
Replace the code:

if(!in_array($params['default_registration_view'], array('login','0','1','2')))
to:
if(!in_array($params['default_registration_view'], array('login','0','1','2','3')))
in the file administrator/components/com_hikashop/helpers/checkout/login.php and that will fix the problem (it did it on my end).
We'll add the patch.

The following user(s) said Thank You: PolishedGeek

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

Time to create page: 0.072 seconds
Powered by Kunena Forum