-- 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?