Skip to main content

Affiliate id = Joomla profile field

11 years 3 weeks ago #217215 by ozwest
-- HikaShop version -- : n/a

I need to pass on the affiliate id through an event that is created with JEvents.

Is the affiliate id recorded as a Joomla profile field?

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

11 years 3 weeks ago #217235 by nicolas
Hi,

The affiliate id is available in the cookies.
So JEvents can already access it like that:
Code:
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; echo hikashop_decode(JRequest::getCmd('hikashop_affiliate', 0, 'cookie'), 'partner');

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

Time to create page: 0.061 seconds
Powered by Kunena Forum