K Khan
OMVPPaaS CMS Administrator Certification
Apr 28, 2016
visibility 2349
star star star star star
(3 votes)

A tiny utility to generate coupons (Promotions That Drive Customer Engagement)

A tiny dojo based utility to genertae fairly complex coupon codes.

Image couponstype1.JPG

Image couponstype2.JPG

Nuget package is available at http://nuget.episerver.com/en/OtherPages/Package/?packageId=CouponGenerator

Code is available at https://github.com/khurramkhang/CouponGenerator

This is pure dojo based component. What it will add in you project, can be viewed on Github. It's still evolving... :) Feel free to add suggestion for future releases in comments section.

Apr 28, 2016

Comments

May 3, 2016 08:24 AM

Thank you Khurram, this can prove to be very helpful!

error Please login to comment.
Latest blogs
Surviving a Dirty Feed. Part 3: Error Handling and Event Batching

Committing a 250,000-row Optimizely catalog import row by row, returning a per-row failure report, and coalescing catalog events into one per batch.

Stanisław Szołkowski | Oct 16, 2026 |

Building UI Extensions for Optimizely SaaS CMS

Introduction Developers have been extending the functionality of Optimizely PaaS CMS for years using addons built in C# and deployed as NuGet...

Mark Stott | Oct 15, 2026

Cheapskate AI Translator: Because Translation Should Not Require a Second Mortgage

There is a particular kind of software project that begins with a detailed architecture document, a product roadmap, and a carefully assembled...

Linh Doan Cuu | Oct 15, 2026

Computed Fields in CMS 13 Content Contracts with Optimizely Graph

Content Contracts in Optimizely CMS 13 allow different content types to share a common structure when querying Optimizely Graph. But what if the...

Mardy | Oct 14, 2026