Manual (back end) reset Coupon Counting

  • Vincenzo
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
3 years 9 months ago #136866 by Vincenzo
Manual (back end) reset Coupon Counting was created by Vincenzo
Hi,

I think it could be useful to allow reset the coupon counting from the back end.

This way you can re-use the same coupon for which you've set max numbers of use, example around holidays or particular event for which you want to use that same coupon.

Hope it is clear

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #136869 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Manual (back end) reset Coupon Counting
Hello

In case you really need it, you can get this file, unzip it, upload it to folder administrator/templates/isis/html/com_osmembership/coupon folder on your site to use the feature

The modification was implemented using override, so it won't be lost when you update to future releases of the extension

Regards,

Tuan
Attachments:
The following user(s) said Thank You: Vincenzo

Please Log in or Create an account to join the conversation.

  • Vincenzo
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
3 years 9 months ago #136874 by Vincenzo
Replied by Vincenzo on topic Manual (back end) reset Coupon Counting
Wow

You're true Super-develop-Man.

Very thanks.
This works as expected!

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #136875 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Manual (back end) reset Coupon Counting
Great :).

Please Log in or Create an account to join the conversation.

  • Vincenzo
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
3 years 9 months ago #136876 by Vincenzo
Replied by Vincenzo on topic Manual (back end) reset Coupon Counting
Ooops, I talk too early. :D

In the back-end now you can edit the field "Time Used".

But when you save, the page reload and the number returns to previous value. :)

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #136885 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Manual (back end) reset Coupon Counting
Sorry, there is another modification needed. Please get the modified file here

Regards,

Tuan
Attachments:
The following user(s) said Thank You: Vincenzo

Please Log in or Create an account to join the conversation.

  • Vincenzo
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
3 years 9 months ago #136886 by Vincenzo
Replied by Vincenzo on topic Manual (back end) reset Coupon Counting
And it works! :)

Very very very thanks.

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #136898 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Manual (back end) reset Coupon Counting
You're welcome !

Please Log in or Create an account to join the conversation.