Snap Affiliates for Zen Cart v1.5.0+

Description
This plugin is based on the similarly-named add-on for the Zen Cart v1.3.x series, with the following changes:
[*] No core-file overwrites!
[*] Moved all language-specific text to the language file, both catalog and admin.
[*] Moved $_SESSION['referrer'] initialization to /includes/init_includes/init_snap.php and /includes/auto_loaders/config.snap.php; /includes/application_top.php is no longer changed by this plugin.
[*] Moved changes to /includes/database_tables.php and /includes/filenames.php to /includes/extra_datafiles/snap_file_database_names.php; those core files are no longer changed by this plugin.
[*] Moved hard-coded referral terms to a separate language define file (/includes/languages/english/html_includes/define_referrer_terms.php and /includes/languages/english/html_includes/YOUR_TEMPLATE/define_referrer_terms.php).
[*] Moved /snapconfigure.php file initializations to your admin's Configuration->Affiliate Program.
[*] Database initialization is now performed automatically via your Zen Cart admin.
[*] Added "Information" sidebox link, controlled via admin configuration switch.
[*] Affiliate banner images are now specified via your admin.
[*] Commissions are given only to affiliate accounts that are previously authorized and not banned. An affiliate customer can no longer get a discount by using their own affiliate code.
[*] Using Zen Cart default email template for all emails sent; no longer require additional templates.
+ Download Latest

Forum Support Thread

Submit An Updated Version
Zen Cart® Versions v1.5.7
Original Author lat9
Last Updated by lat9 - 14 Aug 2021
Downloads 4,315

Version History

Snap Affiliates for Zen Cart v1.5.0+   -   Version: v4.2.0
This release contains changes associated with the following GitHub issues:

#37: Setting 'samesite' attribute for referrers' cookies.
#38: Correcting a referrer's first-order-date if an order's date_purchased is NULL.
#39: Drop support for Zen Cart versions prior to zc157a, PHP versions prior to 7.0.3.
#40: Don't offer commission pay-out on orders with excluded statuses.
#41: Add 'standard' Zen Cart listing Action column for the admin's referrers listing.
#44: Default a referrer's home-page to use https protocol, add rel="noopener noreferrer" to admin links.
  + Download
Zen Cart® Versions v1.5.7
Date Added 14 Aug 2021
Author lat9
File Size 279.4 KB
PHP 5.3 Safe? No
Downloads 151
 
Snap Affiliates for Zen Cart v1.5.0+   -   Version: v4.1.3
This release contains changes associated with the following GitHub issue:

#35: Customers::Referrers, unpaid commission total displays incorrect amount.
  + Download
Zen Cart® Versions v1.5.5, v1.5.6, v1.5.7
Date Added 11 Jul 2020
Author lat9
File Size 297.2 KB
PHP 5.3 Safe? No
Downloads 119
 
Snap Affiliates for Zen Cart v1.5.0+   -   Version: v4.1.2
This release contains changes associated with the following GitHub issues:

#33: "Incorrect datetime value" on install/upgrade for strict MySQL installations.
#34: Use template_default files as the change-basis.
  + Download
Zen Cart® Versions v1.5.5, v1.5.6
Date Added 31 Mar 2020
Author lat9
File Size 297.0 KB
PHP 5.3 Safe? No
Downloads 71
 
Snap Affiliates for Zen Cart v1.5.0+   -   Version: v4.1.1
This release contains the changes associated with the following GitHub issue:

#32: Admin date dropdowns include only the current year.

See https://github.com/lat9/snap_affiliates for additional information.
  + Download
Zen Cart® Versions v1.5.5, v1.5.6
Date Added 2 Nov 2019
Author lat9
File Size 297.0 KB
PHP 5.3 Safe? No
Downloads 78
 
Snap Affiliates for Zen Cart v1.5.0+   -   Version: v4.1.0
This release contains changes associated with the following GitHub issues:

#25: Enable notifications and newsletters to be sent to active affiliates.
#27: Clarification on the values required for the "Order Status Exclusions" setting.
#28: Zen Cart 1.5.6+ compatibility and MAJOR refactoring for more recent versions of PHP and MySQL.
#30: Remove referrers-table record when a customer is deleted.

NOTE: This release contains MAJOR changes to the plugin's organization and its template_default templates have changed. If you are upgrading from a previous version, be sure to merge any of your store's template changes!
  + Download
Zen Cart® Versions v1.5.5, v1.5.6
Date Added 25 Apr 2019
Author lat9
File Size 296.9 KB
PHP 5.3 Safe? No
Downloads 119
 
