Creating and Managing Gift Certificates with the WPEC Gift Certificate Plugin
Installing and Configuring the WPEC GC Plugin
Install the plugin by going to your WordPress dashboard and navigating to Plugins > Upload (navigate to the WPEC GC zip file on your computer) click it to attach the file. Click upload and then when prompted click “Activate.”
You’ll need to replace one line of code in your WP e-Commerce theme files. To do this use an ftp program to navigate to /wp-content/plugins/wp-e-commerce/wpsc-theme/wpsc-shopping_cart_page.php
<?php if(wpsc_uses_coupons() && (wpsc_coupon_amount(false) > 0)): ?>
<?php if( ( wpsc_uses_coupons() && (wpsc_coupon_amount(false) > 0) ) || dpp_gcs_applied() ): ?>
There are a couple of general settings for the plugin found under “Settings” > Gift Certificate Settings.
In the general settings, as seen above you can choose to have the gift certificate applied before or after taxes and before or after shipping.
Creating Gift Certificates
You create gift certificates to sell on your store like you create any other product. Go to the Products menu and click the “Products” link. Give the gift certificate a title, price and any other details you would like. There is one additional thing you need to do. Since you have the plugin installed you will see at the top right “Gift Certificate Options” simply check the box that says “Make this product a Gift Certificate.” Now publish like you would any other product.
Gift certificates of the designated amount are now available for purchase on your store. Once someone purchases a certificate they will receive an email with their unique Gift Certificate code. At the same time the code and the gift certificate amount will now appear under “Products” “Gift Certificates” this makes it easy to distinguish these products from all other products and allows you to view the outstanding amounts of gift certificates.
Purchasing with a Gift Certificate
When you have the gift certificate plugin installed your customers will see a field on the checkout page for applying their gift certificate by adding the code. The price of their total purchase will be discounted by the amount of their gift certificate.