Favorite Products
Favorites let logged-in customers save products with a heart toggle and review them later from a tab on their community profile.
Enabling favorites
Section titled “Enabling favorites”Turn on Favorite Product under the WC Vendors tab of the Reign theme options screen. See Theme options settings.
How it works for customers
Section titled “How it works for customers”- A heart icon is appended to the product price on shop, category, tag, and single product pages.
- The icon only appears for logged-in users. Visitors do not see it.
- Clicking the heart toggles the product in the customer’s favorites without a page reload. A filled heart means the product is a favorite; an empty heart means it is not.
- The toggle is handled over AJAX and is protected by a nonce and a logged-in check.
Where favorites are stored
Section titled “Where favorites are stored”- The customer’s favorites are stored in user meta under
rwcv_my_fav_products. - Each product also tracks which users favorited it in post meta under
rwcv_fav_product_by_user.
No custom database tables are created.
Favorites on the community profile
Section titled “Favorites on the community profile”When a community platform is active, favorites appear on the member’s own profile:
- BuddyPress or BuddyBoss: a Favorite tab is added to the member’s own profile. It lists the saved products in a three-column grid.
- PeepSo: favorites appear as a profile segment.
The favorites tab is shown only on the viewer’s own profile, not on other members’ profiles.
Requirements
Section titled “Requirements”- Favorites work with WC Vendors and WooCommerce alone. WC Vendors Pro is not required.
- The community profile tab requires BuddyPress, BuddyBoss, or PeepSo.