Snap Affiliates for Zen Cart v1.5.0+   -   Version: v4.0.0
Starting with v4.0.0, the plugin supports Zen Cart 1.5.5a or later; if you are still running an older version, please continue to use the 3.0.4 version for any core/template file changes.

This version now uses the core/template files from the Zen Cart 1.5.5b distribution as the change basis and corrects the issue where a commission could not be paid for an order of amount < $1.00.
  + Download
Zen Cart® Versions v1.5.5
Date Added 30 Jul 2017
Author lat9
File Size 234.6 KB
PHP 5.3 Safe? Yes
Downloads 268
 
Snap Affiliates for Zen Cart v1.5.0+   -   Version: v3.0.4
* CHANGE: Documentation/uninstall restructuring; check the /docs/snap_affiliates folder for these files.
* CHANGE: Remove full incorporation of the "OSH - Updated By" plugin from the admin's Customers->Orders handling, in preparation for a Zen Cart 1.5.5 plugin update.
* CHANGE: Properly mark all template-override file changes to identify the SNAP updates.
* CHANGE: Move all SNAP-specific template files into the template_default folder; allows easier reuse on multiple templates.
* BUGFIX: Correct misspelling on referrer_main page.
  + Download
Zen Cart® Versions v1.5.0, v1.5.1, v1.5.2, v1.5.3, v1.5.4
Date Added 16 Apr 2016
Author lat9
File Size 235.4 KB
PHP 5.3 Safe? Yes
Downloads 331
 
Snap Affiliates for Zen Cart v1.5.0+   -   Version: v3.0.3
[*] Update class constructor function name for PHP 7.0 compliance   + Download
Zen Cart® Versions v1.5.0, v1.5.1, v1.5.2, v1.5.3, v1.5.4
Date Added 6 Dec 2015
Author lat9
File Size 234.6 KB
PHP 5.3 Safe? Yes
Downloads 161
 
Snap Affiliates for Zen Cart v1.5.0+   -   Version: v3.0.2
Correct the handling of CR/LF sequences in the status-update messages; incorporates osh_updated_by v1.2.1.   + Download
Zen Cart® Versions v1.5.0, v1.5.1, v1.5.2, v1.5.3, v1.5.4
Date Added 28 May 2015
Author lat9
File Size 234.6 KB
PHP 5.3 Safe? Yes
Downloads 189
 
Snap Affiliates for Zen Cart v1.5.0+   -   Version: v3.0.1
[*] Security update.   + Download
Zen Cart® Versions v1.5.0, v1.5.1, v1.5.2, v1.5.3, v1.5.4
Date Added 22 Mar 2015
Author lat9
File Size 234.4 KB
PHP 5.3 Safe? Yes
Downloads 134
 
Snap Affiliates for Zen Cart v1.5.0+   -   Version: v3.0.0
[*] Referrers can now choose their form of commission payment. Built-in forms include "Check/Money-order" and (optionally) PayPal   + Download
Zen Cart® Versions v1.5.0, v1.5.1, v1.5.2, v1.5.3, v1.5.4
Date Added 14 Mar 2015
Author lat9
File Size 234.2 KB
PHP 5.3 Safe? Yes
Downloads 89
 
Snap Affiliates for Zen Cart v1.5.0+   -   Version: v2.8.2
[*] Correct display and navigation issues when split-page mode is active   + Download
Zen Cart® Versions v1.5.0, v1.5.1, v1.5.2, v1.5.3, v1.5.4
Date Added 26 Feb 2015
Author lat9
File Size 196.9 KB
PHP 5.3 Safe? Yes
Downloads 106
 
Snap Affiliates for Zen Cart v1.5.0+   -   Version: v2.8.1
[*] Add support for multiple banner images of the same dimensions and file type.   + Download
Zen Cart® Versions v1.5.0, v1.5.1, v1.5.2, v1.5.3, v1.5.4
Date Added 4 Feb 2015
Author lat9
File Size 196.7 KB
PHP 5.3 Safe? Yes
Downloads 100
 
Snap Affiliates for Zen Cart v1.5.0+   -   Version: v2.8.0
CHANGE: Incorporate downwardly-compatible Zen Cart v1.5.4 updates.   + Download
Zen Cart® Versions v1.5.0, v1.5.1, v1.5.2, v1.5.3, v1.5.4
Date Added 21 Dec 2014
Author lat9
File Size 196.6 KB
PHP 5.3 Safe? Yes
Downloads 136
 
