Post by smokiepipes » Thu Mar 11, 2021 2:30 am

Running OC 3.0.2, with php7.2-fpm.

Use Opencart for POS system and website. Currently we have a customer punch card. With every purchase, they receive a punch. After 5 punches (on the 6th purchase), they receive 15% off the total of the 6th purchase. We manually enter the discount. Is their a module or a way to automate a discount like this using the customers phone number to pull them up and the system would keep track of the number of purchases made by that customer?

PS. Not interested in loyalty programs that require customers to sign-up on a separate website.



Wed Jul 25, 2018 6:40 am

Post by straightlight » Thu Mar 11, 2021 2:50 am

Johnathan may have an extension about this on the Marketplace.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

Programmer / Opencart Tester

Legendary Member


Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by paulfeakins » Thu Mar 11, 2021 7:14 pm

straightlight wrote:
Thu Mar 11, 2021 2:50 am
Johnathan may have an extension about this on the Marketplace.
If you can't find an extension, you could pay a developer such as ourselves or post a job in the Commercial Support Forum.

For quick, professional OpenCart support please email

User avatar
Guru Member


Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom

Post by Johnathan » Thu Mar 11, 2021 10:40 pm

I do have an extension that can do this, which can look at past orders and give a discount based on how many have been placed:

Ultimate Fee/Discount

However, it requires all the orders be within OpenCart, it can't do a lookup based on phone number. They'd need to have placed 5 orders within OpenCart under the same customer account (or at least under the same e-mail address as a guest). If that would work for you, then you'd set it up like this:

Title: Loyalty Discount
Group: A
Charge Type: Flat Charge
Charge Field: -15%
Rule: Past Orders: Quantity = 5-5, 11-11, 17-17, etc.

Feel free to take a look at the screenshots and demo site, and if you're interested let me know at if you have any further questions.

Image Image Image Image

User avatar
Global Moderator


Fri Dec 18, 2009 3:08 am

Who is online

Users browsing this forum: aaron.rosete and 23 guests