v2.8.0 is now available from the Plugins area. The update provides downwardly-compatible changes required for Zen Cart v1.5.4.
Hi was wondering if someone could help me (no idea how it is built might be impossible) limit certain coupon codes should not work if the order is an affiliate order?
TIA
There's a session variable set if the current customer has entered your store using an affiliate link, so you'd bracket your custom coupon-limiting code with:
Code:if (isset($_SESSION['referrer_key']) && zen_not_null($_SESSION['referrer_key'])) { <your custom code here> }
I have an odd issue. We installed v2.7.1 in a new store running Zen 1.5.3. We imported a number of affiliates from a different system, synced affiliate codes, and launched and all seemed well.
We just had our first new affiliate sign-up. We got their info, they were assigned a number, but when we go to approve them the screen refreshes and the first affiliate in our list is toggled to unapproved.
To trace the flow:
List affiliates, find an unapproved one. Click the row to bring up the record: ( I am wrapping urls in code to avoid munging, I hope...)
Correct referrer record displays. Click the Approve button. Code tags have post info from request:Code:https://www.naturalpetrx.com/XXXXXX/referrers.php?page=2&referrer=938&mode=details
Screen refreshes to details of first referrer in list, and they are now marked Not approved. They are not referrer 938, that was the original referrer.Code:commission 35 mode mode Approve referrer 938 securityToken a4812229a2be4e95f4d661686bdc1b36
Has anybody seen something similar, or can anyone point me in the right direction?
Hmm, two mode variables?
I'll need to investigate further.Code:commission 35 mode mode Approve referrer 938 securityToken a4812229a2be4e95f4d661686bdc1b36
I'm not seeing this behavior on SNAP v2.7.3 on Zen Cart v1.5.1.
What method did you use to import/sync those affiliate codes?
hi Cindy,
Maybe a stupid question but i'm struggling with the sign_up procedure. Am I correct in understanding that the only way to sign up as an affiliate is by entering the URL for wich the customer already has to be registered and signed in?
Unless I didn't set up the plugin correctly this means, the affiliate-to-be creates an account (regular ZC account) then has to click on "Our Partner Programm" in the informationbox again to get to the sign_up form (the URL that is). This seems a complicated way to sign up. And rather hard to explain to a wannabee Affiliate. Isn't there some kind of shortcut? In my case just simply filling out a form and getting a notice that a Affiliates needs approval would be sufficient.
many thanks in advance. Sander
As the code/process sits today, an affiliate to your store needs to have an account with your store -- that's how the admin side of the processing maps the affiliates's "code" to a person.
That said, you could look at also installing the "Encrypted Master Password" plugin. That would allow you (the Zen Cart admin) to create the account for the customer/affiliate and go through the "difficult" steps of requesting an affiliate link.
Bookmarks