Skip to main content

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

9 years 5 months ago #272906 by jschroeder
-- 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.

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

9 years 5 months ago #272907 by jschroeder
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.

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

9 years 5 months ago #272912 by Jerome
Hello,

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

Regards,

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

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

9 years 5 months ago #272981 by jschroeder
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.

9 years 5 months ago #273002 by nicolas
Hi,

I found the issue.
Replace the code:
Code:
if(!in_array($params['default_registration_view'], array('login','0','1','2')))
to:
Code:
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.074 seconds
Powered by Kunena Forum