Gift Certificates (Print & Email)?

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
Tinyroots
Ensign (ENS)
Ensign (ENS)
Posts: 4
Joined: Mon Mar 02, 2009 5:46 pm

Gift Certificates (Print & Email)?

Post by Tinyroots » Mon Mar 02, 2009 5:52 pm

Is it possible to pre-print gift certificates with the 17 digit numeric numbers? I know it's possible to trigger an e-certificate from the cart, but i'm not sure how to get a list of 100+ codes.

Thank you

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Gift Certificates (Print & Email)?

Post by jmestep » Mon Mar 02, 2009 6:16 pm

This isn't to preprint them, but you can access the certificate number in the email sent out when the certificate is validated:
<p><strong> Your gift certificate number is : $giftcertificate.SerialNumber</strong></p>
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

Tinyroots
Ensign (ENS)
Ensign (ENS)
Posts: 4
Joined: Mon Mar 02, 2009 5:46 pm

Re: Gift Certificates (Print & Email)?

Post by Tinyroots » Mon Mar 02, 2009 6:31 pm

Judy - do you know if it's possible to access the 17 digit code so I can pre-print certificates? My customer base definitely prefers having a card-like certificate and i also have phone order customers that want them. Any help is appreciated.

thank you

Ashley

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Gift Certificates (Print & Email)?

Post by jmestep » Tue Mar 03, 2009 7:31 am

Those numbers are stored in the ac_GiftCertificates table so you could do various things. If you can link to the database itself, you could probably even do a Word mail merge to pick them up. Or copy them from the database table into an Excel document and then use them.
If you know enough .net code, you could probably lift code from the Admin/Payment/GiftCertificate.aspx & .cs file where they use CommerceBuilder.Payments.GiftCertificateDataSource.Load for Status() method.
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

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Gift Certificates (Print & Email)?

Post by mazhar » Tue Mar 03, 2009 9:40 am

Please check the following thread
viewtopic.php?f=45&t=9035

Post Reply