=== CodeFaeries Save Later ===
Contributors: lwsdevelopers
Tags: wishlist, woocommerce, save for later, favorites
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
WC requires at least: 7.0
WC tested up to: 10.7
Stable tag: 1.0.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A lightweight WooCommerce wishlist plugin that lets customers save products for later, with full variation support and guest-to-user migration.

== Description ==

CodeFaeries Save Later is a WooCommerce wishlist plugin that allows customers to save products for later viewing. Built with performance and privacy in mind, it supports both simple and variable products, guest and logged-in users, and integrates cleanly with the WooCommerce My Account area.

**Key Features (Free):**

* Save simple and variable products to a wishlist
* Full variation support (save specific attributes)
* Guest and logged-in user support
* Automatic guest-to-user migration on login
* Real-time AJAX-powered updates
* Shortcode-based wishlist display
* WooCommerce My Account integration
* Draft mode for pre-launch configuration

**Privacy & Data**

CodeFaeries Save Later stores all wishlist data in custom tables in your own WordPress database. The plugin does not send any data to third parties.

You can configure whether wishlist data is deleted when the plugin is uninstalled from Settings > Save Later > General > Privacy & Data.

== Installation ==

1. Upload the plugin files to `/wp-content/plugins/codefaeries-save-later/`
2. Activate the plugin through the 'Plugins' menu in WordPress
3. A wishlist page is automatically created on activation. You can also configure settings under the Save Later menu in WordPress admin.
4. Optionally customize the wishlist shortcode `[codefaeries_save_later_wishlist]` on your page

== Frequently Asked Questions ==

= Can I use multiple wishlist count shortcodes on the same page? =

Yes! All instances will update simultaneously when the wishlist changes.

= Does it work with caching plugins? =

Yes. The count is loaded dynamically via AJAX, so it works with full-page caching.

= Does it work for guest users? =

Yes! Guest wishlists are stored using browser sessions via cookies.

= Where does the wishlist link go by default? =

It links to the wishlist page configured in the Save Later settings menu.

== Screenshots ==

1. Wishlist page with product grid layout
2. Save for Later button on product pages
3. Settings page - General tab
4. Settings page - Data Management tab

== Changelog ==

= 1.0.4 - 2026-05-29 =
* Changed: streamlined the free plugin for the WordPress.org Plugin Directory — it now focuses on the core wishlist (save, display, guest support, My Account integration).
* Internal: translations now load automatically via WordPress.org; the plugin no longer loads them manually.

= 1.0.3 - 2026-05-11 =
* Compatibility: minimum PHP requirement lowered to 7.3 — the plugin now runs on a wider range of hosts.
* Code quality: passes WordPress Plugin Check cleanly.
* Internal: release packaging refreshed.

= 1.0.1 - 2026-05-04 =
* Fixed: stability fixes at plugin startup — internal services now initialize reliably alongside the shared toolkit.
* Improved: release packaging tightened.
* Improved: database migration adds a unique index to prevent duplicate wishlist entries.

= 1.0.0 - 2026-03-23 =
First public release. CodeFaeries Save Later is a guest-friendly WooCommerce wishlist with full variable-product support.

* Save simple and variable products — specific Color/Size combinations are tracked as distinct entries, with graceful fallback when a variation is removed.
* Works for both guests and logged-in users; guest wishlists migrate automatically on login.
* "Save for Later" button on product and shop pages, with 13 placement positions (overlay, before/after cart, after price, etc.) and theme-overridable template.
* Shortcodes: `[codefaeries_save_later_wishlist]` (full wishlist), `[codefaeries_save_later_button]` (per product), `[codefaeries_save_later_count]` (count badge).
* "Wishlist Count" widget with heart icon, live-updated across the page.
* Floating wishlist icon overlay on product images.
* Settings under WooCommerce → Settings → Save Later: button, display, guest, cleanup, shortcode, advanced.
* Stats dashboard included on the Settings page.
* Automatic daily cleanup of expired guest sessions (logged-in wishlists are always preserved).
* Translation-ready, with RTL stylesheet; WPML and Polylang compatible.
* Security-hardened: nonces, prepared statements, sanitization, escaping.

== Upgrade Notice ==

= 1.0.4 =
Streamlined free release prepared for the WordPress.org Plugin Directory.

= 1.0.3 =
Recommended update — minimum PHP lowered to 7.3 (runs on more hosts) and Plugin Check compliance.

= 1.0.1 =
Recommended update — stability fixes at startup and a unique-index migration that prevents duplicate wishlist entries.
