{"id":25707,"date":"2022-02-23T12:28:04","date_gmt":"2022-02-23T12:28:04","guid":{"rendered":"https:\/\/couponaffiliates.com\/docs\/template-coupon-code\/"},"modified":"2022-02-23T12:28:04","modified_gmt":"2022-02-23T12:28:04","slug":"vorlage-gutscheincode","status":"publish","type":"aisa_doc","link":"https:\/\/couponaffiliates.com\/de\/docs\/template-coupon-code\/","title":{"rendered":"Template Coupon Code"},"content":{"rendered":"<p class=\"wp-block-paragraph\">Die <strong>Vorlagekupon<\/strong> is a normal WooCommerce coupon that the plugin uses as a blueprint. It is never given to an affiliate, and customers can&#8217;t use it. It exists only so the plugin knows what settings to give each new affiliate coupon it creates.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When you accept an affiliate application, the plugin creates a brand new coupon using the affiliate&#8217;s own code, copies the template&#8217;s settings onto it, and assigns the affiliate to it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>You need to set this up before affiliate registrations will work.<\/strong> Without a valid template coupon, accepting an application will not create a coupon.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Creating your template coupon<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Gehe zu <strong>Marketing &rarr; Coupons &rarr; Add coupon<\/strong> and create a normal WooCommerce coupon. Give it an obvious name, for example <code>affiliate_template_coupon<\/code>.<\/li>\n\n\n\n<li>Set the discount type and amount you want your affiliates&#8217; coupons to give their customers, along with any usage limits or restrictions.<\/li>\n\n\n\n<li>Publish the coupon.<\/li>\n\n\n\n<li>Gehe zu <strong>Coupon Affiliates &rarr; Settings &rarr; Registrations<\/strong>, and enter the exact coupon code in the <strong>Template coupon code<\/strong> field.<\/li>\n\n\n\n<li>Speichern Sie Ihre Einstellungen.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"961\" height=\"242\" src=\"https:\/\/couponaffiliates.com\/wp-content\/uploads\/2022\/02\/jh57wsadfh.png\" alt=\"\" class=\"wp-image-8018\" srcset=\"https:\/\/couponaffiliates.com\/wp-content\/uploads\/2022\/02\/jh57wsadfh.png 961w, https:\/\/couponaffiliates.com\/wp-content\/uploads\/2022\/02\/jh57wsadfh-300x76.png 300w, https:\/\/couponaffiliates.com\/wp-content\/uploads\/2022\/02\/jh57wsadfh-768x193.png 768w\" sizes=\"(max-width: 961px) 100vw, 961px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The field must match the name of an existing coupon exactly, and is case sensitive. When it matches, a green tick and an &#8220;Edit Coupon&#8221; link appear next to the field. If it doesn&#8217;t, you&#8217;ll see &#8220;Invalid coupon! This should be the exact name of an existing coupon code.&#8221;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you&#8217;re going through the plugin&#8217;s setup wizard, you can use the <strong>Generate Coupon<\/strong> button instead, which creates a basic template coupon for you from a discount type and amount. You can edit it afterwards like any other coupon.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">What gets copied to each affiliate coupon<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Every setting on the template<\/strong>, including the discount type and amount, expiry date, usage limits, minimum and maximum spend, allowed emails, product and category restrictions, and the plugin&#8217;s own per-coupon settings such as the commission rate.<\/li>\n\n\n\n<li><strong>The affiliate is assigned to the new coupon<\/strong> automatically, and its statistics, commission balance and usage count all start at zero. The template&#8217;s own usage history is never carried over.<\/li>\n\n\n\n<li>In the <strong>kostenlose Version<\/strong>, per-coupon commission settings are not copied. Affiliate coupons use the site-wide rate on the <strong>Kommission<\/strong> settings tab instead.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">The settings are copied once, at the moment the coupon is created. Editing your template later does not change any coupon that already exists &ndash; only affiliates accepted after the edit will get the new settings.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This means an <strong>expiry date<\/strong> on the template is copied as a fixed date, not &#8220;30 days from now&#8221;. If you set one, every affiliate coupon created afterwards will expire on that same day. The same applies to usage limits and restrictions: whatever is on the template applies to every affiliate.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Your template is also used when you <a href=\"https:\/\/couponaffiliates.com\/de\/docs\/affiliate-gutscheine-in-grosen-mengen-erstellen\/\">Affiliate-Gutscheine in gro\u00dfen Mengen erstellen<\/a>, and when you add an affiliate manually.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Discount and commission are separate<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">These are two different amounts, and it&#8217;s easy to mix them up.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Die <strong>discount<\/strong> is set on the template coupon itself, and is what the customer saves when they use the affiliate&#8217;s code. The <strong>commission<\/strong> is what the affiliate earns from the sale, and is set separately &ndash; either as a site-wide rate on the <strong>Kommission<\/strong> settings tab, or per coupon on the coupon itself. Setting a 20% discount does not give the affiliate 20% commission.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Common problems<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>&#8220;Coupon code was not created. Template has not been selected.&#8221;<\/strong> &ndash; no template coupon is set in the Registrations settings tab. Set one, then accept the application again.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>The affiliate&#8217;s coupon was created, but gives no discount.<\/strong> &ndash; the name in the Template coupon code field doesn&#8217;t match a real coupon, so there were no settings to copy. Check the spelling and capitalisation against the coupon in Marketing &rarr; Coupons.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>&#8220;Admin notice: The &#8216;template coupon code&#8217; can not be applied to any cart.&#8221;<\/strong> &ndash; this appears if the template coupon code is applied to a cart. The template is not a usable coupon, so the plugin removes it. Only admins see this message; for customers the code is removed silently. Affiliates should be using their own code, not the template.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>You want different templates for different affiliates<\/strong> &ndash; the PRO version supports several templates, with the affiliate choosing on the registration form. See <a href=\"https:\/\/couponaffiliates.com\/de\/docs\/pro-mehrfachvorlage-gutscheine\/\">(PRO) Gutscheine f\u00fcr mehrere Vorlagen<\/a>.<\/p>","protected":false},"author":1,"menu_order":0,"template":"","meta":{"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_links_to":"","_links_to_target":""},"aisa_doc_category":[157],"class_list":["post-25707","aisa_doc","type-aisa_doc","status-publish","hentry","aisa_doc_category-features-registration","wpbf-post"],"taxonomy_info":{"aisa_doc_category":[{"value":157,"label":"Affiliate Registration"}]},"featured_image_src_large":[],"author_info":{"display_name":"Elliot Sowersby","author_link":"#"},"comment_info":"","_links":{"self":[{"href":"https:\/\/couponaffiliates.com\/de\/wp-json\/wp\/v2\/aisa_doc\/25707","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/couponaffiliates.com\/de\/wp-json\/wp\/v2\/aisa_doc"}],"about":[{"href":"https:\/\/couponaffiliates.com\/de\/wp-json\/wp\/v2\/types\/aisa_doc"}],"author":[{"embeddable":true,"href":"https:\/\/couponaffiliates.com\/de\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":0,"href":"https:\/\/couponaffiliates.com\/de\/wp-json\/wp\/v2\/aisa_doc\/25707\/revisions"}],"wp:attachment":[{"href":"https:\/\/couponaffiliates.com\/de\/wp-json\/wp\/v2\/media?parent=25707"}],"wp:term":[{"taxonomy":"aisa_doc_category","embeddable":true,"href":"https:\/\/couponaffiliates.com\/de\/wp-json\/wp\/v2\/aisa_doc_category?post=25707"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}