1. Documentation /
  2. Smart Coupons /
  3. Different ways to restrict gift cards

Different ways to restrict gift cards

Smart Coupons provide a powerful, “all-in-one” solution for gift cards, store credits, discount coupons, and vouchers, extending the core functionality of WooCommerce coupons.

This document explains the different ways a gift card can be restricted.

Create gift cards for order status

↑ Back to top

Imagine you want to generate the gift card only when the order status has been completed. Then you can achieve this by navigating to your WordPress Dashboard > WooCommerce > Settings > Smart Coupons tab: “Valid order status for auto-generating coupon”. Add your valid order status on which you want the gift card to be generated and emailed to the customer.

Calculate the tax before or after applying the Gift Card

↑ Back to top

By default, the WooCommerce core coupons will be applied only to the cart subtotal, whereas the discount type ‘Store Credit / Gift Certificate‘ (which is added by Smart Coupons) will be applied to the order total (cart subtotal + tax + shipping). If you want to apply the store credit before applying tax, you can use the ‘Apply before tax’ setting. To enable this setting, you can follow this article.

Disable Gift Cards from being used with other discount coupons

↑ Back to top

To create a gift card, you would have to follow the following documentation and its steps:

  1. Gift Card of any amount
  2. Gift Card of variable but fixed amount
  3. Gift Card of a fixed amount

When following the above steps, you would have created a coupon and assigned this coupon to the product. We call it the parent coupon that is being attached to the Gift Card Product. In that parent coupon, kindly navigate to the Usage restriction tab -> enable “Individual Use only” and save/update the coupon.

(Note: This will only update the setting for the future generated Gift cards and not for the earlier Gift cards that were generated.)

Adding an expiration date to the Gift Card

↑ Back to top

To add an expiry date to the auto-generated Gift Card, you need to navigate to the parent coupon that is assigned to the product, and in the General tab, make sure you select the “Valid for” field and the appropriate drop down.

Enable users to schedule sending Gift Cards

↑ Back to top

To allow users to schedule Gift Cards for Birthdays/Anniversaries or any special occasions, you need to enable the settings under WordPress Dashboard > WooCommerce > Settings > Smart Coupons tab: “Allow schedule sending of coupons?

Conditions when Gift Cards can be used

↑ Back to top

You can limit the auto-generated Gift Card coupon to users based on the Minimum/Maximum spend amounts, Product and Product category restrictions, location, payment gateway, and product attributes. For this, you need to make sure you add the restrictions in the Usage restriction tab of the Parent coupon that has been assigned to the Gift Card Product.

Winding up

↑ Back to top

The above restrictions are examples of how a Gift Card or Gift Certificate product can be restricted based on your day-to-day life and would make life easier for store owners while limiting accessibility to customers.