All Collections
Connecting WooCommerce using Smart Coupons for WooCommerce plugin
Connecting WooCommerce using Smart Coupons for WooCommerce plugin
Matt Thomas avatar
Written by Matt Thomas
Updated over a week ago

Install Smart Coupons for WooCommerce plugin

Wrapped relies on having a WooCommerce gift card plugin installed on your website. This installs the necessary API endpoints we need to create and sync gift cards to your store, as well as providing the storefront functionality so your customers can buy gift cards (which will sync automatically to Wrapped).

You can download and install it from here:

Please ensure you are using the latest version of this plugin.

Because gift cards are created as coupon codes, any gift card format is supported. This is particularly useful for syncing existing gift card codes from your POS.

Adding WooCommerce to an existing Wrapped account

To connect WooCommerce to Wrapped, go to Settings > Sales channels and click Add more sales channels button. Then click Connect on WooCommerce option:

After accepting permissions, the sales channel will be added to your Wrapped account. Toggle the switch on if it is not enabled:

Click "View settings" and then select "Smart Coupons for WooCommerce plugin" and click "Save":

Creating a gift card product

If you'd like gift cards to be purchased online via WooCommerce, create a gift card product.

Log into your WooCommerce admin > Products > Add product:

In the General tab, select Variable product. Set Tax class to Zero rate:

In the Inventory tab, enter wrapped_giftcard for the SKU. We use this to identify gift card purchases.

In the Attributes tab, define your gift card denominations:

In the Variations tab, click Generate variations

Set all gift card variations to be "virtual" by selecting Bulk actions > Toggle "Virtual".
A virtual product is a product that is not physical and will not have shipping options.

Edit the price for each variation and save changes:

Complete other product details (like imagery) and publish to your storefront:

Once published, it should look similar to this:

Testing the Wrapped - WooCommerce integration

To quickly check your Wrapped - WooCommerce connection, you can:

  1. Create a test gift card in Wrapped under Gift cards > Issue gift card

2. Click Issue and activate. Navigate to your gift card and copy the code

3. Navigate to your WooCommerce store, add an item to your cart and go to cart.
Paste in your gift card code into the coupon field:

Click "Apply coupon":

You should see the gift card has been created and synced to WooCommerce successfully.

Coupons are created as "SmartCoupons". This means they can be paired with other discount/coupon codes and will be appled to the order total.

4. Remember to Void the test gift card in Wrapped after testing

Did this answer your question?