{"id":123,"date":"2017-05-22T12:47:47","date_gmt":"2017-05-22T12:47:47","guid":{"rendered":"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/?p=123"},"modified":"2025-02-24T15:28:56","modified_gmt":"2025-02-24T15:28:56","slug":"coupon-settings","status":"publish","type":"post","link":"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/premium-version-settings\/coupon-settings\/","title":{"rendered":"Coupon settings"},"content":{"rendered":"\n<p>As an alternative to the refund, the shop admin can offer a coupon code.<\/p>\n\n\n\n<p>The coupon code is sent via email immediately after clicking on the\u00a0<strong>&#8220;Offer a coupon&#8221;<\/strong>\u00a0option on the request details page.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/wp-content\/uploads\/sites\/29\/2017\/05\/19-1.jpg\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"900\" height=\"501\" src=\"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/wp-content\/uploads\/sites\/29\/2017\/05\/19-1.jpg\" alt=\"Offer a coupon\" class=\"wp-image-233\" srcset=\"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/wp-content\/uploads\/sites\/29\/2017\/05\/19-1.jpg 900w, https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/wp-content\/uploads\/sites\/29\/2017\/05\/19-1-300x167.jpg 300w, https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/wp-content\/uploads\/sites\/29\/2017\/05\/19-1-768x428.jpg 768w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/a><\/figure>\n\n\n\n<p>If you want to customize the coupon code format, go to the plugin settings page (YITH > Advanced Refund System) and configure a new pattern for the field &#8220;Code&#8221;.<\/p>\n\n\n\n<p>Use the following placeholders:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>{request_id}<\/strong>: ID of the refund request<\/li>\n\n\n\n<li><strong>{customer_email}: <\/strong>email address of the user claiming for the refund<\/li>\n\n\n\n<li><strong>{coupon_amount}: <\/strong>coupon amount<\/li>\n\n\n\n<li><strong>{order_number}: <\/strong>order number associated to the refund request<\/li>\n<\/ul>\n\n\n\n<p>By default, the coupons&nbsp;have no expiry&nbsp;date.<\/p>\n\n\n\n<p>However, you can change this behavior by setting an&nbsp;<strong>Expiry date.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/wp-content\/uploads\/sites\/29\/2017\/05\/Coupon-settings-2-e1706628166625.jpg\" data-rel=\"lightbox-image-1\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1730\" height=\"349\" src=\"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/wp-content\/uploads\/sites\/29\/2017\/05\/Coupon-settings-2-e1706628166625.jpg\" alt=\"Expiry date\" class=\"wp-image-423\"\/><\/a><\/figure>\n\n\n\n<p>The entered value will define the number of days for the coupon to be valid since the coupon creation.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As an alternative to the refund, the shop admin can offer a coupon code. The coupon code is sent via email immediately after clicking on the\u00a0&#8220;Offer a coupon&#8221;\u00a0option on the request details page. If you want to customize the coupon code format, go to the plugin settings page (YITH > Advanced Refund System) and configure &hellip; <a href=\"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/premium-version-settings\/coupon-settings\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Coupon settings<\/span><\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-123","post","type-post","status-publish","format-standard","hentry","category-premium-version-settings"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.8.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>YITH Advanced Refund System: Coupon settings<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/premium-version-settings\/coupon-settings\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"YITH Advanced Refund System: Coupon settings\" \/>\n<meta property=\"og:description\" content=\"As an alternative to the refund, the shop admin can offer a coupon code. The coupon code is sent via email immediately after clicking on the\u00a0&#8220;Offer a coupon&#8221;\u00a0option on the request details page. If you want to customize the coupon code format, go to the plugin settings page (YITH &gt; Advanced Refund System) and configure &hellip; Continue reading Coupon settings\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/premium-version-settings\/coupon-settings\/\" \/>\n<meta property=\"og:site_name\" content=\"YITH Advanced Refund System for WooCommerce\" \/>\n<meta property=\"article:published_time\" content=\"2017-05-22T12:47:47+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-24T15:28:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/wp-content\/uploads\/sites\/29\/2017\/05\/19-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"900\" \/>\n\t<meta property=\"og:image:height\" content=\"501\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Alessio Torrisi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Alessio Torrisi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/premium-version-settings\/coupon-settings\/\",\"url\":\"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/premium-version-settings\/coupon-settings\/\",\"name\":\"YITH Advanced Refund System: Coupon settings\",\"isPartOf\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/premium-version-settings\/coupon-settings\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/premium-version-settings\/coupon-settings\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/wp-content\/uploads\/sites\/29\/2017\/05\/19-1.jpg\",\"datePublished\":\"2017-05-22T12:47:47+00:00\",\"dateModified\":\"2025-02-24T15:28:56+00:00\",\"author\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/#\/schema\/person\/cb8b9dbb75e34f325cc8329424e6a6c5\"},\"breadcrumb\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/premium-version-settings\/coupon-settings\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/premium-version-settings\/coupon-settings\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/premium-version-settings\/coupon-settings\/#primaryimage\",\"url\":\"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/wp-content\/uploads\/sites\/29\/2017\/05\/19-1.jpg\",\"contentUrl\":\"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/wp-content\/uploads\/sites\/29\/2017\/05\/19-1.jpg\",\"width\":900,\"height\":501,\"caption\":\"Offer a coupon\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/premium-version-settings\/coupon-settings\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Coupon settings\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/#website\",\"url\":\"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/\",\"name\":\"YITH Advanced Refund System for WooCommerce\",\"description\":\"Plugin documentation\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/#\/schema\/person\/cb8b9dbb75e34f325cc8329424e6a6c5\",\"name\":\"Alessio Torrisi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1dc305ade0adaba279202977d3352276?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1dc305ade0adaba279202977d3352276?s=96&d=mm&r=g\",\"caption\":\"Alessio Torrisi\"},\"url\":\"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/author\/alessio\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"YITH Advanced Refund System: Coupon settings","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:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/premium-version-settings\/coupon-settings\/","og_locale":"en_US","og_type":"article","og_title":"YITH Advanced Refund System: Coupon settings","og_description":"As an alternative to the refund, the shop admin can offer a coupon code. The coupon code is sent via email immediately after clicking on the\u00a0&#8220;Offer a coupon&#8221;\u00a0option on the request details page. If you want to customize the coupon code format, go to the plugin settings page (YITH > Advanced Refund System) and configure &hellip; Continue reading Coupon settings","og_url":"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/premium-version-settings\/coupon-settings\/","og_site_name":"YITH Advanced Refund System for WooCommerce","article_published_time":"2017-05-22T12:47:47+00:00","article_modified_time":"2025-02-24T15:28:56+00:00","og_image":[{"width":900,"height":501,"url":"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/wp-content\/uploads\/sites\/29\/2017\/05\/19-1.jpg","type":"image\/jpeg"}],"author":"Alessio Torrisi","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Alessio Torrisi","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/premium-version-settings\/coupon-settings\/","url":"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/premium-version-settings\/coupon-settings\/","name":"YITH Advanced Refund System: Coupon settings","isPartOf":{"@id":"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/#website"},"primaryImageOfPage":{"@id":"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/premium-version-settings\/coupon-settings\/#primaryimage"},"image":{"@id":"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/premium-version-settings\/coupon-settings\/#primaryimage"},"thumbnailUrl":"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/wp-content\/uploads\/sites\/29\/2017\/05\/19-1.jpg","datePublished":"2017-05-22T12:47:47+00:00","dateModified":"2025-02-24T15:28:56+00:00","author":{"@id":"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/#\/schema\/person\/cb8b9dbb75e34f325cc8329424e6a6c5"},"breadcrumb":{"@id":"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/premium-version-settings\/coupon-settings\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/premium-version-settings\/coupon-settings\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/premium-version-settings\/coupon-settings\/#primaryimage","url":"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/wp-content\/uploads\/sites\/29\/2017\/05\/19-1.jpg","contentUrl":"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/wp-content\/uploads\/sites\/29\/2017\/05\/19-1.jpg","width":900,"height":501,"caption":"Offer a coupon"},{"@type":"BreadcrumbList","@id":"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/premium-version-settings\/coupon-settings\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/"},{"@type":"ListItem","position":2,"name":"Coupon settings"}]},{"@type":"WebSite","@id":"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/#website","url":"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/","name":"YITH Advanced Refund System for WooCommerce","description":"Plugin documentation","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/#\/schema\/person\/cb8b9dbb75e34f325cc8329424e6a6c5","name":"Alessio Torrisi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1dc305ade0adaba279202977d3352276?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1dc305ade0adaba279202977d3352276?s=96&d=mm&r=g","caption":"Alessio Torrisi"},"url":"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/author\/alessio\/"}]}},"_links":{"self":[{"href":"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/wp-json\/wp\/v2\/posts\/123","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/wp-json\/wp\/v2\/comments?post=123"}],"version-history":[{"count":6,"href":"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/wp-json\/wp\/v2\/posts\/123\/revisions"}],"predecessor-version":[{"id":488,"href":"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/wp-json\/wp\/v2\/posts\/123\/revisions\/488"}],"wp:attachment":[{"href":"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/wp-json\/wp\/v2\/media?parent=123"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/wp-json\/wp\/v2\/categories?post=123"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-advanced-refund-system-for-woocommerce\/wp-json\/wp\/v2\/tags?post=123"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}