18 Feb 2012, 02:26 PM
I thought I'd throw this out there before digging into the code to see if anyone has already addressed this. The commission is based on the entire order total including shipping. We don't want to include shipping in the commission. Has anyone made the code changes to do this? I want to exclude just the shipping, so if any discount codes or gift certificates are used or any other order total module they are taken into account when the commission is calculated. Or is it more fair to the affiliate if it's based on the subtotal before any discounts are applied? If no one has done this, I will figure it out and post my changes. It looks like just a modification to admin/referrers.php.
I am also going to look at adding some logic to be able to create conditions for different commission rates. So if an order is below a certain threshold, say $50, the commission is one thing, and over $50 it's another. Has anyone done that yet? If not, I will dig in this weekend and see about doing it and will post the code when it's ready.
Thanks to all who have contributed refinements to the original code!
Zen Cart and it's community are the best!!
By asauterChicago in forum All Other Contributions/Addons
Last Post: 12 Apr 2013, 09:45 AM
By barrystein in forum General Questions
Last Post: 8 Feb 2009, 01:45 AM
By marbles in forum Customization from the Admin
Last Post: 17 Jun 2008, 04:22 PM
By smallarmsdealer in forum Templates, Stylesheets, Page Layout
Last Post: 18 Nov 2007, 05:12 AM
Content and Graphics Copyright (c) 2003 - 2013 Zen Ventures, LLC - all rights reserved
Zen Cart® is a Registered Trademark of Zen Ventures, LLC