=== WCBoost - Wishlist ===
Contributors: wcboost
Tags: woocommerce wishlist, wishlist, products, e-commerce, woocommerce
Tested up to: 6.9
Stable tag: 1.3.0
Requires PHP: 7.0
Requires at least: 4.5
WC requires at least: 3.0.0
WC tested up to: 10.6
License: GPLv3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html

WCBoost - Wishlist lets shoppers create wishlists for later purchases, reminding them of desired items, driving repeat visits and boost sales.

== Description ==

Wishlist is a key feature in e-commerce websites. These websites benefit from increased conversion rates, optimized revenues, and simplified consumer buying processes.

According to studies, the majority of website visitors don't typically buy anything on their first visit. They frequently become perplexed by several products. A nice (and pertinent) solution for them is a wishlist. Users are able to add their favorite products to a list. For a store with a lot of options, this will make it simpler for users to make the decision. They can also quickly locate their preferred products when making subsequent purchases.

Users can also utilize wishlists to recommend their favorite goods to family members and friends. This is beneficial for your website. This will encourage more orders from customers who share the same interests on your website. Or assume that you will receive more orders that are gifts from your customers to one another on special occasions (such as birthdays, Christmas, etc.).

For sellers, understanding client preferences and issues also makes it simpler for store owners to cater to customers, which helps to boost online revenue for sellers.

Based on the fundamental API of WooCommerce, this plugin was created, ensuring compatibility, performance, and security. Because the plugin has been tested with the most widely used themes and is guaranteed not to interfere with the user experience, we also recognize the value of integrating with themes.

== Main features of the plugin ==

- Enable users to add items to wishlists.
- Can be restricted to only allowing users who are signed in to do so, while also encouraging visitors to register accounts so they can utilize the wishlist feature.
- Give the list a name (for logged in users)
- Add a wishlist description (for logged in users)
- Wishlist privacy settings (Full privacy control)
- Post wishlists on social media websites
- Email friends to share a wishlist
- Supports adding variations to the wishlist for all product styles
- Customize the wishlist page and buttons in an easy-to-understand manner.
- Friendly with SEO and caching plugins.
- Works with all themes. By using basic styles of WooCommerce, this plugin doesn't break the design of your theme.


== Installation ==

= Automatic installation =

Automatic installation is the easiest option as WordPress handles the file transfers itself and you don’t need to leave your web browser.

1. Log in to your WordPress dashboard, navigate to the Plugins menu and click Add New.
1. In the search field type "WCBoost - Wishlist" and click Search Plugins.
1. Once you’ve found it, you can install it by simply clicking Install Now button.

= Manual Installation =

1. Download the WCBoost - Wishlist plugin to your desktop.
1. Extract the plugin folder to your desktop.
1. Read through the "readme" file thoroughly to ensure you follow the installation instructions.
1. With your FTP program, upload the Plugin folder to the wp-content/plugins folder in your WordPress directory online.
1. Go to Plugins screen and find the "WCBoost - Wishlist" in the list.
1. Click Activate to activate it.

= Config attributes =

Even this plugin has been installed and activated on your site, variable products will still show dropdowns if you've not configured product attributes.

1. Log in to your WordPress dashboard, navigate to the Products menu and click Attributes.
1. Click to attribute name to edit an exists attribute or in the Add New Attribute form you will see the default Type selector.
1. Click to that Type selector to change attribute's type. Besides default options Select and Text, there are more 3 options Color, Image, Label to choose.
1. Select the suitable type for your attribute and click Save Change/Add attribute
1. Go back to manage attributes screen. Click the cog icon on the right side of attribute to start editing terms.
1. Start adding new terms or editing exists terms. There is will be a new option at the end of form that let you choose the color, upload image or type the label for those terms.


== Frequently Asked Questions ==

= Will this plugin work with my theme? =
Yes, it will work with any theme. Unlike other wishlist plugins, this one uses the default styles of WooCommerce. Therefore it won't break your theme even if your theme doesn't support it officially.

= Does it work with Multisite? =

Yes, it does work with WordPress multisite.

= Where are plugin's options =

Following the standards of WordPress and WooCommerce, you can find all the settings that relate to the appearance of your website (like icon, colors, text, etc) in Appearance > Customize > WooCommerce. Other options can be found in WooCommerce > Settings > WooCommerce > Wishlist.

== Screenshots ==

1. Wishlist with the StoreFront theme
2. Wishlist button on the single product page
3. Wishlist button on the product catalog page
4. Form edit wishlist
5. Wishlist settings
6. Visual options can be found in the Customizer

== Changelog ==

= 1.3.0 =
- Enhancement - Consolidate wishlist button rendering for single product and loop views into a single unified method.
- Enhancement - Refactor wishlist fragment handling to improve button update logic and code consistency.
- Enhancement - Refactor wishlist header display logic to use template arguments for visibility checks.
- Fix - Prevent incorrect error log entries when loading items from non-existing wishlists.
- Tweak – WooCommerce 10.6 compatibility.

= 1.2.3 =
- Enhancement - Update Wishlist edit template to allow title customization.
- Tweak - WordPress 6.9 compatibility.
- Tweak – WooCommerce 10.4 compatibility.
- Dev - Add filter to modify page title and heading for wishlist endpoints.
- Dev - Add filter for endpoint settings.

