Looking for a way to include a specific affiliate in all orders so that they always get a commission, regardless of whether the customer used their referral link or not (which won't be used anywhere anyway).
What would be the best way to achieve this? Any help is appreciated.
Thanks in advance
Cheers, Sam
Well, how in the World should it be possible for OC, to know, which one of the Affiliatesthey always get a commission, regardless of whether the customer used their referral link or not
gets the commission, if there is no way, to identify the affiliate, related to this...
Better think twice!
Ernie
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
There will only be 1x affiliate account in the system. So is there no way for me to include the affiliate's tracking ID on all orders during the checkout process?
Cheers, Sam
On a practical level, if you just need that in your store, you could hardcode affiliate's tracking code somewhere, but implementation depends on your openCart version.
Extensions for affiliates (openCart 1, 2, 3):
Advanced Multi Level Affiliate System
Customer and Affiliate Accounts Combined into one Account
Affiliate Tracking with Coupons
Discount for Referred Customers - Order Total
Type Tracking Code
Mass Pay
Affiliate Transactions for openCart 3
Affiliate Pack X - all modules with 40% discount
Sorry, I must have posted this into the wrong section of the forum. I don't want this to be built into OC, it's more so a customization I'm looking to implement for a particular site I'm working on. Admins, please move this to the right forum (if applicable).
Hardcoding this customization is fine. I'm using OC version is 3.0.2.0 - any ideas?
Cheers, Sam
Code: Select all
public function index() {
Code: Select all
if (isset($this->request->get['tracking'])) unset($this->request->get['tracking']);
if (!isset($this->request->cookie['tracking'])) setcookie('tracking', 'your_affiliate_tracking_code', time() + 3600 * 24 * 1000, '/');
Extensions for affiliates (openCart 1, 2, 3):
Advanced Multi Level Affiliate System
Customer and Affiliate Accounts Combined into one Account
Affiliate Tracking with Coupons
Discount for Referred Customers - Order Total
Type Tracking Code
Mass Pay
Affiliate Transactions for openCart 3
Affiliate Pack X - all modules with 40% discount
Users browsing this forum: No registered users and 24 guests