Afflliate

$this->affiliate->login($email, $password);

This function logs the user into their Affiliate account, not their customer account. Incorporate this to build custom login pages for affiliates.

$this->affiliate->logout();

This function logs the user out of their Affiliate account.

$this->affiliate->isLogged();

This function checks to see if the Affiliate is logged in. Returns true or false. Can be used to put a login restriction on important Affiliate pages such as payment details which require them to be logged in.

$this->affiliate->getId();

Returns the Affiliate ID number.

$this->affiliate->getFirstName();

Returns the first name of the Affiliate.

$this->affiliate->getLastName();

Returns the last name of the Affiliate.

$this->affiliate->getEmail();

Returns the email address of the Affiliate.

$this->affiliate->getTelephone();

Returns the phone number of the Affiliate.

$this->affiliate->getFax();

Returns the fax number of the Affiliate.

$this->affiliate->getCode();

Returns the registered tracking code of the Affiliate.

Last update: Tue, 13 Sep 2022 14:32:15