HDWebmobile Wishlist
A WooCommerce wishlist that actually works with block-based Shop pages, guest browsing, and the Mini-Cart block.
Overview
HDWebmobile Wishlist lets visitors save products to a wishlist and buy them later. It’s built specifically to work with modern WooCommerce block themes: it ships a real Gutenberg block you can insert directly into your Shop page’s Product Collection template, so the “Add to Wishlist” button actually appears on block-based archives — not just classic PHP-loop themes, which is where several other wishlist plugins fall short. Guests get a wishlist too, stored in a cookie with no account required, and it merges automatically into their account the moment they log in. Adding a saved product to cart from the wishlist page goes through WooCommerce’s real Store API, so the Mini-Cart block updates instantly without a page reload.
Recent WooCommerce versions ship an experimental, opt-in “Wishlists” feature — it’s off by default, requires the Add to Cart + Options block, and only works for logged-in customers. This plugin works immediately with no feature flag to enable, supports guests with automatic merge-on-login, and also works on classic (non-block) themes.
Key Features
- Real Gutenberg block for the wishlist button — insert it into the Product Collection template in the Site Editor so it shows on block-based Shop/archive pages, not just single product pages
- Classic-theme compatible too: also hooks the traditional single-product and shop-loop actions for non-block themes
- Guest wishlists via cookie, no account required, with automatic merge into the account wishlist on login
- “Add to Cart” from the wishlist page uses the real WooCommerce Store API, keeping the Mini-Cart block’s total in sync without a full page reload
- Auto-creates a dedicated Wishlist page on activation, the same way WooCommerce creates its own Cart/Checkout pages
- Shortcodes for manual placement anywhere on your site, auto-detecting the current product when used on a product page or in the loop
- A header “Wishlist Count” block — a heart icon with a live item-count badge, just like WooCommerce’s own Mini-Cart
- Configurable button text and guest cookie duration under WooCommerce > Wishlist
How to Use
1. Turn on the settings you want. Go to WooCommerce > Wishlist in your admin menu. Set how long a guest’s wishlist should be remembered and customize the button text.
2. The button on single product pages. No setup needed — the wishlist heart button appears automatically under the Add to Cart area on every single product page.
3. Add the button to your Shop page (block themes). Classic shop-loop themes get the button automatically. If your Shop page uses the block-based Product Collection, open the Site Editor, edit the Product Collection’s product template, and insert the Wishlist Button block from the WooCommerce category.
4. Guest wishlists and merging on login. Visitors don’t need an account to build a wishlist — it’s stored in their browser. If they later log in or register, anything in their guest wishlist is automatically merged into their account wishlist.
5. The Wishlist page. Visitors view their saved products, prices, and stock status on the auto-created Wishlist page. Clicking Add to Cart adds the product straight to their real WooCommerce cart via the Store API, with no page reload.
6. Variable products. If a saved product has variations, its wishlist row shows a View Product link instead of a direct Add to Cart button.
7. Show a wishlist count in your header. Insert the Wishlist Count block (WooCommerce category) next to your Mini-Cart in the Site Editor. Choose between icon-only or icon + “Wishlist” text under WooCommerce > Wishlist.
Limitations
Please read before installing:
- One wishlist per visitor — no named/multiple wishlists and no “share my wishlist” link in this version
- For variable products, the wishlist stores the parent product only
- Guest wishlists are stored in a browser cookie — if a visitor blocks or clears cookies, their guest wishlist won’t persist between visits
- No “most wishlisted products” analytics dashboard in this version
Quick Setup
- Upload the plugin files to the /wp-content/plugins/hdwebmobile-wishlist directory, or install through the Plugins screen directly.
- Activate the plugin through the ‘Plugins’ screen in WordPress. WooCommerce must already be installed and active.
- A “Wishlist” page is created automatically on activation. Configure button text and guest cookie duration under WooCommerce > Wishlist.
Latest Version
Current stable version in readme: 1.0.0 (Initial release: block-theme-compatible wishlist button block, classic hook fallback, guest cookie wishlist with merge-on-login, Store-API-driven add to cart, auto-created Wishlist page, configurable settings.)
See our other WordPress plugins for more WooCommerce and site-utility tools.