Load object "userViewUser"?

  • Posts: 97
  • Thank you received: 0
7 years 6 months ago #269448

-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.6

In my shop config I have: Registration->Guest

I want to offer also my users to pay as guest but also to register. To do this I copied the file registration.php in "/templates/my_shop/html/com_hikashop/user",

In the "/templates/my_shop/html/com_hikashop/checkout/login.php" I tried to call the registrationNEW.php with following command:

$usersConfig = JComponentHelper::getParams( 'com_users' );
			$allowRegistration = 1;
			if($allowRegistration || $this->registration[3]){
				echo hikashop_getLayout('user','registrationNEW',$params,$js);
			}else{
				echo JText::_('REGISTRATION_NOT_ALLOWED');
			}
Error: object not found for: userViewUser

In registrationNEW.php it is on line 15, code: $this->display_method

How can I load this object userViewUser?

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 6 months ago #269449

Hello,

Why not using the HikaShop Business features which already allow to do so ?
www.hikashop.com/support/documentation/5....html#checkout_login

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.

Time to create page: 0.053 seconds
Powered by Kunena Forum