Snap Affiliates for Zen Cart v1.5.0+   -   Version: v2.7.3
Added the referrer's home-page link to your store, viewable (or clickable) from your admin's Customers->Referrers page.   + Download
Zen Cart® Versions v1.5.0, v1.5.1, v1.5.2, v1.5.3
Date Added 7 Dec 2014
Author lat9
File Size 194.9 KB
PHP 5.3 Safe? Yes
Downloads 102
 
Snap Affiliates for Zen Cart v1.5.0+   -   Version: v2.7.2
BUGFIX: Previously missing /images/referrers directory now included
BUGFIX: Correct processing on referrers_main page (make a distinction between calculated and paid commissions).
  + Download
Zen Cart® Versions v1.5.0, v1.5.1, v1.5.2, v1.5.3
Date Added 8 Oct 2014
Author lat9
File Size 189.8 KB
PHP 5.3 Safe? Yes
Downloads 147
 
Snap Affiliates for Zen Cart v1.5.0+   -   Version: v2.7.1
[*] Full Zen Cart v1.5.3 compatibility
[*] Display the referrer's email address as one of the columns in Customers->Referrers
  + Download
Zen Cart® Versions v1.5.0, v1.5.1, v1.5.2, v1.5.3
Date Added 14 Jul 2014
Author lat9
File Size 188.8 KB
PHP 5.3 Safe? Yes
Downloads 193
 
Snap Affiliates for Zen Cart v1.5.0+   -   Version: v2.7.0
Updated the "Pay" process in the admin's Customers->Referrers to allow commission payments only on selected orders and to modify the commission payment amount from the calculated amount.   + Download
Zen Cart® Versions v1.5.0, v1.5.1, v1.5.2
Date Added 1 May 2014
Author lat9
File Size 198.1 KB
PHP 5.3 Safe? Yes
Downloads 155
 
Snap Affiliates for Zen Cart v1.5.0+   -   Version: v2.6.1
[*] Change default for "Include in Information Sidebox" from true to false.
[*] Incorporate changes from the "Orders Status History -- Updated By" plugin (no functional change to SNAP!).
  + Download
Zen Cart® Versions v1.5.0, v1.5.1, v1.5.2, v1.5.3
Date Added 20 Mar 2014
Author lat9
File Size 166.5 KB
PHP 5.3 Safe? Yes
Downloads 118
 
Snap Affiliates for Zen Cart v1.5.0+   -   Version: v2.6.0
Included downwardly-compatible changes introduced in Zen Cart v1.5.2   + Download
Zen Cart® Versions v1.5.0, v1.5.1, v1.5.2, v1.5.3
Date Added 17 Dec 2013
Author lat9
File Size 164.5 KB
PHP 5.3 Safe? Yes
Downloads 229
 
Snap Affiliates for Zen Cart v1.5.0+   -   Version: v2.5.1
[*] BUGFIX: Introduced in v2.5.0, no order details were displayed on referrers_main if the configuration contained no orders-status exclusions.
[*] Updated language file for referrers_main page to make it more obvious that the activity report is based on commission payments.
[*] BUGFIX: Banner images displayed using HTTP_SERVER on SSL pages, resulting in mixed-content warnings from the browser.
  + Download
Zen Cart® Versions v1.5.0, v1.5.1
Date Added 11 Sep 2013
Author lat9
File Size 163.8 KB
PHP 5.3 Safe? Yes
Downloads 218
 
Snap Affiliates for Zen Cart v1.5.0+   -   Version: v2.5.0
[*] Note: Admin configuration version updated to v2.5.0.
[*] BUGFIX: Not updating date_modified field when performing a database update on the module's version number.
[*] BUGFIX: referrers_main page content did not account for excluded order status'.
[*] Added Combine Exclusions on Referrers Page? configuration variable and associated processing.
[*] Added an updated_by column to the orders_status_history table; use common functions when performing an orders_status_history table update.
[*] When a commission is paid to one of your store's affiliate-marketers, an orders_status_history record is created for the associated order(s) to note that event (along with the admin name/id of the person who clicked the "Pay" button).
[*] BUGFIX: Commission-paid dates on the referrers_main page were formatted incorrectly.
[*] BUGFIX: Activity date-range on the referrers_main page should find commission-payments in the range, not referred-customer purchases.
  + Download
Zen Cart® Versions v1.5.0, v1.5.1
Date Added 3 Aug 2013
Author lat9
File Size 162.7 KB
PHP 5.3 Safe? Yes
Downloads 168
 
