AwoCoupon Pro » Profiles

Profile (fields)
A gift certificate profile is the configuration for generating an automated gift certificate after it has been purchased on the front end. You can create as many profiles as you want.

To add a new gift certificate profile, select "New" from the Gift Certificate Profile list.
Fields:

Title
Title: the title of the profile.

From Name
Text: this is the from name in the email which is being sent to a customer after ordering a gift certificate. If left blank, the Store Name is used.

From Email
Email: this is the from email address in the email which is being sent to a customer after ordering a gift certificate. If left blank, the Store contact email is used.

Email Subject
Text: this is the subject in the email which is being sent to a customer after ordering a gift certificate.

BCC Admin
Checkbox: If checked, a blind carbon copy of the email will be sent to the email address entered in the From Email.

Minimum code length
Number: this is the minimum length the generated gift certificate code can be. The minimum value allowed is 5. The default value is 8.

Maximum code length
Number: this is the maximum length the generated gift certificate code can be. There is no limit. The default value is 12.

Message Type
Options
Text: automated gift certificate email should be sent as text mail
HTML: automated gift certificate email should be sent as HTML mail

Email Body
Text: this is the message in the email which is being sent to a customer after ordering a gift certificate. {vouchers} is required in message type of "Text" since it will be replaced with the gift certificate(s) ordered. 
 
List of dynamically populated variables:
  • {store_name}
  • {siteurl}
  • {vouchers} - the gift certificate codes generated for the customer
  • {image_embed} - for html images, embed the gift certificate images into the email
  • {purchaser_username} - the customer's username
  • {purchaser_first_name} - the customer's first name
  • {purchaser_last_name} - the customer's first name
  • {recipient_name} - the receiver's name
  • {recipient_email} - the receiver's email
  • {recipient_message} - if using virtuemart custom attributes, the message that the customer writes when purchasing the gift certificate
  • {today_date} - the current date
  • {order_id} - the order id
  • {order_number} - the order number
  • {order_status} - the order status
  • {order_date} - the date the order was created
  • {order_link} - the link to the order details
  • {order_total} - the order total
  • {product_name} - the name of the product being purchased. If multiple and used in email, names are comma separated 
  • {product_qty_name} - the names and quantities of the products being purchased which displays in the format: [quantity1] [product_name1], [quantity2] [product_name2]...etc 
  • {store_name}
  • {siteurl}
  • {vouchers} - the gift certificate codes generated for the customer
  • {image_embed} - for html images, embed the gift certificate images into the email
  • {purchaser_first_name} - the customer's first name
  • {purchaser_last_name} - the customer's first name
  • {recipient_name} - the receiver's name
  • {recipient_email} - the receiver's email
  • {recipient_message} - the message that the customer writes when purchasing the gift certificate
  • {today_date} - the current date
  • {order_id} - the order id
  • {order_date} - the date the order was created
  • {order_total} - the order total
  • {product_name} - the name of the product being purchased. If multiple and used in email, names are comma separated
{vouchers}
Text: This field is used to set the {vouchers} tag. A voucher consists of coupon code, coupon value, and expiration. Whithin this field you can set all 3 {voucher}, {price}, {expiration_text}. If the email being generated holds multiple vouchers, then the syntax created here will be displayed for each code generated.

{expiration_text}
Text: This field is used within the {vouchers} tag above and uses the tag {expiration}. The expiration of a coupon code is optional.

Image Configuration
Only available in Message Type of "HTML"
Gift Certificate Image [Options]: the image used to generate the gift certificate image. The images are located at
  - administrator/components/com_awocoupon/assets/giftcert/images (Joomla only)
  - /modules/awocoupon/giftcert/images (Prestashop only)
Custom images of types .png and .jpg can be added to this folder for more selection.

Filename [Text]: the name of the file to be used once the image is generated

The following fields are used to generate the gift certificate image
  • Coupon Code - the auto generated code
  • Value - the value of the gift certificate code
  • Expiration - the expiration date of the gift certificate
  • Free Text [1,2,3] - 3 fields with any custom text. All tags except for {image_embed} and {vouchers}/{gift_certificates} can be used in these fields. Tags are listed below.
The following items are what can be controlled when manipulating text within the image
  • Text: for the free text fields it is text, for expiration it is an option allowing you to select the format in which the date is displayed or not displayed at all.
  • Align [Options]: this is the alignment of the text, it can be left, middle, or right aligned.
  • Padding [Number]: this is the padding from either the left or right, depending on what is picked for Align.
  • Y-Axis [Number]: this is the height at which the text is placed.
  • Font [Options]: this is the font selection for the text. The fonts are located in administrator/components/com_awocoupon/assets/giftcert/fonts. More fonts can be added to that folder for more selection.
  • Font Size [Number]: this is the size of the font selected
  • Font Color [Options]: this is the color of the font selected
PDF Configuration
Filename [Text]: the name of the file to be used once the pdf is generated
Header [Text]: the header of the pdf, printed on every page
Body [Text]: the message for the pdf
Footer [Text]: the footer of the pdf, printed on every page

Uses the same tags as Email Body