Hi,
I just fount that alta user points can send email by it self so I don't need to include it to hikashop emails...
I have used code below in mod_login view to display how many points user has. After I switched to alta I cant find a way to show it...
if(!defined('DS'))
define('DS', DIRECTORY_SEPARATOR); if(!include_once(rtrim(JPATH_ADMINISTRATOR,DS).DS.'components'.DS.'com_hikashop'.DS.'helpers'.DS.'helper.php')) return true;
$hkUser = hikashop_loadUser(true);
$Title = JText::_('');
$user = JFactory::getUser();
$groups = $user->groups;
if($user->id) {
if (isset($groups[2])) echo '<a class="uservip gold"><i class="fa fa-star-o fa-lg" style="color: #ffd700;><span class="hika_user_points">','<span class="hk-user-points">',$hkUser->user_points,'</span>','</span></i></a>'
I clearly understand that this is not 100% related to hikashop but maybe someone could give me an example how could I load alta user points?
Thank you