Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

[Contribution - pending] Incentive Discounts


Recommended Posts

I've modified the XMember discount contribution to provide 4 tiers of discounts based on a set of criteria. The original code simply provided one discount percentage which could be turned on or off per customer. My modifications base discounts on the sum of each customer's total orders. The higher the sum, the higher the discount (in other words - customers are given the oppotunity to "earn" discounts simply by placing more orders). The discounts are given automatically at checkout. There are 4 tiers. Once the criteria for tier 1 have been met and surpassed, the customer moves on to tier 2...and so on. All values are controlled via Admin.


It is important to note that once a customer reaches a tier and earns a discount, they will get that discount on every order they place. It is not just a one time thing. I mention this as important since this kind of discounting may not be suitable for some business models.


I wrote this for me (my business) and obviously this works for my business model. I wanted to know if anyone is interested in the code before I take the time to put together a contribution. I have no problem doing so as long as there is interest...

Do you ship UPS?

Give your customers order tracking without leaving your site. Track multi-package shipments. XML, cURL


Download the contribution here:

UPS Tracking

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...