You can find this section in HostBill Admin → Extras → Promotions → Promotional Codes
Creating new coupon / promo code
To add new promotional code go to Promotional Codes section and click on Add new code button at the left menu.
Configuring coupons / promo codes
Promotional codes/coupons are configured according to the following features:
- Coupon Code - you can type in a code text or just generate it at random.
- Coupon type - there are two types of coupons:
- Cart coupon - applicable to the order in cart (for new and existing customers)
- Invoice coupon - applicable to the unpaid invoices (only for existing customers)
- Discount - here you can define the discount amount that will be applied by the coupon. It can be set as a percentage or as a fixed amount.
- Discount type - there are two types of discounts to choose from: Apply once or recurring. The first one can be applied only once and afterwards the coupon gets invalid, the latter can be used more than once.
- Apply to - the code can apply to the recurring price, setup fee or total price.
- Applicable by - here you can define to whom the code will be applied:
- All customers - the code will be applied to all customers
- Only new customers - the code is available only for newcomers.
- Only existing customers - the code can be applied to customers that are registered in your database. It can be applied to all or to a specific client.
- Maximum usage - this tab allows to define how many times a given code can be used. Once the maximum usage is harnessed the code becomes inactive.
- Max. use per one client - decide if the client can use the promo code more than once
- Expiration date - there you can set the coupon expiration date. After given date the code will become inactive.
- Notes (Admin only) - here you can provide some additional notes about promotional codes that are visible only for you and other admins.
- Applies to - here you have to define to what type of product/services the code would be applied to. You can use it to:
- Products
- Categories
- Addons
- Domains
- Form components
- or to all of them at once.
It's up to you how you will distribute codes. You can send them to specific clients, display them as a news/announcement in the Client Area or post them on your website.
Auto-applying coupon details to invoice emails
If you have active invoice coupons in your system, you can edit your invoice-related templates (like notification about new invoice, invoice reminders, invoice overdue notices) and auto-assign related coupon to email notification, to encourage customer to pay for invoice with additional discount applied. To do so, in related email template you can use following block:
Code Block |
---|
{havepromocodes invoice=$invoice} {if $coupon} Hurry up and save! You can use following coupon code: <strong>{$coupon.code}</strong> to get up to {$coupon.value} {if $coupon.type=='percent'}%{else}{$currency.code}{/if} off your invoice total! To use it, login to our client portal, open this invoice and click on Add Coupon Code {/if} |