=== YITH WooCommerce Gift Cards ===

Contributors: yithemes
Tags: gift card, gift cards, coupon, gift, discount
Requires at least: 6.7
Tested up to: 6.9
Stable tag: 4.30.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

The essential tool for selling gift cards in your store, increasing your conversion rate and attracting new customers.

== Description ==

= The easy way to sell gift cards in your shop  =

According to a study by Allied Market Research, gift cards turnover will register a record of $16 billion by 2028. And, by 2030, gift cards sold online will reach the $1.1 trillion threshold.

Gift cards are a powerful marketing tool to increase sales (especially during the holidays) and build customer loyalty over time.

Think about it: it could be a Christmas gift for a friend, a birthday gift for a family member, or Christmas bonuses for your employees… a gift card is always the best choice!

By offering your customers the opportunity to purchase a gift card that can be redeemed in your store, you can gain new customers (those who receive the gift card will know about your products and place an order, which means you will be able to push them to buy again and build their loyalty over time) and significantly increase your revenue.

YITH WooCommerce Gift Cards is an easy and free solution to start selling gift cards in your e-commerce store.

= How does it work? =

You only have to install the plugin, create your first gift card and publish it: a few-minutes process that will let you start offering gift cards immediately to your customers.

The user's interface is very easy and inspired by Amazon's one: your customers can choose one of the amounts you set, select an image to customize the gift card (our plugin is the only one that lets you upload an unlimited image gallery!), insert the receiver's details, add a message and, finally, purchase the gift card like any other product on your ecommerce store.

= Main features =

* Create unlimited virtual gift cards. A virtual gift card will be sent to the recipient email address
* Create unlimited physical gift cards with one or multiple fixed amounts. Physical gift cards can be printed and shipped to the customers
* The admin can create, edit and disable the gift cards manually from the backend
* Create a gallery of images to assign to specific gift cards or specific categories of gift cards. (Example: Christmas, Thanksgiving, Wedding, etc.)
* The user can enter the sender’s name and a customized message
* The user can choose one of the images available in the gallery
* Send automatically the gift card via email to the recipient
* The admin can verify the email sending status of the gift code
* Show the 'apply gift card code' form in Cart and Checkout pages
* Allow user to use the gift card to pay the order even if its balance doesn't cover the total amount
* Allow user to use the gift card as many times as they want, based on the available balance
* Allow the user  to verify the status and the amount of the gift cards he/she owns
* The admin can update the gift card balance from the backend without creating a new order
* The admin has access to a table with all gift cards (to check balance, related orders and so on)

