=== Product Like and Hide ===
Contributors: mariaak
Tags: WooCommerce, product, like, hide, wishlist
Requires at least: 5.4
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.2

Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=J7GGEGDD4XV5
Author: Product Like and Hide
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Allow customers to like and hide products in your WooCommerce store.

== Description ==

The **Product Like and Hide** is an WooCommerce add-on that allows customers to like or hide products on your store. Customers can easily "like" a product by clicking the like button on the product page.

This feature can be used to create a wishlist, or to simply show which products are the most popular among customers.

Additionally, **Product Like and Hide** also allows customers to hide products that they are not interested in, which can help to declutter the browsing experience.

**Product Like and Hide** helps customers find the products they love faster, and improve their overall browsing experience on your website.

**Important:** This plugin is an extension of the [WooCommerce](https://wordpress.org/plugins/woocommerce/) plugin and it cannot function independently.

**Check out the [Plugin Homepage](https://gianniskipouros.com/) for [documentation](https://gianniskipouros.com/documentation/) and the [changelog](https://gianniskipouros.com/changelog/).**

### Main Features

&#9989; Allow customers to like products.
&#9989; Allow customers to hide products.
&#9989; Display the number of likes on the product page.
&#9989; A Shortcode that displays the user's liked products in a page.
&#9989; Display a login or register message to not logged-in users that try to like a product.
&#9989; Daily, Weekly, Monthly and Yearly admin statistics of most liked and hidden products.

### Shortcodes
**plah_user_likes_page** - Displays the current user's liked products

### Filters and Actions

Multiple hooks will allow you to customize the plugin even further.

**Like this plugin? Please consider leaving a [5-star review](https://wordpress.org/support/plugin/product-like-and-hide/reviews/#new-post).**

**Do you have any questions: [Contact us](https://gianniskipouros.com/support/).**

== Installation ==

1. Upload the "Product Like and Hide" plugin into the directory `wp-content/plugins/`.
2. Enable the "Product Like and Hide" plugin.


== Frequently Asked Questions ==

= Can I translate the Product Like and Hide? =

You can translate [Product Like and Hide](https://translate.wordpress.org/projects/wp-plugins/product-like-and-hide/) into any language.

= I am facing a problem using this plugin. What can I do? =

Post detailed information about the issue in the [support forum](https://wordpress.org/support/plugin/product-like-and-hide/)


== Screenshots ==
1. Hide button in products' shop page
2. Like and hide buttons on the product single page

== Changelog ==

= 1.0.3 =
* Fix: fatal error on shop/category pages for logged-in users with hidden products (PHP 8+).
* Fix: plugin uninstall no longer errors and now correctly drops its database tables.
* Security: fixed a SQL injection in the "My Likes" page search field.
* Security: added nonce/CSRF protection to the settings save form.
* Compatibility: declared WooCommerce High-Performance Order Storage (HPOS) compatibility.
* Compatibility: fixed PHP 8 warnings/notices in several code paths.
* Tested up to WordPress 7.1 and WooCommerce 11.1.

= 1.0.1 =
* Compatibility with WordPress 6.4.2

= 1.0.0 =
* Initial Release

== Upgrade Notice ==

= 1.0.3 =
Fixes a fatal error on shop pages under PHP 8, a SQL injection, and a CSRF hole. Update is recommended.
