Switcher - Login/Registration

  • Posts: 8
  • Thank you received: 0
10 years 5 months ago #181821

-- url of the page with the problem -- : www.fieldtestedgear.com/index.php/our-st...checkout/step/step-0
-- HikaShop version -- : 2.3.4 Business
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.3.28
-- Browser(s) name and version -- : Safari 8.0
-- Error-message(debug-mod must be tuned on) -- : None - Not Applicable.

Hi there Nicolas and Team,

I have setup under Login & Registration:

Login: Yes
Display method for registration: Switcher
Registration: Simplified registration with password
Display email confirmation field: No.
Ask address on registration: Yes.

As you can see from the screenshot, the 'default' is Login but it makes a LOT more sense for it to be Registration, how do I switch it to that, I search the forum but didn't find ANYthing about that :(

I can't be the only one that wants Registration as a default, can I?

Cheers,

Emmanuel for Michael.

Attachments:

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

  • Posts: 13201
  • Thank you received: 2322
10 years 5 months ago #181832

Hi,

You have to edit the view "checkout / login" and comment the code:

	if($display_login){
		$classLogin = '';
		$classRegistration = 'hikashop_hidden_checkout';
		$defaultSelection = 'login';
	}
Then add:
$defaultSelection = '3';
Before:
echo JHTML::_('hikaselect.radiolist',  $values, 'data[register][registration_method]', ' onchange="displayRegistration(this)"', 'value', 'text', $defaultSelection, false, false, true );

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

  • Posts: 8
  • Thank you received: 0
10 years 5 months ago #181922

Hi Xavier,

if there is no way to do it without editing the Views - boo hoo :(

I'll leave it as is, too difficult long term for upgrades to modify the views...

But THANK YOU for replying... hopefully you'll be able to answer my other Topic ;)
[ www.hikashop.com/forum/checkout/873379-p...-cart-menu-page.html ]

Cheers,

Emmanuel.

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

Time to create page: 0.084 seconds
Powered by Kunena Forum