web_wishlist Shortcode

The web_wishlist shortcode renders the current user or visitor wishlist interface.

Usage

[web_wishlist]

Attributes

Attribute Default Accepted values Purpose
el_class String unless stated otherwise Adds one or more custom CSS classes to the outer element.

Required URL context

The shortcode reads the public wishlist token from the list query parameter:

https://example.com/wishlist/?list=PUBLIC_TOKEN

It displays only a published wishlist that matches that token and is not marked private. Missing, unknown, unpublished, or private lists produce the same public “not found” notification so the page does not reveal private-list existence.

WooCommerce requirement

This output requires WooCommerce and the corresponding POM Theme e-commerce feature to be active and configured.

Test a valid shared list, an invalid token, and a private list while signed out. Products that no longer exist are skipped. Place the shortcode once on the page used by generated share URLs and preserve the list parameter in cache/CDN rules.

Verification

Confirm the required WooCommerce feature is active, then test web_wishlist with representative products and customer states.