==== WooPOS Gift Cards for WooCommerce ====
Contributors: woopos
Tags: woocommerce, gift, card, gift card, gift certifiate, integration, payment, woocommerce pos, point of sale, woocommerce point of sale, stock manager, woocommerce stock manager, stock count, inventory management
Requires at least: 4.0
Tested up to: 6.9
Stable tag: 2.7
Requires PHP: 7.2
Donate link: https://woopos.com
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

WooPOS Gift Cards for WooCommerce allows your customers to purchase and redeem gift cards in both online store and physical stores. 

== Description ==
WooPOS Gift Cards for WooCommerce is a plugin which allows you to manage and sell gift cards. Gift cards will be created and sent automatically from your website. You can sell them online or in your physical store, it will then allow your customers to redeem gift card on the site or your physical store using WooPOS.

This plugin is created by [WooPOS](http://woopos.com/), an all-in-one top-class Windows Desktop App for Point Of Sale (POS). From inventory management to data analytics, sales processing and employee management, WooPOS (WooCommerce POS) will help you manage your single or multiple location retail brick-and-mortar stores and online WooCommerce store. Build-in features: WooCommerce stock manager, WooCommerce shop manager, WooCommerce frontend manager, multi vendor, multi store, split payment, purchase order, average cost, employee commission, clerk permission, barcode designer and printing, product sales report, offline sales, cloud database, CRM loyalty points, rewards, store credit, gift card...and much much more.


== Installation ==
1. Install the WooPOS Gift Cards for WooCommerce (Install and activate <a href="http://wordpress.org/plugins/woocommerce/">Woocommerce</a> first)
2. Activate the plugin
3. Create single products in WooCommerce and mark as Gift Card


== Frequently Asked Questions ==
Q: How do i create a gift card for my customers to purchase?
A: You will need to create a product like every other product you sell. You will need to select the gift card option during the creation 

Q: Will the gift card be sent automatically when the customer purchases it online?
A: Yes.

Q: Is there a way to create an option for my customers to specify the value on the gift card?
A: Yes.

Q: Can physical gift cards puchased in WooPOS (Point Of Sale system) in physical store be used online?
A: Yes.

Q: Can gift cards the customer puchased online be used in physical stores?
A: Yes.

Q: Can I customize the email that is sent out?
A: Not yet. Will add soon.

Q: Do you offer support if I need help?
A: Yes! Please go our support [forum](https://support.woopos.com/forums/) for help.

== Screenshots ==
1. Gift card Management in WooCommerce.
2. Gift card Management in WooPOS.
3. Online check out for gift card

== Changelog ==
= 2.6 =
Solved import.php errors:
Removed unnecessary array keys " $giftCard['Address'], $giftCard['SendLater'] ".
Removed unnecessary $row variable.

Improved security:
Fixed deprecated usage of get_page_by_title() by replacing it with WP_Query for WordPress 6.2+ compatibility.
Fixed PHP 8.2 deprecation warnings by validating file paths before calling file_exists() and is_readable().
Fixed deprecated usage of WC()->cart->wc_get_checkout_url() by replacing it with wc_get_checkout_url().
Added esc_url( add_query_arg() ) where URLs are generated to help prevent cross-site scripting (XSS) vulnerabilities.

= 1.0 =
* Initial release.

== Upgrade Notice ==
= 1.0 = No Upgrade notice, because it is initial version.
= 2.6 = This update improves PHP and WordPress compatibility and security. Updating is recommended.


