Wishlist

3 min read

Let customers save products they love and come back to buy them later — boosting engagement and conversions.

Overview #

The Product Wishlist feature adds a simple “Add to Wishlist” button to your product pages and shop archives, letting customers bookmark products for later. Wishlists are stored in your database for logged-in users and via cookies for guests, so nothing is lost between visits.

Whether you run a fashion store, electronics shop, or any WooCommerce store — wishlists give your customers a reason to come back. They can share wishlists with friends, get notified when prices drop (Pro), and you get insight into what your customers want most (Pro).

All core wishlist functionality is completely free — buttons, guest support, a dedicated wishlist page, social sharing, toast notifications, and three page layout templates.

Requirements #

  • Swift Commerce Free 1.4.0+
  • WooCommerce 7.0+
  • WordPress 6.0+

Getting Started #

Step 1: Enable the Feature

  1. Navigate to WordPress Dashboard → Swift Commerce → Products Wishlist
  2. Toggle the Enable Wishlist switch
  3. Click Save Changes

That’s it — a wishlist button now appears on all your product pages.

Step 2: Set Up Your Wishlist Page

Swift Commerce automatically creates a wishlist page when you first enable the feature. To verify or change it:

  1. Go to the Page & Sharing tab
  2. Under Wishlist Page, select the page that contains the wishlist
  3. The page should contain the shortcode [SWIFT_COMMERCE_wishlist]

Tip: If the page wasn’t auto-created, create a new page, add the shortcode [SWIFT_COMMERCE_wishlist], publish it, and select it in settings.


Settings Reference #

General Settings

SettingDescriptionDefault
Enable WishlistMaster on/off toggle for the entire featureOff
Allow Guest WishlistsLet non-logged-in visitors save wishlists via a 30-day cookieOn
Remove After Adding to CartAutomatically remove a product from the wishlist when added to cartOff
Redirect to Wishlist (Pro)Redirect customers to the wishlist page after adding a productOff

Button Settings

SettingDescriptionDefault
Display StyleHow the button looks — Icon + Text, Icon Only, or Text OnlyIcon + Text
IconHeart, Star, or BookmarkHeart
Add TextButton label when product is not in wishlist“Add to Wishlist”
Remove TextButton label when product is already in wishlist“Remove from Wishlist”
Position on Single ProductWhere the button appears on the product pageAfter Add to Cart

Shop / Archive Grid Settings

SettingDescriptionDefault
Show on Shop PagesDisplay a wishlist button overlay on product cards in shop/archive pagesOn
Button PositionCorner position of the overlay button — Top Left, Top Right, Bottom Left, Bottom Right, or After Add to CartTop Right

Notification Toast Settings

SettingDescriptionDefault
Show NotificationDisplay a popup notification when adding/removing productsOn
PositionWhere the toast appears — Top Left, Top Center, Top Right, Bottom Left, Bottom Center, Bottom RightBottom Right
DurationHow long the toast stays visible (in milliseconds)3000

Page & Sharing Settings

SettingDescriptionDefault
Wishlist PageThe WordPress page that displays the wishlistAuto-created
Social SharingWhich share buttons to show on the wishlist pageFacebook, Twitter/X, Pinterest, Email

Available share options: Facebook, Twitter/X, Pinterest, Email, WhatsApp, and Copy Link.

Navigation Menu

SettingDescriptionDefault
Add to MenuAutomatically add a “Wishlist” link to a navigation menuOff
Menu LocationWhich theme menu location to add the link toPrimary
Show Item CountDisplay a badge with the number of wishlisted itemsOn

Appearance & Templates #

Wishlist Page Templates

Three pre-built page templates are available to all users:

TemplateBest For
Classic TableTraditional stores — shows all details in a clean table layout with image, price, stock status, date added, and action buttons
Modern CardsVisual stores — displays products as a card grid with large images and streamlined info
Minimal ListQuick browsing — compact rows focused on product name, price, and action buttons

Select your template in Appearance → Wishlist Page Preview.

Color Customization

All users can customize colors for:

  • Button Colors — Background, text, and border colors for both default and “in wishlist” states
  • Grid Overlay Colors — Background, icon, and active-state colors
  • Toast Colors — Background and text colors
  • Page Colors — Table borders, header background, Add to Cart button, and Remove button colors

For full customization control including typography, spacing, borders, and more, upgrade to Swift Commerce Pro.


Shortcodes #

[SWIFT_COMMERCE_wishlist]

Renders the full wishlist page — product table, empty state, and social sharing buttons.

Usage: Add to any WordPress page.

[SWIFT_COMMERCE_wishlist_button]

Renders a wishlist add/remove button for a specific product.

Attributes:

AttributeDescriptionDefault
product_idThe WooCommerce product IDCurrent product (if on a product page)

Example:

[SWIFT_COMMERCE_wishlist_button product_id="123"]

Tip: Use this shortcode when you set the button position to “Custom” or want to place the button in page builders, custom templates, or widgets.


How It Works #

For Logged-In Customers

Wishlist data is stored in your WordPress database, tied to the user’s account. Items persist across devices and sessions — your customer can add items on their phone and view them on desktop.

For Guest Visitors

When Allow Guest Wishlists is enabled, a 30-day session cookie tracks their wishlist. If the visitor later creates an account, their guest wishlist items are preserved.

Wishlist Page

The wishlist page displays:

  • Product image (linked to the product)
  • Product name (linked to the product)
  • Price (current WooCommerce price)
  • Stock status (In Stock / Out of Stock badge)
  • Date added
  • Add to Cart button (disabled for out-of-stock items)
  • Remove button

When the wishlist is empty, customers see a friendly message with a Browse Products button linking to your shop.

Social Sharing

Below the wishlist table, customers can share their wishlist via the platforms you’ve enabled (Facebook, Twitter/X, Pinterest, Email, WhatsApp, or Copy Link). Sharing uses the wishlist page URL — no personal data is sent to third parties.

Updated on February 27, 2026
Scroll to Top