= 1.2.2 =
- Fix - Cannot restore the last item.

= 1.2.1 =
- Fix - Resolve fatal error when activating the plugin.

= 1.2.0 =
- New - Add the new constant `WCBOOST_WISHLIST_VERSION` for better version management.
- Enhancement - Add transient caching for template status to improve performance.
- Enhancement - Refactor template status methods for improved clarity and maintainability.
- Enhancement - Refactor package loading architecture.
- Fix - Resolve inconsistent hash content issues with temporary wishlists.
- Fix - Implement try-catch in session handling to prevent fatal errors when wishlist is not found.
- Fix - Resolve object cache refresh issues.
- Fix - Correct default wishlist ID type from string to int.
- Fix - Fix getting wrong default wishlist ID.
- Tweak - Mark packages manager as deprecated in favor of new architecture.
- Tweak - Improve get_items method to prevent unnecessary database calls for temporary wishlists.

= 1.1.6 =
- Enhancement - Add date_modified property to Wishlist class with proper database schema updates.
- Enhancement - Improve wishlist hash content generation using date_modified for better cache invalidation.
- Enhancement - Add wishlist hash key generation and translation functionality.
- Enhancement - Apply filters when adding products to wishlists for better extensibility.
- Fix - Resolve PHP fatal error with loop between has_item and add_item methods.
- Fix - Fix editing wishlist URL not found issue.
- Fix - Fix issue where removing items from widget doesn't update storage.
- Fix - Resolve WPML compatibility issue when displaying products from default language.
- Fix - Resolve PHP coding standards warnings.
- Tweak - Update query variables and rewrite rules for better URL handling.
- Tweak - Optimize item counting on initialization instead of reading all items.
- Tweak - Remove unused product translation method.

= 1.1.5 =
- New - Add two new Elementor widgets: wishlist page and wishlist button.
- Enhancement - Improve overall performance and security improvements.
- Fix - Translation issues in the admin area
- Fix - Layout issue with empty wishlist message display.

= 1.1.4 =
- New - Guests can now merge their wishlist with their account after logging in.
- Fix - Resolved a potential JavaScript error that occurred when updating the wishlist failed.

= 1.1.3 =
- Fix - Resolved compatibility issues with WPML.

= 1.1.2 =
- Fix - Fix issues with guest wishlists.

= 1.1.1 =
- Tweak - Improve caching to dynamically update wishlist fragments.
- Tweak - WordPress 6.6 compatibility.
- Tweak – WooCommerce 9.1 compatibility.

= 1.1.0 =
- Enhancement - Improve performance with the new client caching.
- Fix - Fix the installation issue.
- Tweak - WordPress 6.5 compatibility.
- Tweak – WooCommerce 9.0 compatibility.

= 1.0.13 =
- Tweak - Improve themes compatibility
- Fix - Fix issues that may occur when installing the plugin.

= 1.0.12 =
- Fix - The PHP warning of the wishlist button.

= 1.0.11 =
- Fix - Missing the nofollow attribute in the wishlist buttons.
- Fix - Fix errors with an old version of WPML.
- Fix - Remove the Edit Wishlist link for undefined wishlists.
- Fix - Correct the docs URL.
- Tweak - Update the Twitter X icon.
- Tweak – WooCommerce 8.8 compatibility.

= 1.0.10 =
- Fix - Possible issues if object cache is enabled.
- Tweak – WooCommerce 8.5 compatibility.

= 1.0.9 =
- Fix - PHP errors with the default wishlist loader.
- Tweak – WordPress 6.4 compatibility.
- Tweak – WooCommerce 8.3 compatibility.

= 1.0.8 =
- Enhancement - Declare compatibility with the WooCommerce HPOS feature.
- Tweak – WordPress 6.3 compatibility.
- Tweak – WooCommerce 8.0 compatibility.

= 1.0.7 =
- Enhancement - Improve compatibility with block themes.
- Enhancement - Improve the cleanup scheduled events.
- Fix - The problem of duplicated buttons that arise in certain scenarios.

= 1.0.6 =
- New - Add the new widget for wishlists.
- Tweak - Avoid duplicate calling refresh wishlist fragments.
- Tweak – WooCommerce 7.4 compatibility.
- Fix - The wishlist structure will be changed a bit if restoring the last item.
- Fix - Duplicated messages on the wishlist page.

= 1.0.5 =
- Fix - Fix errors of missing files.

= 1.0.4 =
- Fix - Fix bugs with the WPML plugin.
- Tweak – WooCommerce 7.2 compatibility.

= 1.0.3 =
- Fix - Issue of displaying the wishlist table after updating the columns option.

= 1.0.2 =
- Fix - incorrect URL of the Return To Shop button.
- Fix - incorrect attribute `aria-label` of the view button.
- Fix - wishlist fragments not updated if the wishlist page is opened.
- Fix - the error that sometimes the default wishlist page is not created on plugin activation.
- Fix - bug of not allowing guests to add to wishlist.
- Tweak – WooCommerce 7.1 compatibility.
- Tweak – WordPress 6.1 compatibility.

= 1.0.1 =
- New - Add a new sharing option to copy the URL of wishlist page.
- Enhancement - Improve the user experience with the sharing options.

= 1.0.0 =
- Initial release.
