Dynamic Coupon Codes - Plugin
Dynamic CouponsDynamic Coupon Codes for VirtueMart Emails Manager and Order Followup plugin.
Dramatically increase customer loyalty and retention with personal coupons!
This extremely powerful plugin lets you add dynamic coupons into VirtueMart's email templates. You can use it in both our FREE Order Follow-up plugin or in our #1 best selling Emails Manager.
For example - The "Order Confirmation" email is an excellent opportunity to offer your customers a gift coupon for their next purchse... Only $19.99 - Get it now.
Latest version is 2.1.3 with new features:
- Coupon value can be set as percentage of the previous order's total
- pre-text
- post-text
- coupon style
- send to specific order status
You can offer a gift coupon to your customers for their next purchase right inside VirtueMart system emails. A real sales booster!
IMPORTANT: This plugin works only with the FREE Order Follow-up extension and the VM Emails Manager version 2.1.0 and up.
Coupon Parameters
The parameters for the coupons are:- percent or total
- gift or permanent
- value
Tag usage
Use the following coupon tag inside email templates in order to create dynamic coupons:[COUPON:percent_or_total|gift_or_permanent|coupon_value]
Example:
[COUPON:percent|gift|25]
Once the VirtueMart Emails Manager identifies this tag inside the email, it dynamically creates a new VM coupon code and adds it to the email.
The newly created email might look like this: 4C504BCF71082
Advanced tag usage
You can set the coupon's value to be a percentage of the order's total value by replacing the coupon value with the following format:
{0.15*ORDER_TOTAL}
For example, this tag will create a coupon with a value of %15 of the previous order's total:
[COUPON:total|gift|{0.15*ORDER_TOTAL}]
Working together with the Emails Manager
After you enable this plugin, you will see inside the Emails Manager a new set of coupon parameters options under "Dynamic coupons template variables" on the right side of each email template.

Prefix and Suffix text
You might want to add text before or after the coupon. This is usually relevant when you want to send the coupon only for specific order status and do not want these texts to appear in all emails.
Use standard HTML or plain text for this option.
Order status
You can choose which order status notification will include the coupon code + prefix/suffix text. For example, you might want that the coupon will be sent only to "order complete" email status notification.
For other order status notification, the coupon tag will be removed.
CSS Style
You can add any standard CSS style to decorate the Coupon text. Use the style box to add any styling.



