1. You'll need to grab an account at
http://joomlashack.intellicontact.com
2. Get a secret key and password for this application from Intellicontact
3. You'll need to add this code to func.php before:
# Send notifications to orders department and providers when product amount in stock is low
(about line 3216)
Code:
# Subscribe the customer to a list at IntelliConnect. X-Cart support team (zaa@cdev.ru) #537293395 [[[
require $xcart_dir."/include/intellicontact.php";
$ic_key = "";
$ic_secret = "";
$ic_login = "";
$ic_password = "";
$ic_list_id = "";
$contact_data = array(
"prefix" => $userinfo['b_title'],
"fname" => $userinfo['b_firstname'],
"lname" => $userinfo['b_lastname'],
"email" => $userinfo['email'],
"address1" => $userinfo['b_address'],
"address2" => (!empty($userinfo['b_address2']) ? $userinfo['b_address2'] : ''),
"city" => $userinfo['b_city'],
"state" => $userinfo['b_state'],
"zip" => $userinfo['b_zipcode'],
"phone" => $userinfo['phone']
);
$res = ic_handle_subscription($ic_key, $ic_secret, $ic_login, $ic_password, $contact_data, $ic_list_id);
# ]]]
}
Enter in your account info, secret key etc as appropriate.
4. Add the attached include file. Note its been renamed to a txt file so I could upload it