Snap Affiliates for Zen Cart v1.5.0+
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. |
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. |
|||||||||||||
|
|||||||||||||
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. |
|||||||||||||
|
|||||||||||||
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. |
|||||||||||||
|
|||||||||||||
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. |
|||||||||||||
|
|||||||||||||
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! |
|||||||||||||
|
|||||||||||||
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. |
|||||||||||||
|
|||||||||||||
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. |
|||||||||||||
|
|||||||||||||
Snap Affiliates for Zen Cart v1.5.0+ - Version: v3.0.3 | |||||||||||||
[*] Update class constructor function name for PHP 7.0 compliance | |||||||||||||
|
|||||||||||||
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. | |||||||||||||
|
|||||||||||||
Snap Affiliates for Zen Cart v1.5.0+ - Version: v3.0.1 | |||||||||||||
[*] Security update. | |||||||||||||
|
|||||||||||||
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 | |||||||||||||
|
|||||||||||||
Snap Affiliates for Zen Cart v1.5.0+ - Version: v2.8.2 | |||||||||||||
[*] Correct display and navigation issues when split-page mode is active | |||||||||||||
|
|||||||||||||
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. | |||||||||||||
|
|||||||||||||
Snap Affiliates for Zen Cart v1.5.0+ - Version: v2.8.0 | |||||||||||||
CHANGE: Incorporate downwardly-compatible Zen Cart v1.5.4 updates. | |||||||||||||
|
|||||||||||||
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. | |||||||||||||
|
|||||||||||||
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). |
|||||||||||||
|
|||||||||||||
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 |
|||||||||||||
|
|||||||||||||
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. | |||||||||||||
|
|||||||||||||
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!). |
|||||||||||||
|
|||||||||||||
Snap Affiliates for Zen Cart v1.5.0+ - Version: v2.6.0 | |||||||||||||
Included downwardly-compatible changes introduced in Zen Cart v1.5.2 | |||||||||||||
|
|||||||||||||
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. |
|||||||||||||
|
|||||||||||||
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. |
|||||||||||||
|
|||||||||||||
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. |
|||||||||||||
|
|||||||||||||
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. |
|||||||||||||
|
|||||||||||||
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 |
|||||||||||||
|
|||||||||||||
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. |
|||||||||||||
|
|||||||||||||
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. | |||||||||||||
|
|||||||||||||
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! |
|||||||||||||
|
|||||||||||||
Snap Affiliates for Zen Cart v1.5.0+ - Version: v2.0.0 | |||||||||||||
|
|||||||||||||