F A Q - G i f t   C e r t i f i c a t e s

Q:
Any way to implement Gift Certificates or coupons in the shopping cart?

A:
We don't have a system that will handle huge volumes of gift certificates, but here is a way to do gift certificates that works quite well.

a) SELL THE CERTIFICATE
Have a page on your site where you offer "gift certificates" for sale. Sell them just like you would any "intangible" item, typically marking it free shipping:

<input type=hidden name=item value="a-1234^=SF==TF=gc^Gift Certificate^op2^1">
<select name=op2>
<option>$5.00
<option>$10.00
<option>$15.00
<option>$20.00
...
</select>
Name of person(s) who will redeem<input type=text name=op1>

The shopper adds as many certificates as they wish, and checks out normally. Be sure to tell them that they will receive an email from you with their gift certificate number(s).

Note that the above code example assumes that you don't charge tax on gift certificates at the time of sale, but charge it at the time of redemption.

b) CREATING THE GIFT CERTIFICATE
At this point, you have an order with a gift certificate in it. You now assign a number to the gift certificate, a ten digit code, probably the first 8 digits of the order number, and the last two being anything from 01 to 99 depending on if they ordered more than one gift cert in the order. You could even use the first six, and have the next three be the amount (as a double check) and the last digit be 1 of x they ordered in that order.

You will need to keep track of these, so you can check them off as they are redeemed.

c) DELIVERING THE GIFT CERTIFICATE
Email the shopper with the gift certificate number, and redemption instructions along with other appropriate text. Instruct them to forward the message to the gift certificate recipient. If you do it that way, the burden is off of you to deliver the certificate to a shopper supplied email address that may or may not be correct. The shopper, being kept in the loop, also knows that the delivery has taken place, since it came through them.

d) REDEEMING THE GIFT CERTIFICATE
On your site, you will have a page where the recipient of the certificate can add the certificate number into the cart, where it will give them that amount off their order.

The code for doing that is basically our "flat" discount feature where a discount amount can be added to the cart. A twist on that is that we've set this certain way so only 10 digit discount codes are accepted. That cuts down on shoppers just entering something in and hoping for an amount off. :-)

Here is some code you might want to use:

<input type=hidden name=item
value="a-1234^=giftcertflat=^Gift Certificate^op2^1">
Gift Certificate Code Number: <input type=text name=op1>
<select name=op2>
<option>$5.00
<option>$10.00
<option>$15.00
<option>$20.00
...
</select>

Note that the number MUST be in op1 for the check of ten digits to work. Also, the price must be in op2, even if op2 is coded as a hidden variable instead of something the shopper can change.

e) CREDITING THE GIFT CERTIFICATE
When you get an order in which someone has redeemed a certificate, the cost to the shopper is reduced by that amount, but will not go below zero. What you need to do now is to look up the number they put in and make sure it's in your system/ledger, and that it hasn't already been redeemed. You then mark it off as redeemed. It would be prudent to send a brief email to the shopper that originally bought the certificate telling them that it was redeemed, and by who. That way, if it was someone bogus, they would no doubt fuss about it.

SUMMARY:
The above system requires you to at least keep a file in a text editor containing the gift certificate numbers, the amount, the person buying, and the person supposedly receiving. There's room for fraud if you are not diligent (consider yourself warned), and it would be tedious to have more than ten or so of these per day.

We may make some improvements to the system in the future, but this is one way to do it that works right now. Obviously you can change some things in how it is suggested above, like getting the recipient's email address with the certificate and sending them a notice yourself.

Americart FAQ main page