You can set up products as voucher products that can send a voucher code to the customer upon payment.
You need to set a VOUCHER VALUE in the automation area to have the voucher created in the vouchers area and sent though to the recipient.
This will also work if a customer wants to send a voucher as a gift, if you have a delivery address specified on checkout, the voucher will both be sent to the customer buying the voucher (customer details) and the gift recipient (delivery details)
Set up a product so that upon purchase or after a certain time, a voucher is sent to the customer.
First, edit the product, or create a new product that you want associated with the voucher. Click the Automation tab at the top right.
Next, set up the standard voucher settings.
You can customise the email that is sent out the to the customer.
It requires that the tag [VOUCHER] is included somewhere in the content, as this contains all the relevant info including the voucher code.
You can also use member tags such as [FIRSTNAME], but remember if it is a gift you would want to use the delivery name instead e.g. [b_ship_firstname]
You can send out a test email to yourself, to trial how the email will look. To do this add your voucher product to the cart and submit the order.
This doesnt require you to complete the transaction and pay an amount to have the email send - you can view the order, then click the blue AUTOMATION tab, then Do post payment processing to send the email through as a test.
Note: The order must be set to PAID for this to work, you can manually set your test order to PAID via the blue PAYMENT button far left of the automation tab.
Once you have a voucher email generated in the E-COMMERCE > VOUCHERS area, you can quickly edit the template and preview via the buttons available - see below:
Note: Members information such as their name will not appear on this preview as it is not associated with a member.