外掛說明
Customer Favourites for WooCommerce helps customers quickly reorder their most frequently purchased items by allowing them to save products as Favourites.
This plugin adds a “Save to Favourites” button to each product page and a “My Favourites” page where users can view and manage their saved products.
Upon activation, the plugin automatically creates a “My Favourites” page with the [tvwf_user_favourites] shortcode, which displays the current logged-in user’s Favourite products.
Alternatively, administrators can manually insert the shortcode on any page to show the user’s favourites list wherever it fits the site’s layout best.
🛍️ Frontend Features:
- Logged-in users can save/remove products as Favourites.
- Adds a “Save to Favourites” button on each WooCommerce product page.
- Favourite products persist even after placing an order.
- Adds a Favourites section to WooCommerce My Account, including the current saved-product count.
- Adds all available simple favourites to the cart in one click for faster repeat orders.
- Lets customers export their favourites as a CSV file for planning and purchasing workflows.
- Lets customers securely clear their entire favourites list when it is no longer needed.
- Favourites are stored separately for each site in a multisite network.
- Automatically creates a “My Favourites” page showing saved products using a shortcode.
- “My Favourites” page displays saved products.
- Admins can insert the
[tvwf_user_favourites]shortcode on any other page if desired. - Favourite products persist even after placing an order.
⚙️ Backend Features:
- New admin section to manage Favourites per user.
- View a list of each user’s Favourite products.
- Admins can manually add or remove products from a user’s Favourites list.
- Accessible directly from the WordPress Users list screen via a new “Favourites” button beside each user.
- In Network Admin, super admins can select a user’s site and manage that site’s separate favourites list.
📦 Use Cases:
- Perfect for B2B shops or customers who frequently reorder the same items.
- Simplifies the ordering experience for returning customers.
安裝方式
- Upload the plugin files to the
/wp-content/plugins/directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress.
- Ensure WooCommerce is installed and active.
- A “My Favourites” page should already exist. If not, create one and use the shortcode
[tvwf_user_favourites]if required.
常見問題集
-
Do users need to be logged in to save favourites?
-
Yes, saving Favourites requires the user to be logged in. Guests will be prompted to log in or register.
-
Can admin view or edit a user’s Favourites?
-
Yes! The plugin adds a custom “Favourites” column in the WordPress Users list.
In this column, a “Favourites” button appears next to each user.
Clicking the button opens a dedicated page where the admin can:
– View the user’s Favourite products.
– Add new products to their list.
– Remove any products from their list. -
Does this use a custom database table?
-
No, Favourites data is stored in site-specific user meta. In a multisite network, each site has an independent favourites list.
-
Is the “My Favourites” page created automatically?
-
Yes! When you activate the plugin, it automatically creates the “My Favourites” page and inserts the
[tvwf_user_favourites]shortcode to display a logged-in user’s favourite products.
使用者評論
這個外掛目前沒有任何使用者評論。
參與者及開發者
變更記錄
2.0.0
- Fixed WordPress Coding Standards translation, nonce, database-query, and stream-handling checks.
- Added My Account favourites, bulk add-to-cart, CSV export, and secure clear-all controls.
- Redesigned the site and network admin favourites screens with a responsive WordPress-native interface.
- Added site-context validation for network admin add and remove actions.
- Added multisite support with site-specific favourites and activation support for network sites.
- Replaced obsolete bundled third-party admin libraries with native WordPress controls.
- Hardened shortcode output, AJAX requests, validation, and admin permissions.
1.0.0
- Initial release.
