=== StoreWings – Wishlist & Quick View for WooCommerce ===
Contributors: wingdevs
Tags: woocommerce wishlist, quick view, wishlist, product quick view, woocommerce
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A product Wishlist and a product Quick View for WooCommerce in one modular plugin. Switch on only what your store uses.

== Description ==

**StoreWings** adds the store features shoppers expect to your WooCommerce shop. Each feature is a module with its own switch and its own settings, and a module that is off adds nothing to your pages.

= Wishlist =

* **One click to save a product.** A heart button appears on every product card and on the product page.
* **Works with or without an account.** A visitor's wishlist is kept in their own browser. A signed-in customer's wishlist is saved with the account and follows them to every device.
* **Nothing is lost at sign-in.** Products saved before signing in are added to the account's wishlist automatically.
* **A wishlist page**, created for you on activation, with image, price, stock status and an Add to Cart button for every product.
* **Friendly to page caching.** Product pages are the same for every visitor; the wishlist state is painted in the browser.
* **Your colour.** Pick the button colour to match your store.
* **Shortcodes** for custom layouts: `[storewings_wishlist]` for the wishlist and `[storewings_wishlist_button]` for the button.
* **Privacy tools included.** The wishlist is part of WordPress's personal data export and erasure tools.

= Quick View =

* **A Quick view button on every product card** opens the product in a popup, so shoppers stay on the page they were browsing.
* **Everything needed to decide:** images with gallery thumbnails, name, rating, price, short description, options, quantity, Add to Cart, SKU and categories, and a link to the full product page.
* **Every product type:** simple, variable (options, variation price and variation image), grouped and external products.
* **Accessible.** The popup is a native dialog: focus stays inside, Escape closes it, and focus returns to the button that opened it.
* **Your colour** for the button, and the shortcode `[storewings_quick_view_button]` for custom layouts.

= Works with your theme =

The buttons are added through WooCommerce's own hooks and product blocks, so they appear in classic themes and block themes alike. StoreWings is tested with Astra, Blocksy, OceanWP, Storefront, Twenty Twenty-Five and Twenty Twenty-One.

= More modules on the way =

Product Compare and Variation Swatches are in development and are listed on the Modules screen as "Coming soon".

= For developers =

* Actions `storewings_loop_actions`, `storewings_quick_view_media` and `storewings_quick_view_summary` let you add, remove and reorder what is shown.
* Filter `storewings_wishlist_max_items` changes the number of products a wishlist can hold (200 by default).
* JavaScript events `storewings:wishlist-updated` (on `document`) and `storewings_quick_view_loaded` (jQuery, on `document.body`).

== Installation ==

1. In your WordPress dashboard go to Plugins > Add New and search for "StoreWings", or upload the plugin zip.
2. Activate the plugin. WooCommerce must be active.
3. Open **StoreWings** in the dashboard menu. Wishlist and Quick View are switched on from the start; switch off what you do not need.
4. Open the Wishlist or Quick View tab to choose the button colour and where the buttons appear.
5. Add the "Wishlist" page (created on activation) to your menu so shoppers can find their list.

== Frequently Asked Questions ==

= Does a shopper need an account to use the wishlist? =

No. A visitor's wishlist is kept in their browser. When they sign in, those products are added to the wishlist of their account.

= Where is the wishlist stored? =

For a signed-in customer, as a list of product IDs with their user account in your WordPress database. For a visitor without an account, in their own browser only; nothing is stored on your server.

= How many products can a wishlist hold? =

200. Developers can change the number with the `storewings_wishlist_max_items` filter.

= Does it work with page caching? =

Yes. The buttons are the same for every visitor and the wishlist state is added in the browser, and the Quick View content is loaded when the button is clicked.

= The buttons do not appear in my custom product layout. =

Use the shortcodes. Inside a product loop, `[storewings_wishlist_button]` and `[storewings_quick_view_button]` use the current product. Anywhere else, add the product ID: `[storewings_wishlist_button id="123"]`.

= How do I show the wishlist on another page? =

Add the shortcode `[storewings_wishlist]` to the page, then choose that page under StoreWings > Wishlist > Wishlist page.

= Can I change the place of the buttons? =

The switches under StoreWings > Wishlist and StoreWings > Quick View turn the automatic buttons on and off. With the automatic buttons off you can place the shortcodes wherever you like.

= What happens to my data when I delete the plugin? =

Your settings and your customers' wishlists are kept, so nothing is lost if you install the plugin again. To remove everything, tick "Remove all StoreWings settings and every customer's wishlist" on the Modules tab before you delete the plugin.

= Does StoreWings connect to an external service? =

No. Everything runs on your own site.

== Screenshots ==

1. Wishlist and Quick view buttons on the product cards.
2. Quick View: a variable product in the popup.
3. The wishlist page.
4. The Modules screen.
5. The Wishlist settings.

== Changelog ==

= 1.0.0 =
* First release: the Wishlist and Quick View modules.

== Upgrade Notice ==

= 1.0.0 =
First release.
