Gift Certificate Issue
Gift Certificate Issue
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
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
Rick Morris
Brewhaus (America) Inc.
Hot Sauce Depot
Brewhaus (America) Inc.
Hot Sauce Depot
Re: Gift Certificate Issue
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.
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Gift Certificate Issue
You can add $giftcertificate.SerialNumber to the email.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Re: Gift Certificate Issue
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.
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.
Rick Morris
Brewhaus (America) Inc.
Hot Sauce Depot
Brewhaus (America) Inc.
Hot Sauce Depot
Re: Gift Certificate Issue
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?
Rick Morris
Brewhaus (America) Inc.
Hot Sauce Depot
Brewhaus (America) Inc.
Hot Sauce Depot
Re: Gift Certificate Issue
Append this to the reference of the dollar amount in your email template...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?
Code: Select all
.ToString("ulc")
Code: Select all
$orderItem.Price.ToString("ulc")
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
Re: Gift Certificate Issue
Thanks, Joe. That was pretty simple. 

Rick Morris
Brewhaus (America) Inc.
Hot Sauce Depot
Brewhaus (America) Inc.
Hot Sauce Depot
Re: Gift Certificate Issue
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 

Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
Re: Gift Certificate Issue
So, you're admitting that you are challenged? 

Rick Morris
Brewhaus (America) Inc.
Hot Sauce Depot
Brewhaus (America) Inc.
Hot Sauce Depot
Re: Gift Certificate Issue
second only to my cooking without creating A) smoke or B) a road tripBrewhaus wrote:So, you're admitting that you are challenged?

Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com