**[Check the live demo >](https://plugins.yithemes.com/yith-woocommerce-gift-card-free/)**

= Need more? Get premium! =

Free version of our plugin works like a charm, but the premium one is a very powerful tool to increase sales and conversions.

**With the premium version you can:**

* Generate and send multiple gift cards through a bulk action
* Import and export gift cards into a CSV file
* Set an optional expiration date for the gift card (gift card will expire on a specific date, like January 01, or after a specific time after the purchase, like 3 months after)
* Manage stock of each gift card product
* Enable an optional QR code in gift cards
* Allow users to specify more recipients for the same gift card (an email with a code of the same amount will be sent to each recipient)
* Allow users to choose a delivery date and time for the gift card
* Allow users to upload or drag & drop a custom image or photo to customize the gift card in the modal window
* Allow users to enter a custom gift card amount (and optionally set the minimum amount that users can enter)
* Attach a PDF to gift card email (and customize the PDF name)
* Notify the sender via email when the gift card is delivered to recipient
* Notify the sender via email when the recipient uses the gift card for a purchase in your shop
* Choose the position of form in Cart and Checkout pages
* Allow users to enter the gift card code into the standard coupon code field (instead of showing two different forms in cart and checkout)
* Set a minimum requested amount in the cart to apply the gift card and exclude specific categories from gift card redemption
* Create and sell a gift card linked to a specific product of the shop: the gift card will be of the same value of the product that will be recommended in the email
* Choose the action to trigger when the gift card order gets the “Cancelled” status or it is refunded: suspend or disable the gift card (in this case, it cannot be used for any other purchases)

= Integrations =

* Compatibility with YITH WooCommerce Multi Vendor: users can apply the gift card codes only on products of vendors to which the gift cards have been assigned by the global admin
* Integration with WC Smart Coupons: convert Store Credit / Gift Certificate coupons created with it into new Gift Cards
* Integration with YITH Multi Currency Switcher for WooCommerce
* Integration with YITH Booking and Appointment for WooCommerce

 **[GET PREMIUM VERSION HERE with a 100% Money Back guarantee >](https://yithemes.com/themes/plugins/yith-woocommerce-gift-cards)**

= Documentation =

Please, read the **[official documentation of YITH WooCommerce Gift Cards](http://yithemes.com/docs-plugins/yith-woocommerce-gift-cards)** to learn more about all plugin features.

== Screenshots ==

1. Set a product as gift card and configure it.
2. Allow users to customize the gift card.
3. The recipient will receive the gift card via email.
4. Use the discount code and apply it in the dedicated box.
5. Discount is applied to the cart.
6. Dashboard with all gift cards.
7. Create or edit a gift card from the Dashboard.
8. Manage the different plugin settings.
9. Create different categories for your gift card images.


== Frequently Asked Questions ==

= To which email address will the gift card be shipped? =

The gift card will be sent to the recipient email defined by the customer or to the buyer's billing email address.

= Which format will be used for the code sent? =

The default format of the generated code is ****-****-****-**** and it will be made out of letters and figures.

= Can I edit the format used? =

Yes, the format can be edited in the plugin settings.

= Why haven't I received the email containing the gift card code? =

The gift card code is generated only after the order status goes to "processing" or "complete" and therefore it will be sent to the email address entered.

= What happens if the customers spend less than the total card amount? =

Each time the gift card is used, the available credit is updated and if there's some left, it can be used for future purchases.

= How can I report security bugs? =
You can report security bugs through the Patchstack Vulnerability Disclosure Program. The Patchstack team help validate, triage and handle any security vulnerabilities. [Report a security vulnerability.](https://patchstack.com/database/vdp/yith-woocommerce-gift-cards)

== Installation ==

**Important**: First of all, you have to download and activate [WooCommerce](https://wordpress.org/plugins/woocommerce) plugin, because without it YITH WooCommerce Gift Cards cannot work.

1. Unzip the downloaded zip file.
2. Upload the plugin folder into the `wp-content/plugins/` directory of your WordPress site.
3. Activate `YITH WooCommerce Gift Cards` from Plugins page.

= Configuration =

YITH WooCommerce Gift Cards will add a new tab called "Gift Cards" in "YITH Plugins" menu item. There, you will find all YITH plugins with quick access to the plugin settings page.

== Translators ==

Want to add a new language to our YITH WooCommerce Gift Cards? Learn how to contribute [in this page](https://translate.wordpress.org/projects/wp-plugins/yith-woocommerce-gift-cards/).


== Changelog ==

= 4.30.0 - Released on 26 November 2025 =

* New: support for WordPress 6.9
* New: support for WooCommerce 10.4
* Update: YITH plugin framework

= 4.29.0 - Released on 16 October 2025 =

* New: support for WooCommerce 10.3
* Update: YITH plugin framework

= 4.28.0 - Released on 4 September 2025 =

* New: support for WooCommerce 10.2
* Update: YITH plugin framework

= 4.27.0 - Released on 7 August 2025 =

* New: support for WooCommerce 10.1
* Update: YITH plugin framework

= 4.26.0 - Released on 7 July 2025 =

* New: support for WooCommerce 10.0
* Update: YITH plugin framework
* Dev: added new filter yith_ywgc_table_gift_card_recipient

= 4.25.0 - Released on 4 June 2025 =

* New: support for WooCommerce 9.9
* Update: YITH plugin framework

= 4.24.0 - Released on 24 April 2025 =

* New: support for WordPress 6.8
* Update: YITH plugin framework

= 4.23.0 - Released on 19 March 2025 =

* New: support for WooCommerce 9.8
* Update: YITH plugin framework

= 4.22.0 - Released on 20 February 2025 =

* New: support for WooCommerce 9.7
* Update: YITH plugin framework

= 4.21.0 - Released on 28 January 2025 =

* New: support for WooCommerce 9.6
* Update: YITH plugin framework

= 4.20.0 - Released on 24 December 2024 =

* New: support for WordPress 6.7
* New: support for WooCommerce 9.5
* Update: YITH plugin framework

= 4.17.0 - Released on 16 September 2024 =

* New: support for WooCommerce 9.3
* Update: YITH plugin framework

= 4.16.0 - Released on 20 August 2024 =

* New: support for WooCommerce 9.2
* Update: YITH plugin framework

= 4.15.0 - Released on 22 July 2024 =

* New: support for WordPress 6.6
* New: support for WooCommerce 9.1
* Update: YITH plugin framework

= 4.14.0 - Released on 19 June 2024 =

* New: support for WooCommerce 9.0
* Update: YITH plugin framework

= 4.13.0 - Released on 10 May 2024 =

* New: support for WooCommerce 8.9
* Update: YITH plugin framework
* Fix: fixed vulnerability due to a missing capability check on the 'save_mail_status' and 'save_email_settings'

= 4.12.0 - Released on 24 April 2024 =

* New: support for WooCommerce 8.8
* Update: YITH plugin framework

= 4.11.0 - Released on 20 March 2024 =

* New: support for WordPress 6.5
* New: support for WooCommerce 8.7
* Update: YITH plugin framework

= 4.10.0 - Released on 22 February 2024 =

* New: support for WooCommerce 8.6
* Update: YITH plugin framework

= 4.9.0 - Released on 29 January 2024 =

* New: Display the options from YITH WooCommerce Product Add-Ons & Extra Options in the gift card email
* Update: YITH plugin framework

= 4.8.0 - Released on 11 January 2024 =

* New: support for WooCommerce 8.5
* Update: YITH plugin framework

= 4.7.0 - Released on 27 December 2023 =

* New: support for WooCommerce 8.4
* Update: YITH plugin framework

= 4.6.0 - Released on 20 November 2023 =

* New: support for WordPress 6.4
* New: support for WooCommerce 8.3
* Update: YITH plugin framework

= 4.5.0 - Released on 09 October 2023 =

* New: support for WooCommerce 8.2
* Update: YITH plugin framework

= 4.4.0 - Released on 14 September 2023 =

* New: support for WooCommerce 8.1
* Update: YITH plugin framework

= 4.3.0 - Released on 18 August 2023 =

* New: support for WordPress 6.3
* New: support for WooCommerce 8.0
* Update: YITH plugin framework

= 4.2.0 - Released on 20 July 2023 =

* New: support for WooCommerce 7.9
* Update: YITH plugin framework
* Dev: move the gift card categories options inside the settings
* Dev: updated plugin author

= 4.1.0 - Released on 05 June 2023 =

* New: support for WooCommerce 7.8
* Update: YITH plugin framework

= 4.0.0 - Released on 17 May 2023 =

* New: support for WooCommerce 7.7
* New: support for PHP 8.1
* New: HPOS Compatibility
* Tweak: improved the settings panel
* Tweak: improved the gift cards dashboard table
* Tweak: improved the gift cards code edit page
* Tweak: improved the gift card categories taxonomy configuration
* Tweak: minor style changes
* Update: YITH plugin framework
* Fix: fixed the previous categories removed from an image assigned to a new category on creation
* Dev: different changes and improvements in the plugin code


= 2.19.0 - Released on 14 March 2023 =

* New: support for WordPress 6.2
* New: support for WooCommerce 7.5
* Update: YITH Plugin Framework
* Dev: added some checks to save only the images categories for gift card products

= 2.18.0 - Released on 14 February 2023 =

* New: support for WooCommerce 7.4
* Update: YITH Plugin Framework
* Fix: changed some deprecated methods from Elementor widgets

= 2.17.0 - Released on 04 January 2023 =

* New: support for WooCommerce 7.3
* Update: YITH Plugin Framework
* Fix: count column in the image categories table

= 2.16.0 - Released on 15 December 2022 =

* New: support for WooCommerce 7.2
* Update: YITH Plugin Framework

= 2.15.0 - Released on 15 November 2022 =

* New: support for WordPress 6.1
* New: support for WooCommerce 7.1
* Update: YITH Plugin Framework
* Fix: patched security vulnerability
* Dev: added new filter ywgc_recipient_email_label

= 2.14.0 - Released on 10 October 2022 =

* New: support for WooCommerce 7.0
* Update: YITH Plugin Framework
* Fix: Fixed the custom image not appearing in the cart and email
* Dev: minor changes

= 2.13.0 - Released on 13 September 2022 =

* New: support for WooCommerce 6.9
* Update: YITH Plugin Framework

= 2.12.0 - Released on 27 July 2022 =

* New: support for WooCommerce 6.8
* Update: YITH Plugin Framework
* Fix: fixed wrong coupon discount in checkout when adding coupon restrictions in WC
* Dev: minor changes
* Dev: prevent errors when saving a gift card product

= 2.11.1 - Released on 12 July 2022 =

* Update: YITH Plugin Framework
* Fix: fixed error when an order with a gift card is refunded

= 2.11.0 - Released on 04 July 2022 =

* New: support for WooCommerce 6.7
* Update: YITH Plugin Framework

= 2.10.0 - Released on 16 June 2022 =

* New: support for WooCommerce 6.6
* Update: YITH Plugin Framework
* Tweak: improved multiple versions handling
* Fix: fatal error wrong file path
* Dev: changed the serialized method to json methods

= 2.9.0 - Released on 09 May 2022 =

* New: support for WordPress 6.0
* New: support for WooCommerce 6.5
* Update: YITH Plugin Framework
* Dev: cleared the containers with floated elements in the gift card form

= 2.8.0 - Released on 31 March 2022 =

* New: support for WooCommerce 6.4
* Update: YITH plugin framework

= 2.7.0 - Released on 02 March 2022 =

* New: support for WooCommerce 6.3
* Update: YITH plugin framework
* Dev: removing unneccesary CSS rules and updating jQuery UI to the version 1.13.1

= 2.6.0 - Released on 27 January 2022 =

* New: support for WooCommerce 6.2
* Update: YITH plugin framework

= 2.5.0 - Released on 11 January 2022 =

* New: support for WooCommerce 6.1
* New: support for WordPress 5.9
* Update: YITH plugin framework
* Fix: fix the order register in the table when the gift card is used as coupon
* Dev: added custom updated post messages

= 2.4.0 - Released on 15 December 2021 =

* New: support for WooCommerce 6.0
* Update: YITH plugin framework
* Fix: critical error when add to cart
* Dev: added checks to avoid sending the email if it is deactivated
* Dev: added new filter yith_ywgc_email_description_text

= 2.3.0 - Released on 26 October 2021 =

* New: support for WooCommerce 5.9
* Update: YITH plugin framework
* Fix: fixed the save of the recipient information
* Fix: display the product image instead of the standard one when the gallery is disabled

= 2.2.1 - Released on 20 October 2021 =

* Update: YITH plugin framework
* Fix: fixed an error with multiple DB updates with no reason

= 2.2.0 - Released on 07 October 2021 =

* New: support for WooCommerce 5.8
* Tweak: code refactoring according to PHPCS
* Update: YITH plugin framework

= 2.1.1 - Released on 27 September 2021 =

* Update: YITH plugin framework
* Fix: debug info feature removed for all logged in users

= 2.1.0 - Released on 15 September 2021 =

* New: support for WooCommerce 5.7
* Update: YITH plugin framework

= 2.0.18 - Released on 13 August 2021 =

* New: support for WooCommerce 5.6
* Update: YITH plugin framework

= 2.0.17 - Released on 23 July 2021 =

* New: support for WordPress 5.8
* New: support for WooCommerce 5.5
* Update: YITH Plugin Framework
* Fix: fixing non translatable strings

= 2.0.16 - Released on 12 June 2021 =

* Update: YITH Plugin Framework

= 2.0.15 - Released on 11 June 2021 =

* New: Support for WooCommerce 5.4
* Update: YITH Plugin Framework
* Fix: Plugin name in the description of the plugin
* Dev: Removed uncessary code

= 2.0.14 - Released on 14 May 2021 =

* New: Support for WooCommerce 5.3
* Update: YITH Plugin Framework

= 2.0.13- Released on 08 April 2021 =

* New: Support for WooCommerce 5.2
* Update: YITH Plugin Framework

= 2.0.12- Released on 12 March 2021 =

* New: Support for WooCommerce 5.1
* New: Support for WordPress 5.7
* Update: YITH Plugin Framework

= 2.0.11- Released on 18 February 2021 =

* New: support for WooCommerce 5.0
* Update: YITH plugin framework
* Fix: fixed a visual issue in the image category column
* Fix: prevent the default categories to be duplicated
* Dev: added style fix for the gift card form on Elementor

= 2.0.10 - Released on 12 January 2021 =

* New: Support for WooCommerce 4.9
* Update: update plugin fw
* Dev: changes in the custom is_purchasable method
* Dev: avoid showing orders from a different user

= 2.0.9 - Released on 04 December 2020 =

* New: Support for WooCommerce 4.8
* Update: update plugin fw

= 2.0.8 - Released on 05 November 2020 =

* New: Support for WooCommerce 4.7
* New: Support for WordPress 5.6
* Update: update plugin fw
* Dev: removed the .ready method from jQuery

= 2.0.7 - Released on 20 October 2020 =

* New: Support for WooCommerce 4.6
* Update: update plugin fw

= 2.0.6 - Released on 17 September 2020 =

* New: Support for WooCommerce 4.5
* Update: update plugin fw

= 2.0.5 - Released on 25 August 2020 =

* New: Support for WooCommerce 4.4
* New: Support for WordPress 5.5
* Update: update plugin fw
* Dev: added the filter yith_wcgc_plugin_settings_capability to manage the plugin settings capabilities

= 2.0.4 - Released on 15 May 2020 =

* New: Support for WooCommerce 4.2 Beta
* New: added the plugin shortcodes to the Elementor panel
* Update: updated plugin framework
* Fix: fixes package name in some templates
* Fix: fixed a problem with the gift card used as coupon balance

= 2.0.3 - Released on 11 March 2020 =

* New: Support for WooCommerce 4.0
* New: Support for WordPress 5.4
* Update: updated plugin framework
* Dev: deleted Emogrifier class load

= 2.0.2 - Released on 17 February 2020 =

* Fix: removed useless parameters used in the premium version
* Fix: fixed the shortcode to display the form
* Dev: check if ywgc_data is an object in the JS

= 2.0.1 - Released on 30 January 2020 =

* Fix: Fixed an issue with the gift card codes inserted in the coupons fields
* Tweak: added a select image category metabox in the gift card products
* Update: Updated language files

= 2.0.0 - Released on 22 January 2020 =

* New: Now is possible to create and sell Virtual Gift Cards
* New: New settings panel
* New: Now is possible to create and edit Gift Cards from the Gift Cards dashboard
* New: Added a new images gallery to let the customer choose the Gift Card image
* New: Added a form to let the customer fill the recipient data and send the gift card via email
* New: Now, the Virtual Gift Card is sent via email to the recipient
* New: Added new option to select the Gift Card code pattern
* New: Added new option enable/disable the images gallery
* New: Added new option to select the number of images to show in the gallery
* New: Added new option to make the recipient info mandatory
* New: Added new option enable/disable a redirect button in the emails
* Tweak: Improved the plugin UX and UI
* Update: Updated plugin FW
* Update: Updated .pot file


= 1.3.11 - Released on 19 December 2019 =

* New: Support to WooCommerce 3.9 Beta1
* Update: Plugin framework

= 1.3.10 - Released on 29 November 2019 =

* Update: Notice handler
* Update: Plugin framework

= Version 1.3.9 - Released: Nov 07, 2019 =

* Update: updated plugin framework

= Version 1.3.8 - Released: Oct 30, 2019 =

* Update: updated plugin framework

= Version 1.3.7 - Released: Aug 07, 2019 =

* New: Support to WooCommerce 3.7
* Update: updated plugin framework

= Version 1.3.6 - Released: Jun 19, 2019 =

* Update: plugin framework version

= Version 1.3.5 - Released: Apr 23, 2019 =

* Update: plugin framework version

= Version 1.3.4 - Released: Feb 26, 2019 =

* New: Support to WordPress 5.1
* Update: plugin framework version

= Version 1.3.3 - Released: Dec 12, 2018 =

* New: Support to WordPress 5.0
* Update: plugin framework version 3.1.10


= Version 1.3.2 - Released: Oct 23, 2018 =

* New: Support to WooCommerce 3.5.0
* Update: plugin framework
* Update: plugin description
* Update: plugin links

= Version 1.3.1 - Released: Feb 01, 2018 =

* New: plugin framework 3.0.11
* New: support to WooCommerce 3.3.x


= Version 1.3.0 - Released: Jan 08, 2017 =

* New: plugin framework 3.0.6
* Fix: gift card amount is set to zero in cart page
* Fix: add to cart button does not showed using IE browser


= Version 1.2.9 - Released: Oct 11, 2017 =

* Fix: Warning message, cannot modify header information

= Version 1.2.8 - Released: Oct 6, 2017 =

* Update: Adding a filter to change the mode of making gift card code

= Version 1.2.7 - Released: Sep 28, 2017 =

* Fix: price gift card insertion
* Fix: gift card coupon not showed in order completed email

= Version 1.2.6 - Released: Aug 11, 2017 =

* New: support for WooCommerce 3.1.
* Update: YITH Plugin Framework.
* Update: language files.
* Tweak: tested up to WordPress 4.8.

= Version 1.2.5 - Released: Apr 30, 2017 =

* Update: YITH Plugin Framework.
* Tweak: tested up to WordPress 4.7.4.
* Tweak: changed plugin tags.

= Version 1.2.4 - Released: Apr 13, 2017 =

* Fix: prevent gift card code duplication when order status turn in processing and the in complete.
* Fix: gift card discount not correctly applied when used with WooCommerce 3.0+.

= Version 1.2.3 - Released: Apr 03, 2017 =

* New: ready for WooCommerce 3.0.
* New: create gift cards when the order status turn in processing or completed.
* Fix: YITH Plugin Framework initialization.
* Dev: filter 'yith_ywgc_generate_gift_card_on_order_status' lets third party set the order statuses on which the gift card will be created.

= Version 1.2.2 - Released: Jan 16, 2017 =

* New: WordPress 4.7 ready

= Version 1.2.1 - Released: Dec 01, 2016 =

* Updated: YITH Plugin framework
* Fixed: the available gift card amount does not contains the taxes paid at checkout

= Version 1.2.0 - Released: Oct 20, 2016 =

* Updated: YITH Plugin framework
* Tweaked: improved script and style file enqueuing
* Fixed: backward compatibility with WooCommerce version 2.6.0 or sooner: wrong product title shown when a gift card is added to the cart
* Fixed: coupon code rejected when used together with gift card code
* Fixed: duplicated fields shown on cart page

= Version 1.1.0 - Released: Jul 06, 2016 =

* Added: gift card code table
* Fixed: tab 'general' not visible after the update of WooCommerce to 2.6.2

= Version 1.0.10 - Released: May 04, 2016 =

* Fixed: missing YITH Plugin FW files

= Version 1.0.9 - Released: May 02, 2016 =

* Updated: plugin compatible with WordPress 4.5
* Updated: plugin author name
* Updated: YITH Plugin Framework

= Version 1.0.8 - Released: Mar 22, 2016 =

* Fixed: gift card code not shown correctly on emails
* Fixed: missing localization for some string
* Updated: YITH Plugin FW

= Version 1.0.7 - Released: Jan 29, 2016 =

* Fixed: add to cart fails when "sold individually" is wrongly checked
* Updated: "sold individually" it set to false as default for gift card product

= Version 1.0.6 - Released: Jan 11, 2016 =

* Updated: Changed the way that plugin files are included to avoid the "Fatal error: Class 'WC_Product' not found" experienced by some user
* Updated: removed the class YWGC_Gift_Cards, all functions are now on the main YITH_WooCommerce_Gift_Cards class
* Added: option to temporary disable the plugin

= Version 1.0.5 - Released: Nov 06, 2015 =

* Fixed: conflicts with coupon code on checkout page.
* Fixed: gift cards are set as virtual product

= Version 1.0.4 - Released: Nov 04, 2015 =

* Fixed: avoid showing post_id on order page

= Version 1.0.3 - Released: Oct 29, 2015 =

* Update: YITH plugin framework

= Version 1.0.2 - Released: Oct 22, 2015 =

* Fix: removed unused plugin settings tab.

= Version 1.0.1 - Released: Oct 12, 2015 =

* Fix: coupon code not applied correctly.

= Version 1.0.0 - Released: Sep 22, 2015 =

* Initial release



