Post by auz87 » Thu Aug 04, 2016 3:41 am

Hi there,

Clicking approve affiliate simply takes me to the admin login page again. Hovering over the approve button I can see that the url is just that, a link to the admin login page. Is there a fix or a workout around that someone knows of for this please?

Opencart version 2.0.1.0

Regards,

Austin

Newbie

Posts

Joined
Thu Aug 04, 2016 3:30 am

Post by ocmta » Thu Aug 04, 2016 8:04 pm

It's a bug in this version, to fix:

admin/controller/marketing/affiliate.php Line 395, replace:

Code: Select all

if ($result['approved']) {
with

Code: Select all

if (!$result['approved']) {

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


Active Member

Posts

Joined
Mon Mar 12, 2012 11:21 am


Post by straightlight » Thu Aug 04, 2016 8:12 pm

This topic will be moved to the Bug Reports section of the forum.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 7 guests