Snap Affiliates for Zen Cart v1.5.0+   -   Version: v2.4.1
[*] BUGFIX: Referrer website link was relative instead of absolute on admin's Customers->Referrers.
[*] BUGFIX: Link on Customers->Orders takes you to the customer, not the referrer.
  + Download
Zen Cart® Versions v1.5.0, v1.5.1
Date Added 19 Jul 2013
Author lat9
File Size 96.4 KB
PHP 5.3 Safe? Yes
Downloads 133
 
Snap Affiliates for Zen Cart v1.5.0+   -   Version: v2.4.0
[*] BUGFIX: Didn't include the updated version of /includes/classes/observers/class.snap_order_observer.php in the v2.3.0 distribution!
[*] BUGFIX: Corrected files changed for this version to properly reflect the template file that was changed.
[*] BUGFIX: Completed partially-completed referrer_edit page processing.
  + Download
Zen Cart® Versions v1.5.0, v1.5.1
Date Added 14 Jun 2013
Author lat9
File Size 96.0 KB
PHP 5.3 Safe? Yes
Downloads 135
 
Snap Affiliates for Zen Cart v1.5.0+   -   Version: v2.2.0
[*] Added Cookie Lifetime configuration in the admin (no more file editing!)
[*] Beefed up the readme.html to specifically identify the YOUR_TEMPLATE directories that require renaming
  + Download
Zen Cart® Versions v1.5.0, v1.5.1
Date Added 2 Jun 2013
Author lat9
File Size 87.7 KB
PHP 5.3 Safe? Yes
Downloads 111
 
Snap Affiliates for Zen Cart v1.5.0+   -   Version: v2.1.2a
[*] Note: Admin configuration version updated to 2.1.2a
[*] BUGFIX: Configuration version was not being written on new installs, resulting in a new configuration_group_id being created each time you an your admin.
[*] Moved the affiliate cookie lifetime value into a defined value, in preparation for that value to become an admin customization.
  + Download
Zen Cart® Versions v1.5.0, v1.5.1
Date Added 9 Apr 2013
Author lat9
File Size 80.5 KB
PHP 5.3 Safe? Yes
Downloads 177
 
Snap Affiliates for Zen Cart v1.5.0+   -   Version: v2.1.1
Modifications to referrer_tools page to provide more support for sites that use rewritten URLs. Changed files are /includes/modules/pages/referrer_tools/jscript_tools.php and /includes/templates/YOUR_TEMPLATE/templates/tpl_referrer_tools_default.php. There are no database changes for this release.   + Download
Zen Cart® Versions v1.5.0, v1.5.1
Date Added 1 Apr 2013
Author lat9
File Size 59.5 KB
PHP 5.3 Safe? Yes
Downloads 108
 
Snap Affiliates for Zen Cart v1.5.0+   -   Version: v2.1.0
- BUGFIX: Don't display "Details" button if there are no affiliates (yet).
- BUGFIX: Payment email to affiliate always shows $0.00.
- BUGFIX: Approval and payment emails show FILENAME_REFERRER_MAIN for referrer_main page link.
- BUGFIX: Payment email shows referrer_main as link for "Contact Us".
- BUGFIX: Pagination on Customers->Referrers was broken. Also, moved maximum number of affiliates to display to a configuration setting.
- Added a configuration switch to control whether or not a customer receives a commission on purchases made with their affiliate key in their account.
- Added a configuration setting to identify any Orders Status codes that should not receive a commission.
- BUGFIX: Disable the "Pay" button if the affiliate's current commission value is 0.
- "Prettied-up" the account-activation and commission-payment HTML email text.
- Added validation for the commission-rate entry in Customers->Referrers.
- BUGFIX: Missed a couple of admin-side language values (details buttons values).
- If the affiliate's account is not approved, the "Ban", "Pay" and "Update" buttons are disabled.
- Added a section to the readme identifying how to upgrade from previous versions of the plugin.

In addition, I've updated the admin-side auto-install to be version-cognizant so that the configuration additions made for v2.1.0 won't disrupt/change any of your existing configuration settings, they're just added to the database!
  + Download
Zen Cart® Versions v1.5.0, v1.5.1
Date Added 12 Mar 2013
Author lat9
File Size 59.3 KB
PHP 5.3 Safe? Yes
Downloads 146
 
Snap Affiliates for Zen Cart v1.5.0+   -   Version: v2.0.0
  + Download
Zen Cart® Versions
Date Added 5 Mar 2013
Author lat9
File Size 53.7 KB
PHP 5.3 Safe? No
Downloads 123
 


disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR