K Khan
Apr 28, 2016
  2227
(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!

Please login to comment.
Latest blogs
Announcing new library: SettingsManager

When you run .net app, there have been a few ways to store settings. Those can be set via appSettings.json, or via Azure Portal AppService...

Quan Mai | Apr 30, 2026

From Prompting to Production: Optimizely Opal University Cohort and the Future of Agentic MarTech

Most organizations today are still playing with AI. They experiment with prompts, test ideas in isolated chats, and occasionally automate a task or...

Augusto Davalos | Apr 28, 2026

Six Compelling Reasons for Upgrading to CMS 13

Most software updates ask you to keep up. Optimizely CMS 13 asks something different — it asks whether your digital strategy is built for a world...

Muhammad Talha | Apr 28, 2026

Optimizely CMS 13 breaking changes: GetContentTypePropertyDisplayName

When upgrading from CMS 12 to 13, resolving property display names may not work as before. Here’s what changed.

Tomas Hensrud Gulla | Apr 27, 2026 |

Accelerate Optimizely DAM Adoption: Unlocking Business Value with Metadata Bulk Import

Accelerating Optimizely DAM Adoption How a Metadata-Driven Bulk Import Utility Unlocks Real Business Value Executive Summary For enterprises runnin...

Vaibhav | Apr 27, 2026

Optimizely CMS 13 breaking changes: IValidate<T>

Custom IValidate validators in Optimizely CMS 13 are no longer auto-discovered. They must be registered explicitly when upgrading from CMS 12.

Tomas Hensrud Gulla | Apr 27, 2026 |