Page 1 of 1
Gift Certificate Issue
Posted: Wed Dec 02, 2009 7:21 pm
by Brewhaus
Similar to another post, we are finding that the Gift Certificate e-mail being sent to our customers does not have the certificate number included. Instead the customer gets:
The Gift Certificate $giftcertificate.Name is activated. You can view or print the details of your gift certificate using the information below.
$giftcertificate.Name: View Online
We are running 7.0.2 Build 11659, and only authorize payments at the time the order is placed. Once the order is paid we send the Gift Certificate Validated e-mail, but it is apparently not pulling the certificate information. Can anyone help on this? Tis the time of year for gift certificates.
Rick
Re: Gift Certificate Issue
Posted: Thu Dec 03, 2009 5:37 am
by mazhar
Make sure that your Gift Certificate Email template trigger is set to Gift Certificate Validated event. When order payments will be captured gift certificate will be validated and it will trigger Gift Certificate Validated event which will in turn send the Email notification with desired Gift Certificate information.
Re: Gift Certificate Issue
Posted: Thu Dec 03, 2009 6:28 am
by jmestep
You can add $giftcertificate.SerialNumber to the email.
Re: Gift Certificate Issue
Posted: Thu Dec 03, 2009 10:08 am
by Brewhaus
I will add the serial number to the e-mail, however, what will fix the e-mail to actually show the gift certificate name instead of $giftcertificate.Name? The customer is literally seeing the code, not the name of the gift certificate.
Update: I ran a test and found that the ORIGINAL e-mail for the validation does send the gift certificate name and (now) serial number. However, sending a subsequent e-mail (when someone misplaces the first) does not include the information. Instead, it shows only the code.
Re: Gift Certificate Issue
Posted: Sat Dec 05, 2009 8:15 am
by Brewhaus
I have managed to add a printable certificate to the Gift Certificate Validated e-mail, which shows the value and serial number for the certificate. However, the value shows with 4 decimal places, not two (eg. $10.0000). How do we get this to round down to two decimal places?
Re: Gift Certificate Issue
Posted: Sun Dec 06, 2009 6:52 am
by AbleMods
Brewhaus wrote:However, the value shows with 4 decimal places, not two (eg. $10.0000). How do we get this to round down to two decimal places?
Append this to the reference of the dollar amount in your email template...
So if you're pulling in an order line item amount, it would look like this in an email template:
Re: Gift Certificate Issue
Posted: Sun Dec 06, 2009 8:05 am
by Brewhaus
Thanks, Joe. That was pretty simple.

Re: Gift Certificate Issue
Posted: Sun Dec 06, 2009 10:13 am
by AbleMods
Simple, yes. Obvious, not always. Often I know something can be done simply because I remember seeing Able do it somewhere else. The challenge is remembering where I saw it

Re: Gift Certificate Issue
Posted: Sun Dec 06, 2009 10:43 am
by Brewhaus
So, you're admitting that you are challenged?

Re: Gift Certificate Issue
Posted: Sun Dec 06, 2009 11:37 am
by AbleMods
Brewhaus wrote:So, you're admitting that you are challenged?

second only to my cooking without creating A) smoke or B) a road trip
