How to Include Multiple Licenses in an Email Fulfillment
You can offer multiple license files in an Email Fulfillment or on the web receipt displayed on the order confirmation page by adding custom template keys. These keys distinguish each license from the others.
Set Up Licenses
After you have added an individual product to your store in SpringBoard, you will need to add License Fulfillment Actions for each of your licenses. Go to SpringBoard's Store Home » Products and Pages. Select the product to which you want to add Fulfillment Actions. For each of the licenses you have added, under Fulfillment Actions, click Edit. Click on the Advanced tab. In Custom Template Key field, enter in a key name for the file. This Key will be used when you set up the Email Fulfillment to deliver the files. Be sure to click Save each time.
When you enter in a Custom Template Key, it will appear next to the License Fulfillment, as shown below.
Email Fulfillment Setup
Once your licenses are added and assigned a Key, you will need to set up an Email Fulfillment to deliver them. If you assigned a Key to the licenses, then you can refer to them in the license delivery variable. In our example, with licenses assigned key names license1 and license2, you can refer to them as #{orderItem.fulfillment.license1.licenses.list}
and #{orderItem.fulfillment.license2.licenses.list}
An example of sample code for an Email Fulfillment is below, followed by images of the code in SpringBoard and a sample email received by a customer.
<p>Thank you for your order. You may using the following license codes:</p> <p>License 1 <br /> #{orderItem.fulfillment.license1.licenses.list}</p> <p>License 2 <br /> #{orderItem.fulfillment.license2.licenses.list}</p>
Web Fulfillment Setup
Additionally, you can add the same code to the Web Fulfillment, which will put delivery information on the web receipt displayed on the order confirmation page, as shown below.
We're Here to Help
If you need assistance with including multiple licenses in an Email or Web Fulfillment, please open a support ticket.