Page 1 of 1

Gift Certificates (Print & Email)?

Posted: Mon Mar 02, 2009 5:52 pm
by Tinyroots
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

Re: Gift Certificates (Print & Email)?

Posted: Mon Mar 02, 2009 6:16 pm
by jmestep
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>

Re: Gift Certificates (Print & Email)?

Posted: Mon Mar 02, 2009 6:31 pm
by Tinyroots
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

Re: Gift Certificates (Print & Email)?

Posted: Tue Mar 03, 2009 7:31 am
by jmestep
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.

Re: Gift Certificates (Print & Email)?

Posted: Tue Mar 03, 2009 9:40 am
by mazhar
Please check the following thread
viewtopic.php?f=45&t=9035