Offering a Coupon in an Email Fulfillment

Overview

If your customers tend to buy one product and never return, offering them a coupon in the email fulfillment  they receive (with their download links and license codes) may create a repeat customer. Additionally, you can create a great incentive for high-volume customers to continue buying from you by rewarding large purchases with a coupon only after the order total has reached a set dollar amount. Depending on how you set up the coupon, it can create a discount for a specific product or for any product in your store.

Creating the Coupon

To create the coupon, go to SpringBoard's Store Home » Promotions and Appearance » Offers. Click Create Discount.

offers.png330.png

Enter in the details of your offer, including the Discount Type. Under Conditions, select the checkbox for Add Coupon Condition. Under Coupon Type, select Multiple Random Codes. Enter in the Coupon Code prefix that will be used to generate coupon codes. Note: The Coupon Code must begin with, and end with, a letter. Click Next.

479.png480.png

Optionally, if you want to limit this coupon to only offer a discount off of a specific product, click Edit Conditions. Select Product Condition, and click Next. Choose the product that the coupon will be limited to, and click Create. Additionally, you can limit this coupon to only offer a discount off a select group of products.

Click on your Coupon Condition. Change the Batch Count to the number of coupons you want to generate. Although we will send you an email when the amount of your license codes run low (about 100 codes remaining), if you are a high volume store, we suggest you create more codes than you think you will possibly need because not having a license code available will prevent the completion of an order. Click Add Random Coupon Batch.

481.png482.png

You will now see a list of Unused Coupon Codes. Click in the box and select all of the coupon codes. Copy (Ctrl + C on a PC; Command + C on a Mac) the codes so that you can use them in the next step.

483.png

Creating the License and Email Fulfillments

Go back to SpringBoard's Store Home. Click on Products and Pages and select the product  to which you want to add the coupon to the email fulfillment. Click Add next to Fulfillment Actions. Select the Generate a License radio buttom. Select Pre-defined List, and click Next.

484.png513.png

Under License Quantity Behavior, choose Dispense Single License (Always). Paste in the list of licenses you copied from earlier. Click Create.

486.png487.png

Click on the Advanced tab. Enter in a Custom Template Key that you will want to remember because it will be used to identify this coupon in your email fulfillment. Note: This template key does not have to be the same as your coupon prefix. Click Save. If you already have an email fulfillment set up on your product, click to Edit it. If you do not have en email fulfillment, click Add next to Fulfillment Actions, select Email / Web Notification, and click Next. Decide if you want to add the coupon code to the email fulfillment as plain text or as a URL.

488.png

Adding the Coupon Code to the Email Fulfillment as Plain Text

If you did not limit the discount to a specific product, add something similar to the following code to the Email Text Contents of your email fulfillment to make the coupon appear, but replace templatekey with the Custom Template Key you used in the previous step. If you added a Product Condition to your Offer, we suggest you add the coupon code to the email fulfillment as a URL.

To receive 20% off your next purchase, use this code: #{orderItem.fulfillment.templatekey.licenses[0]}

In our example, we would use the following code:

To receive 20% off your next purchase, use this code: #{orderItem.fulfillment.next20off.licenses[0]}

Finish writing your email fulfillment and click Create or finish editing your existing email fulfillment and click Save. If you have an HTML email fulfillment on the product, you should also add the code to it. If you run a Test Order within SpringBoard, you can see the email fulfillment now includes your coupon code as plain text, as shown below.

493.png490.png

Adding the Coupon Code to the Email Fulfillment as a URL

If you want to add the coupon code as a URL, which is suggested if you restrict the discount to a specific product, add something like the following code to the Email Text Contents of your email fulfillment to make the coupon appear, but replace templatekey with the Custom Template Key you used in the previous step and replace productURL with the URL you use to link to the discount specific product.

To receive 20% off your purchase of Product C, use this URL: productURL?coupon=#{orderItem.fulfillment.templatekey.licenses[0]}

In our example, we would use the following code:

To receive 20% off your next purchase of Product C, use this URL: https://sites.fastspring.com/testcompany/instant/productc?coupon=#{orderItem.fulfillment.next20off.licenses[0]}

Finish writing your email fulfillment and click Create or finish editing your existing email fulfillment and click Save. If you have an HTML email fulfillment on the product, you should also add the code in the Email XHTML Contents field. An example of this code is as follows:

To receive 20% off your purchase of Product C, click <a href="productURL?coupon=#{orderItem.fulfillment.templatekey.licenses[0]}">here</a>.

If you run a Test Order within SpringBoard, you can see the email fulfillment now includes your coupon code as a URL, as shown below. You may want to click the URL to make sure the discount is being correctly applied.

494.png492.png

Setting Coupon Code to Trigger at a Set Order Total

If you want to offer a coupon code in an email fulfillment only when a specific order total (in USD) is reached, add the following code to the Email Text Contents of your email fulfillment, but replace amount with $0.01 less than the minimum order total that will trigger the coupon appearing. Make sure to also replace templatekey with the Custom Template Key you used previously.

<if test="#{order.subTotalUSD.value gt amount}">To receive 20% off your next purchase, use this code: #{orderItem.fulfillment.templatekey.licenses[0]}</if>

For example, if you only want the coupon to appear in the email fulfillment if the order total is $150, use the following code:

<if test="#{order.subTotalUSD.value gt 149.99}">To receive 20% off your next purchase, use this code: #{orderItem.fulfillment.templatekey.licenses[0]}</if>

If you have an HTML email fulfillment on the product, you should also add the code in the Email XHTML Contents field. Make sure to also replace templatekey with the Custom Template Key you used previously and replace productURL with the URL you use to link to the discount specific product. An example of this code is as follows:

<if test="#{order.subTotalUSD.value gt 149.99}">To receive 20% off your purchase of Product C, click <a href="productURL?coupon=#{orderItem.fulfillment.templatekey.licenses[0]}">here</a>.</if>

We're Here to Help

If you need assistance with adding a coupon code to an email fulfillment, please open a support ticket.

Have more questions? Submit a request

Comments

Powered by Zendesk