{"id":358,"date":"2021-02-16T18:02:43","date_gmt":"2021-02-16T18:02:43","guid":{"rendered":"https:\/\/www.naveedulhaq.com\/?p=358"},"modified":"2021-02-20T21:35:02","modified_gmt":"2021-02-20T21:35:02","slug":"episerver-coupon-codes-tool-download-single-use-coupons","status":"publish","type":"post","link":"https:\/\/www.naveedulhaq.com\/index.php\/episerver\/episerver-coupon-codes-tool-download-single-use-coupons\/","title":{"rendered":"Episerver Coupon codes Tool: Download single use coupons"},"content":{"rendered":"\n<p>Recently I come across a requirement to generate single use coupon codes (Voucher codes) for Episerver promotions and use it in an email marketing campaigns or in affiliate marketing. <\/p>\n\n\n\n<p>I come across a very good article written by <a href=\"https:\/\/www.david-tec.com\/2017\/10\/unique-vouchercoupon-codes-in-episerver-commerce-using-episerver-campaign\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">David Knipe<\/a> on bulk generating coupon codes against a campaign and Episerver Foundation (Example website) also added a tool to bulk generate coupon codes. So I decided to use this tool &amp; extend its functionality. <\/p>\n\n\n\n<p>Those of you who are not familiar with tool, This tool is included in Episerver foundation website. Its under Extensions -&gt; Coupons<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"390\" src=\"https:\/\/www.naveedulhaq.com\/wp-content\/uploads\/2021\/02\/manage-coupon-codes-1024x390.png\" loading=\"lazy\" alt=\"Episerver Tool: Download single use coupon codes\" class=\"wp-image-359\" srcset=\"https:\/\/www.naveedulhaq.com\/wp-content\/uploads\/2021\/02\/manage-coupon-codes-1024x390.png 1024w, https:\/\/www.naveedulhaq.com\/wp-content\/uploads\/2021\/02\/manage-coupon-codes-300x114.png 300w, https:\/\/www.naveedulhaq.com\/wp-content\/uploads\/2021\/02\/manage-coupon-codes-768x292.png 768w, https:\/\/www.naveedulhaq.com\/wp-content\/uploads\/2021\/02\/manage-coupon-codes-1536x585.png 1536w, https:\/\/www.naveedulhaq.com\/wp-content\/uploads\/2021\/02\/manage-coupon-codes.png 1884w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Now you can see this tool can generate coupon codes based on date range and Max redemption values to get a discount.<\/p>\n\n\n\n<p>For me, the first step is to download these generated codes. I might want to supply codes to Affiliate marketing departments or to use for email marketing.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Download coupon codes in Csv<\/h2>\n\n\n\n<p>First of all, I have added a download button in EditPromotionCoupons.cshtml file. <\/p>\n\n\n\n<pre><code>&lt;div class=\"row\">\n                            &lt;div class=\"col-12\">\n                                &lt;h3>Bulk operations&lt;\/h3>\n                                @using (Html.BeginForm(\"Download\", \"SingleUseCoupon\", FormMethod.Post, new { @class = \"form-horizontal\" }))\n                                {\n                                    @Html.AntiForgeryToken()\n                                    @Html.HiddenFor(x => x.PromotionId)\n                                    &lt;button type=\"submit\" class=\"btn btn-primary\">Download&lt;\/button>\n                                }\n                            &lt;\/div>\n                            &lt;\/div><\/code><\/pre>\n\n\n\n<p>The complete code of EditPromotionCoupons.cshtml will be <\/p>\n\n\n\n<pre><code>@using EPiServer.Shell\n\n@inherits WebViewPage&lt;Foundation.Commerce.Marketing.PromotionCouponsViewModel>\n\n&lt;head>\n    &lt;title>Edit promotion coupons&lt;\/title>\n&lt;\/head>\n&lt;main class=\"dash-content\">\n    &lt;div class=\"container-fluid\">\n        &lt;div class=\"row\">\n            &lt;div class=\"col-12\">\n                &lt;h3>Manage Coupon Codes for Promotion @Model.Promotion.Name&lt;\/h3>\n                &lt;div class=\"card spur-card\">\n                    &lt;div class=\"card-header\">\n                        &lt;div class=\"spur-card-icon\">\n                            &lt;i data-feather=\"gift\">&lt;\/i>\n                        &lt;\/div>\n                        &lt;div class=\"spur-card-title\">Generate coupons&lt;\/div>\n                    &lt;\/div>\n                    &lt;div class=\"card-body\">\n                        @using (Html.BeginForm(\"Generate\", \"SingleUseCoupon\", FormMethod.Post, new { @class = \"form-horizontal\" }))\n                        {\n                            @Html.AntiForgeryToken()\n                            @Html.HiddenFor(x => x.PromotionId)\n                            &lt;div class=\"form-row\">\n                                &lt;div class=\"form-group col-md-6 col-xl-3\">\n                                    @Html.LabelFor(x => x.ValidFrom)\n                                    @Html.TextBoxFor(x => x.ValidFrom, new { @class = \"form-control\", @type = \"date\" })\n                                &lt;\/div>\n                                &lt;div class=\"form-group col-md-6 col-xl-3\">\n                                    @Html.LabelFor(x => x.Expiration)\n                                    @Html.TextBoxFor(x => x.Expiration, new { @class = \"form-control\", @type = \"date\" })\n                                &lt;\/div>\n                                &lt;div class=\"form-group col-md-6 col-xl-3\">\n                                    @Html.LabelFor(x => x.Quantity)\n                                    @Html.TextBoxFor(x => x.Quantity, new { @class = \"form-control\", @type = \"number\" })\n                                &lt;\/div>\n                                &lt;div class=\"form-group col-md-6 col-xl-3\">\n                                    @Html.LabelFor(x => x.MaxRedemptions)\n                                    @Html.TextBoxFor(x => x.MaxRedemptions, new { @class = \"form-control\", @type = \"number\" })\n                                &lt;\/div>\n                            &lt;\/div>\n                            &lt;button type=\"submit\" class=\"btn btn-primary\">Generate&lt;\/button>\n                        }\n                        \n                        &lt;br \/>\n                        &lt;div class=\"row\">\n                            &lt;div class=\"col-12\">\n                                &lt;h3>Bulk operations&lt;\/h3>\n                                @using (Html.BeginForm(\"Download\", \"SingleUseCoupon\", FormMethod.Post, new { @class = \"form-horizontal\" }))\n                                {\n                                    @Html.AntiForgeryToken()\n                                    @Html.HiddenFor(x => x.PromotionId)\n                                    &lt;button type=\"submit\" class=\"btn btn-primary\">Download&lt;\/button>\n                                }\n                            &lt;\/div>\n                            &lt;\/div>\n                            &lt;div class=\"mvc-grid\">\n                                @using (Html.BeginForm(\"UpdateOrDeleteCoupon\", \"SingleUseCoupon\", FormMethod.Post, new { @class = \"jsCouponUpdateForm\" }))\n                                {\n                        @Html.AntiForgeryToken()\n                                        &lt;table class=\"gift-cards-table\">\n                                            &lt;thead>\n                                                &lt;tr>\n                                                    &lt;th>Code&lt;\/th>\n                                                    &lt;th>Created&lt;\/th>\n                                                    &lt;th>Valid From&lt;\/th>\n                                                    &lt;th>Expiration&lt;\/th>\n                                                    &lt;th>Max Redemptions&lt;\/th>\n                                                    &lt;th>Used Redemptions&lt;\/th>\n                                                    &lt;th>Actions&lt;\/th>\n                                                &lt;\/tr>\n                                            &lt;\/thead>\n                                            &lt;tbody class=\"js-users-table-body\">\n                                                @for (var i = 0; i &lt; Model.Coupons.Count; i++)\n                                                {\n                                &lt;tr>\n                                    &lt;td>\n                                        @Html.HiddenFor(x => Model.Coupons&#91;i].Id)\n                                        @Html.HiddenFor(x => Model.Coupons&#91;i].PromotionId)\n                                        @Html.TextBoxFor(x => Model.Coupons&#91;i].Code, new { @class = \"form-control\" })\n                                    &lt;\/td>\n                                    &lt;td>\n                                        @Model.Coupons&#91;i].Created\n                                    &lt;\/td>\n                                    &lt;td>\n                                        @Html.TextBoxFor(x => Model.Coupons&#91;i].ValidFrom, \"{0:yyyy-MM-dd}\", new { @class = \"form-control\", @type = \"date\" })\n                                    &lt;\/td>\n                                    &lt;td>\n                                        @Html.TextBoxFor(x => Model.Coupons&#91;i].Expiration, \"{0:yyyy-MM-dd}\", new { @class = \"form-control\", @type = \"date\" })\n                                    &lt;\/td>\n                                    &lt;td>\n                                        @Html.TextBoxFor(x => Model.Coupons&#91;i].MaxRedemptions, new { @class = \"form-control\", @type = \"number\" })\n                                    &lt;\/td>\n                                    &lt;td>\n                                        @Html.TextBoxFor(x => Model.Coupons&#91;i].UsedRedemptions, new { @class = \"form-control\", @type = \"number\" })\n                                    &lt;\/td>\n                                    &lt;td style=\"text-align: right\">\n                                        &lt;i class=\"fa fa-save jsUpdateCoupon\" style=\"cursor: pointer;\" \/>\n                                        &lt;i class=\"fa fa-trash-alt jsDeleteCoupon\" style=\"cursor: pointer; color: red\">&lt;\/i>\n                                    &lt;\/td>\n\n                                &lt;\/tr>}\n                                            &lt;\/tbody>\n                                        &lt;\/table>}\n                            &lt;\/div>\n                        &lt;\/div>\n                &lt;\/div>\n            &lt;\/div>\n        &lt;\/div>\n    &lt;\/div>\n&lt;\/main>\n\n&lt;div style=\"position: fixed; top: 75px; right: 75px; display: none;\" class=\"coupon-status alert alert-info\" role=\"alert\">\n    Updating, please wait ...\n&lt;\/div>\n&lt;div style=\"position: fixed; top: 75px; right: 75px; display: none;\" class=\"coupon-alert alert\" role=\"alert\">\n&lt;\/div>\n\n@section AdditionalScripts {\n    &lt;script type=\"text\/javascript\" src=\"@Paths.ToClientResource(\"Foundation.Commerce\", \"ClientResources\/js\/Coupons.js\")\">&lt;\/script>\n    &lt;script type=\"text\/javascript\">\n        $(document).ready(function () {\n            Coupons.init();\n        });\n    &lt;\/script>\n}<\/code><\/pre>\n\n\n\n<p>Now, we need to add an action result that will get generated coupon codes and generate a CSV file for codes.<\/p>\n\n\n\n<p>To achieve that I have used FileResult type action in &#8220;SingleUseCouponController&#8221;. You can also use asynchronous Task&lt;ActionResult&gt; depends on the amount of data you intercepting to download.<\/p>\n\n\n\n<pre><code>&#91;HttpPost]\n        &#91;ValidateAntiForgeryToken]\n        public FileResult Download(PromotionCouponsViewModel model)\n        {\n            var coupons = _couponService.GetByPromotionId(model.PromotionId);\n\n            var sb = new StringBuilder();\n            \n            \/\/Headers\n            \n            sb.Append($\"PromotionId,Code,ValidFrom,Expiration,CustomerId,MaxRedemptions,UsedRedemptions\");\n            sb.Append(\"\\r\\n\");\n            for (int i = 0; i &lt; coupons.Count; i++)\n            {\n                sb.Append($\"{coupons&#91;i].PromotionId},\" +\n                    $\"{coupons&#91;i].Code},\" +\n                    $\"{coupons&#91;i].ValidFrom},\" +\n                    $\"{coupons&#91;i].Expiration},\" +\n                    $\"{coupons&#91;i].CustomerId},\" +\n                    $\"{coupons&#91;i].MaxRedemptions},\" +\n                    $\"{coupons&#91;i].UsedRedemptions}\");\n                sb.Append(\"\\r\\n\");\n            }\n\n            return File(Encoding.UTF8.GetBytes(sb.ToString()), \"text\/csv\", $\"{model.PromotionId}.csv\");\n        }<\/code><\/pre>\n\n\n\n<p>I have purposely used _couponService.GetByPromotionId method because it is utilizing optimize query and cache. <\/p>\n\n\n\n<p>So far so good, now its time to test.<\/p>\n\n\n\n<p>If you open modified coupon code tool under extensions, you will be able to download generated coupon codes.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"472\" src=\"https:\/\/www.naveedulhaq.com\/wp-content\/uploads\/2021\/02\/bulk-operations-1024x472.png\" loading=\"lazy\" alt=\"episerver download coupon codes\" class=\"wp-image-388\" srcset=\"https:\/\/www.naveedulhaq.com\/wp-content\/uploads\/2021\/02\/bulk-operations-1024x472.png 1024w, https:\/\/www.naveedulhaq.com\/wp-content\/uploads\/2021\/02\/bulk-operations-300x138.png 300w, https:\/\/www.naveedulhaq.com\/wp-content\/uploads\/2021\/02\/bulk-operations-768x354.png 768w, https:\/\/www.naveedulhaq.com\/wp-content\/uploads\/2021\/02\/bulk-operations-1536x707.png 1536w, https:\/\/www.naveedulhaq.com\/wp-content\/uploads\/2021\/02\/bulk-operations.png 1852w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>The next step is to further extend this tool and <a href=\"https:\/\/www.naveedulhaq.com\/index.php\/episerver\/episerver-coupon-codes-tool-delete-expired-unused-coupons\/\">Delete expired \/ unused coupons<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently I come across a requirement to generate single use coupon codes (Voucher codes) for Episerver promotions and use it in an email marketing campaigns&#8230;<\/p>\n","protected":false},"author":1,"featured_media":65,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[13,22,61],"class_list":["post-358","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-episerver","tag-episerver","tag-episerver-commerce","tag-promotions"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Episerver Coupon codes Tool: Download single use coupons<\/title>\n<meta name=\"description\" content=\"Episerver Coupon codes Tool: Download single use coupons - AI, Optimizely, Azure &amp; more\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.naveedulhaq.com\/index.php\/episerver\/episerver-coupon-codes-tool-download-single-use-coupons\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Episerver Coupon codes Tool: Download single use coupons\" \/>\n<meta property=\"og:description\" content=\"Episerver Coupon codes Tool: Download single use coupons - AI, Optimizely, Azure &amp; more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.naveedulhaq.com\/index.php\/episerver\/episerver-coupon-codes-tool-download-single-use-coupons\/\" \/>\n<meta property=\"og:site_name\" content=\"Naveed Ul-Haq&#039;s blog\" \/>\n<meta property=\"article:published_time\" content=\"2021-02-16T18:02:43+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-02-20T21:35:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.naveedulhaq.com\/wp-content\/uploads\/2020\/01\/episerver.jpeg\" \/>\n\t<meta property=\"og:image:width\" content=\"230\" \/>\n\t<meta property=\"og:image:height\" content=\"230\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Naveed Ul-Haq\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Naveed Ul-Haq\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.naveedulhaq.com\\\/index.php\\\/episerver\\\/episerver-coupon-codes-tool-download-single-use-coupons\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.naveedulhaq.com\\\/index.php\\\/episerver\\\/episerver-coupon-codes-tool-download-single-use-coupons\\\/\"},\"author\":{\"name\":\"Naveed Ul-Haq\",\"@id\":\"https:\\\/\\\/www.naveedulhaq.com\\\/#\\\/schema\\\/person\\\/dd6db5980b965fcae41e096d357c65c9\"},\"headline\":\"Episerver Coupon codes Tool: Download single use coupons\",\"datePublished\":\"2021-02-16T18:02:43+00:00\",\"dateModified\":\"2021-02-20T21:35:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.naveedulhaq.com\\\/index.php\\\/episerver\\\/episerver-coupon-codes-tool-download-single-use-coupons\\\/\"},\"wordCount\":286,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.naveedulhaq.com\\\/#\\\/schema\\\/person\\\/dd6db5980b965fcae41e096d357c65c9\"},\"image\":{\"@id\":\"https:\\\/\\\/www.naveedulhaq.com\\\/index.php\\\/episerver\\\/episerver-coupon-codes-tool-download-single-use-coupons\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.naveedulhaq.com\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/episerver.jpeg\",\"keywords\":[\"episerver\",\"Optimizely Customized Commerce\",\"promotions\"],\"articleSection\":[\"Optimizely\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.naveedulhaq.com\\\/index.php\\\/episerver\\\/episerver-coupon-codes-tool-download-single-use-coupons\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.naveedulhaq.com\\\/index.php\\\/episerver\\\/episerver-coupon-codes-tool-download-single-use-coupons\\\/\",\"url\":\"https:\\\/\\\/www.naveedulhaq.com\\\/index.php\\\/episerver\\\/episerver-coupon-codes-tool-download-single-use-coupons\\\/\",\"name\":\"Episerver Coupon codes Tool: Download single use coupons\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.naveedulhaq.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.naveedulhaq.com\\\/index.php\\\/episerver\\\/episerver-coupon-codes-tool-download-single-use-coupons\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.naveedulhaq.com\\\/index.php\\\/episerver\\\/episerver-coupon-codes-tool-download-single-use-coupons\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.naveedulhaq.com\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/episerver.jpeg\",\"datePublished\":\"2021-02-16T18:02:43+00:00\",\"dateModified\":\"2021-02-20T21:35:02+00:00\",\"description\":\"Episerver Coupon codes Tool: Download single use coupons - AI, Optimizely, Azure &amp; more\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.naveedulhaq.com\\\/index.php\\\/episerver\\\/episerver-coupon-codes-tool-download-single-use-coupons\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.naveedulhaq.com\\\/index.php\\\/episerver\\\/episerver-coupon-codes-tool-download-single-use-coupons\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/www.naveedulhaq.com\\\/index.php\\\/episerver\\\/episerver-coupon-codes-tool-download-single-use-coupons\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.naveedulhaq.com\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/episerver.jpeg\",\"contentUrl\":\"https:\\\/\\\/www.naveedulhaq.com\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/episerver.jpeg\",\"width\":230,\"height\":230,\"caption\":\"episerver\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.naveedulhaq.com\\\/index.php\\\/episerver\\\/episerver-coupon-codes-tool-download-single-use-coupons\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.naveedulhaq.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Episerver Coupon codes Tool: Download single use coupons\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.naveedulhaq.com\\\/#website\",\"url\":\"https:\\\/\\\/www.naveedulhaq.com\\\/\",\"name\":\"Naveed Ul-Haq's blog\",\"description\":\"AI, Optimizely, Azure &amp; more\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.naveedulhaq.com\\\/#\\\/schema\\\/person\\\/dd6db5980b965fcae41e096d357c65c9\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.naveedulhaq.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.naveedulhaq.com\\\/#\\\/schema\\\/person\\\/dd6db5980b965fcae41e096d357c65c9\",\"name\":\"Naveed Ul-Haq\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/362536aba6cc66917d7558cacd015a81c7cdf1a69b9a28c994764847c487b692?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/362536aba6cc66917d7558cacd015a81c7cdf1a69b9a28c994764847c487b692?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/362536aba6cc66917d7558cacd015a81c7cdf1a69b9a28c994764847c487b692?s=96&d=mm&r=g\",\"caption\":\"Naveed Ul-Haq\"},\"logo\":{\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/362536aba6cc66917d7558cacd015a81c7cdf1a69b9a28c994764847c487b692?s=96&d=mm&r=g\"},\"description\":\"I lead engineering delivery teams for digital commerce and digital experience platforms, combining hands-on architecture experience with strong delivery governance. Over 20+ years, I\u2019ve built and led cross\u2011functional teams (engineering, BA, QA) delivering modern cloud solutions on Azure, microservices, APIs and eCommerce\\\/CMS platforms. My recent focus includes AI-enabled commerce automation: product ingestion and enrichment workflows, content optimisation for SEO and shopping feeds, and agentic tooling to improve marketing and accessibility workflows. I\u2019m passionate about building high-performing teams, establishing quality\\\/release standards, and delivering measurable outcomes across performance, reliability, and speed of change.\",\"sameAs\":[\"https:\\\/\\\/www.naveedulhaq.com\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/naveedulhaq\\\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Episerver Coupon codes Tool: Download single use coupons","description":"Episerver Coupon codes Tool: Download single use coupons - AI, Optimizely, Azure &amp; more","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.naveedulhaq.com\/index.php\/episerver\/episerver-coupon-codes-tool-download-single-use-coupons\/","og_locale":"en_GB","og_type":"article","og_title":"Episerver Coupon codes Tool: Download single use coupons","og_description":"Episerver Coupon codes Tool: Download single use coupons - AI, Optimizely, Azure &amp; more","og_url":"https:\/\/www.naveedulhaq.com\/index.php\/episerver\/episerver-coupon-codes-tool-download-single-use-coupons\/","og_site_name":"Naveed Ul-Haq&#039;s blog","article_published_time":"2021-02-16T18:02:43+00:00","article_modified_time":"2021-02-20T21:35:02+00:00","og_image":[{"width":230,"height":230,"url":"https:\/\/www.naveedulhaq.com\/wp-content\/uploads\/2020\/01\/episerver.jpeg","type":"image\/jpeg"}],"author":"Naveed Ul-Haq","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Naveed Ul-Haq","Estimated reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.naveedulhaq.com\/index.php\/episerver\/episerver-coupon-codes-tool-download-single-use-coupons\/#article","isPartOf":{"@id":"https:\/\/www.naveedulhaq.com\/index.php\/episerver\/episerver-coupon-codes-tool-download-single-use-coupons\/"},"author":{"name":"Naveed Ul-Haq","@id":"https:\/\/www.naveedulhaq.com\/#\/schema\/person\/dd6db5980b965fcae41e096d357c65c9"},"headline":"Episerver Coupon codes Tool: Download single use coupons","datePublished":"2021-02-16T18:02:43+00:00","dateModified":"2021-02-20T21:35:02+00:00","mainEntityOfPage":{"@id":"https:\/\/www.naveedulhaq.com\/index.php\/episerver\/episerver-coupon-codes-tool-download-single-use-coupons\/"},"wordCount":286,"commentCount":0,"publisher":{"@id":"https:\/\/www.naveedulhaq.com\/#\/schema\/person\/dd6db5980b965fcae41e096d357c65c9"},"image":{"@id":"https:\/\/www.naveedulhaq.com\/index.php\/episerver\/episerver-coupon-codes-tool-download-single-use-coupons\/#primaryimage"},"thumbnailUrl":"https:\/\/www.naveedulhaq.com\/wp-content\/uploads\/2020\/01\/episerver.jpeg","keywords":["episerver","Optimizely Customized Commerce","promotions"],"articleSection":["Optimizely"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.naveedulhaq.com\/index.php\/episerver\/episerver-coupon-codes-tool-download-single-use-coupons\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.naveedulhaq.com\/index.php\/episerver\/episerver-coupon-codes-tool-download-single-use-coupons\/","url":"https:\/\/www.naveedulhaq.com\/index.php\/episerver\/episerver-coupon-codes-tool-download-single-use-coupons\/","name":"Episerver Coupon codes Tool: Download single use coupons","isPartOf":{"@id":"https:\/\/www.naveedulhaq.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.naveedulhaq.com\/index.php\/episerver\/episerver-coupon-codes-tool-download-single-use-coupons\/#primaryimage"},"image":{"@id":"https:\/\/www.naveedulhaq.com\/index.php\/episerver\/episerver-coupon-codes-tool-download-single-use-coupons\/#primaryimage"},"thumbnailUrl":"https:\/\/www.naveedulhaq.com\/wp-content\/uploads\/2020\/01\/episerver.jpeg","datePublished":"2021-02-16T18:02:43+00:00","dateModified":"2021-02-20T21:35:02+00:00","description":"Episerver Coupon codes Tool: Download single use coupons - AI, Optimizely, Azure &amp; more","breadcrumb":{"@id":"https:\/\/www.naveedulhaq.com\/index.php\/episerver\/episerver-coupon-codes-tool-download-single-use-coupons\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.naveedulhaq.com\/index.php\/episerver\/episerver-coupon-codes-tool-download-single-use-coupons\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.naveedulhaq.com\/index.php\/episerver\/episerver-coupon-codes-tool-download-single-use-coupons\/#primaryimage","url":"https:\/\/www.naveedulhaq.com\/wp-content\/uploads\/2020\/01\/episerver.jpeg","contentUrl":"https:\/\/www.naveedulhaq.com\/wp-content\/uploads\/2020\/01\/episerver.jpeg","width":230,"height":230,"caption":"episerver"},{"@type":"BreadcrumbList","@id":"https:\/\/www.naveedulhaq.com\/index.php\/episerver\/episerver-coupon-codes-tool-download-single-use-coupons\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.naveedulhaq.com\/"},{"@type":"ListItem","position":2,"name":"Episerver Coupon codes Tool: Download single use coupons"}]},{"@type":"WebSite","@id":"https:\/\/www.naveedulhaq.com\/#website","url":"https:\/\/www.naveedulhaq.com\/","name":"Naveed Ul-Haq's blog","description":"AI, Optimizely, Azure &amp; more","publisher":{"@id":"https:\/\/www.naveedulhaq.com\/#\/schema\/person\/dd6db5980b965fcae41e096d357c65c9"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.naveedulhaq.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":["Person","Organization"],"@id":"https:\/\/www.naveedulhaq.com\/#\/schema\/person\/dd6db5980b965fcae41e096d357c65c9","name":"Naveed Ul-Haq","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/secure.gravatar.com\/avatar\/362536aba6cc66917d7558cacd015a81c7cdf1a69b9a28c994764847c487b692?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/362536aba6cc66917d7558cacd015a81c7cdf1a69b9a28c994764847c487b692?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/362536aba6cc66917d7558cacd015a81c7cdf1a69b9a28c994764847c487b692?s=96&d=mm&r=g","caption":"Naveed Ul-Haq"},"logo":{"@id":"https:\/\/secure.gravatar.com\/avatar\/362536aba6cc66917d7558cacd015a81c7cdf1a69b9a28c994764847c487b692?s=96&d=mm&r=g"},"description":"I lead engineering delivery teams for digital commerce and digital experience platforms, combining hands-on architecture experience with strong delivery governance. Over 20+ years, I\u2019ve built and led cross\u2011functional teams (engineering, BA, QA) delivering modern cloud solutions on Azure, microservices, APIs and eCommerce\/CMS platforms. My recent focus includes AI-enabled commerce automation: product ingestion and enrichment workflows, content optimisation for SEO and shopping feeds, and agentic tooling to improve marketing and accessibility workflows. I\u2019m passionate about building high-performing teams, establishing quality\/release standards, and delivering measurable outcomes across performance, reliability, and speed of change.","sameAs":["https:\/\/www.naveedulhaq.com","https:\/\/www.linkedin.com\/in\/naveedulhaq\/"]}]}},"_links":{"self":[{"href":"https:\/\/www.naveedulhaq.com\/index.php\/wp-json\/wp\/v2\/posts\/358","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.naveedulhaq.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.naveedulhaq.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.naveedulhaq.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.naveedulhaq.com\/index.php\/wp-json\/wp\/v2\/comments?post=358"}],"version-history":[{"count":0,"href":"https:\/\/www.naveedulhaq.com\/index.php\/wp-json\/wp\/v2\/posts\/358\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.naveedulhaq.com\/index.php\/wp-json\/wp\/v2\/media\/65"}],"wp:attachment":[{"href":"https:\/\/www.naveedulhaq.com\/index.php\/wp-json\/wp\/v2\/media?parent=358"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.naveedulhaq.com\/index.php\/wp-json\/wp\/v2\/categories?post=358"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.naveedulhaq.com\/index.php\/wp-json\/wp\/v2\/tags?post=358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}