Enabling gift certificates

In your Software Configuration,you need to set the following options to turn on the gift certificate feature.

 

xgiftcertificates

Setting this to Yes enables gift certificates on your site.

xgiftautoenable

Setting this to No means that you must manually edit the gift certificate and put something in the GiftAuthorized field before a customer can use it. This prevents hackers from trying to buy a gift certificate and then using it without first paying for it.

xgiftexpirydays

The number of days that a gift certificate is valid for.

xgiftlimit

This limits the amount of an individual gift certificate

xgiftprefix

This is a prefix used to generate the gift certificate number. For example, if you set this to “GIFT-“ the gift certificate number will be “GIFT-nnnnn-yyyy”

 

xgiftproductid

This is an internal number that is used to denote the item is a gift certificate. Default is 99999. This shouldnot be changed unless you have over 99999 products in your database.

xGiftTemplate

This is the template that is used as the message to the gift recipient.

 

After turning on some of the configs needed to enable gift certificates, your next step is to create the Gift type Products.

 

Please refer to the chapter Adding a product on page.219 on how to add a new product. The gift certificate product is recognized in the field Product Type set as Gift.

So make sure your new gift certificate product is set to have Product Type as Gift.

Each value of a Gift Certificate needs to have its own catalogid.

If you plan to have 3 types of gift certificates, e.g a $25.00, a $50.00 and a $100.00 certificate available, then you will need to create 3 different product IDs as Gift type items with these prices.