Gift Vouchers & Discount Coupons Guidelines

Changes sort order before using CCGV(trad)

In your osCommerce admin panel, under Modules --> Order Total, change the Sort Order as follows:

Creating a Gift Voucher

Creating a gift voucher for a customer to buy is the same as creating a new product with the exception that the gift vouchers Model Number must start with the word GIFT in upper case. It can be GIFT_25 or GIFT25 or whatever you would like to use, as long as it starts with the word GIFT. You can create gift vouchers in any denomination. Gift certificate images have been provide in the catalog\images directory in denominations of £5, £10, £20, £50 and £X (sample).

You can also create gift vouchers by sending them to your customers via the admin->Vouchers/Coupons->Mail Gift Voucher selection within the admin. To use this to send a voucher to a customer use the drop down customer list. To send to a single customer or future customer you can put their email in the Email To: text box. Do not use both the customer dropdown list and the Email To: text box or the customer will get 2 gift vouchers.

Gift Vouchers Queuing

To prevent fraud, all gift vouchers are queued in your admin panel. When selling gift vouchers, always check that payment has been made before releasing the gift voucher to the customer. Customers will be notified by email once a gift voucher has been released. Only after release can a gift voucher be used.

Gift Vouchers & Shipping

Gift vouchers are a virtual product. In this regard they do not require shipping charges to be added to them. To avoid the shipping charge on gift vouchers set the weight of the gift voucher to 0 when creating the product and enable downloads by setting to True the value in admin->configuration->downloads->enable download.

BE AWARE! Once Enable Downloads is set to True all of your non-virtual products MUST have a weight attached to them in osC  Admin --> Catalog.  If you don't do this then EVERYONE will get Free Shipping on all items in your store!

If you have already added a large number of non-virtual products to your store and not given them a weight then you can do so quite easily by accessing your database via phpMyAdmin, clicking on the SQL tab, and running the following sql query in the query box:

UPDATE products SET products_weight='1.00';

This will give all products a weight of 1.  If you already added Gift Vouchers as products then you'll need to go back to them and reset their weight to zero.

Creating Discount Coupons:

Creating a discount coupon is done through the admin->Vouchers/Coupons->Coupon Admin This selection allows you to create/insert, edit, email and delete a coupon. Coupons can be created in fixed or percentage amounts, for a single product, multiple products, a single category, multiple categories or the complete inventory.

Enabling Gift Vouchers and Discount Coupons

To enable the Gift Voucher, go to your admin->modules->order_total->Gift Vouchers and choose to install it. On a default system there should be a button with a green cross and the word 'Install'. Click that. 

To enable the Discount Coupon, go to your admin->modules->order_total->Discount Coupons and choose to install it. On a default system there should be a button with a green cross and the word 'Install'. Click that.

In this version of CCGV these are pre-enabled, but you can use this same feature to disable these functions if you do not require them. If you amend the Sort Order (shown above) please note that Discount Coupons must come before Gift Vouchers in the sort order.

Welcome Gift Voucher and Discount Coupon

The default value of the new customer gift voucher and discount coupon are set so that no value or notification is sent in the welcome email.

To send a welcome gift voucher to new customers go to Configuration -> My Store and enter an amount into the Welcome Gif Voucher Amount field. If you do not want to send a welcome gift voucher, enter 0. Welcome gift vouchers are sent as part of the welcome email.

To send a welcome discount coupon, first create a discount coupon, then go to Configuration -> My Store and enter the discount coupon code into the Welcome Discount Coupon Code field. If you do not wish to send a welcome discount coupon, leave empty. Welcome discount coupons are sent as part of the welcome email. NB: the coupon description is included in the email.

Explanations of Taxation and Discount Coupons

Some examples

If Discount Coupon is percentage based

If the Sub Total is 14.9 and the Discount is 10% then the discount is 1.49

The total is calculated like this, assuming the Tax is at 17.5% on the Sub Total minus the Discount Coupon

The important thing is that Tax has already been factored into the price of 14.0 minus 1.49, so the 2.00 Tax is the portion of 13.41 which is Tax. To calculate in reverse do this: 13.41 divided by 117.5 = 1.997 (rounded up it becomes 2.0)

 

If Discount is percentage based but with Display Tax set to False on your site, and Include Tax set to False for Discount Coupons then another product would calculate like this: