solution
  • Call Us
  • 360.322.4907 or 610.562.2900

Monday - Friday ( 10.00 - 17.00 EST / 07.00 - 14.00 PST )

Can I use Name Split with HikaShop?

Using NS Name Split with HikaShop is possible but it requries some modifications due to both plugins using the same save function when writing names to the database.

1. In nsnamesplit.php add this new code right after the UPDATE users script

$q= "INSERT INTO #__hikashop_user (user_cms_id, user_email) ";
$q .= "VALUES (".(int)$user['id'].", '".$db->getEscaped($user['email'])."') ";
$db->setQuery($q);
$db->query();

2. In hikashopuser.php (plugins/system/hikashopuser/hikashopuser.php) comment out lines 25/26 which is the function onUserAfterSave

It should look like:

/*function onUserAfterSave($user, $isnew, $success, $msg){
return $this->onAfterStoreUser($user, $isnew, $success, $msg);
}*/

  • Friday, 21 July 2017

Support is currently

Support Forum

Announcements
  1. 0 subcategories
CiviCRM for RSForm
  1. 2 subcategories
NS Members Only
  1. 2 subcategories
NS Formula
  1. 2 subcategories
Marysville, WA 98270 United States
(360) 322-4907
Hamburg, PA 19526 United States
(610) 562-2900

Newsletter

Keep up-to-date with our latest news.