Skip to content

Wishlist button & designer ​

The Add to Wishlist button is how customers save products. It toggles a product in or out of the shopper's wishlist, and you choose where it sits and how it looks without writing any code.

The button ​

Once the wishlist is on, the button shows in two places by default:

  • Shop and archive grids: a heart icon over the top-right corner of each product card.
  • Single product pages: a full-width button below the quantity selector.

Clicking it toggles the product in or out of the shopper's wishlist. Once saved, the icon fills in to show the saved (active) state.

Store Front:

Visitors who aren't logged in

With Guest Wishlist off (the default), visitors still see the button. Clicking it asks them to log in, and the product is added to their wishlist once they do. To let visitors save products without an account, turn on Guest Wishlist. See Guest wishlists.

Customizing it (Designer) ​

Open FluentCart → Settings → Wishlist → Designer. The Design Components list has four items: the Wishlist Button and the three guest popups (Guest Email Popup, Guest Email Popup (OTP), and Guest Login Popup). Click Customize next to Wishlist Button to open its settings.

Admin settings:

The settings open in a panel with a live Preview beside them, which updates as you change each option. It has two tabs, Shop & archive and Product page, for where the button sits. The Button style, Color, and Visibility options below them apply to both. Click Save when you're done.

Shop & archive ​

  • Show on product cards (on by default): shows the button on shop, category, and archive grids. The tab shows an On badge while it's on.
  • Button position: where the button sits on each product card.
    • Top left, Top right (default), Bottom left, or Bottom right: a heart icon over the product image. These work on any theme.
    • Below cart: a full-width button with icon and label, below the add-to-cart button. It follows FluentCart's product layout.
  • Reveal on hover (corner positions only): shows the icon only when the shopper hovers the product card.

Admin settings:

Product page ​

  • Button position: where the button sits on the single product page.
    • After price: a full-width button below the price, above the quantity selector.
    • After quantity (default): a full-width button below the quantity selector, above the buy buttons.
    • In buy row: an icon-only button added to the row with the Buy Now and Add to Cart buttons.

Admin settings:

Store Front:

Button style ​

These apply to shop cards and the product page:

  • Icon: the icon shown on every wishlist button: heart (default), star, bookmark, tag, or bell.
  • Icon style: Outline (default) shows the icon outlined until the product is saved, then filled. Filled always fills the icon with the button color.
  • Size: the height of the button and the overlay icon: Small, Medium (default), or Large.
  • Button label: the text next to the icon on full-width buttons, for example Add to Wishlist. Corner overlays show the icon only. Leave it empty to use Add to Wishlist.

Admin settings:

Color and Visibility ​

Color switches the button between two modes:

  • FluentCart (default): the button uses FluentCart's colors, and the overlay icon stays neutral.
  • Custom: pick a Background and a Color (text and icon) for three states: Normal, Hover, and Active (saved).

Visibility decides which products show the button:

  • All products (default): every product, including out of stock.
  • In stock only: the button is hidden on out-of-stock products. On a product with variations, it updates when the shopper picks a different variation.

Admin settings:

Related options on the General tab

Show on Related Products (the icon on related and similar product cards) and the Floating Wishlist Button are switched on in the General tab, not in the Designer. See General settings.

Placing the button yourself: block and shortcode ​

The Designer places the button for you. To put it somewhere else, for example in a custom product layout, use the Wishlist Button block or the [wishio_wishlist_button] shortcode.

Wishlist Button block ​

Add the Wishlist Button block in the block editor, inside a FluentCart product block or on its own with a product picked in the Product panel. Its settings:

  • Appearance: Inherit from Designer (default) uses your Designer settings. Customize this block gives the block its own look.
  • Position: Placement over the image (Top right, Top left, Bottom right, or Bottom left overlay) or Below (full-width button). Overlay placements also offer Reveal on hover.
  • Button style: the icon, Icon style (Outline or Solid), and Icon size (px). Overlays add the gap from the corner, icon padding, chip shape, and border. The full-width button adds Display as (Heart icon only, Text only, or Icon + Text), Button label, Added text (shown once the product is saved), and Button width (Auto or Full width).
  • Colours: a Normal color, a Saved (active) color, and a Border color.

Shortcode ​

Place the button on any page, widget, or template with:

[wishio_wishlist_button product_id="123"]

Without extra options it follows your Designer settings. You can also set variant_id, position, width, height, text, icon, color, and active_color to give that one button its own look.

Wishlist count and mini-panel ​

Show a live wishlist count anywhere with the [wishio_fct_wishlist_count] shortcode: a heart icon with the number of saved items.

Turn on Floating Wishlist Button in the General tab to pin the same count to the corner of every page (off by default). Clicking either count opens a mini-panel that previews the saved items, with a remove button on each and a View all link to the full wishlist.

Store Front:

Released under the GPL v2 License.