Re: Snap Affiliates v2.0 for v1.5.0 and later
v3.0.0 is now available for download ...
Re: Snap Affiliates v2.0 for v1.5.0 and later
I've been notified (thanks, bumba000) of a minor XSS flaw that has existed within the Snap Affiliates code from the get-go. v3.0.1 contains this correction and is now available for download from the plugins area (http://www.zen-cart.com/downloads.php?do=file&id=1635).
All changes associated with this update are marked with //-v3.0.1, making it easier for you to find and correct the issue. For those of you using a version prior to v3.0.0, you only need to focus on the changes in the header_php.php files on the referrer_edit and referrer_signup pages.
Re: Snap Affiliates v2.0 for v1.5.0 and later
Can one do deep linking with Snap?
Re: Snap Affiliates v2.0 for v1.5.0 and later
Quote:
Originally Posted by
pietpetoors
Can one do deep linking with Snap?
Yes, affiliates can create referrer-code links to any page on your site.
Re: Snap Affiliates v2.0 for v1.5.0 and later
Quote:
Originally Posted by
lat9
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>
}
Thanks for your response, is this to be added to class.snap_order_observer.php?
Also can I define a message to show when the coupon is attempted to add?
Re: Snap Affiliates v2.0 for v1.5.0 and later
If it were me, I'd create yet-another observer to handle your specifics (disallowing certain coupon codes for orders that will be giving an affiliate commission).
Re: Snap Affiliates v2.0 for v1.5.0 and later
Quote:
Originally Posted by
lat9
If it were me, I'd create yet-another observer to handle your specifics (disallowing certain coupon codes for orders that will be giving an affiliate commission).
Thanks but I have no idea how to do this :smile: would greatly appreciate any help!
Re: Snap Affiliates v2.0 for v1.5.0 and later
Please start a new thread (outside of SNAP Affiliate's support thread) and I'll give you a couple of pointers.
Re: Snap Affiliates v2.0 for v1.5.0 and later
Quote:
Originally Posted by
lat9
Please start a new thread (outside of SNAP Affiliate's support thread) and I'll give you a couple of pointers.
Posted here TIA
Re: Snap Affiliates v2.0 for v1.5.0 and later
I just submitted v3.0.2 to the plugins. This version corrects the handling of CR/LF sequences in the status-update messages; incorporates osh_updated_by v1.2.1.