Start a project

WooCommerce Wishlist Shortcodes

Our WooCommerce wishlist plugin offers 3 shortcodes, that you can use in your WordPress website.

My Wishlists

To show the my wishlist on a page your can use this shortcode:

[woocommerce_wishlist]

This will render the wishlist page, where guest or logged in Wishlists & items will be displayed.

Add to Wishlist Button

To show a wishlist button with a shortcode you can use this:

[woocommerce_wishlist_button product="PRODUCT_ID"]

Make sure you set a product ID into the argument of the shortcode. If not it will use the global product object.

Search Publish Wishlists

To show the WooCommerce wishlist search on a page your can use this shortcode:

[woocommerce_wishlist_search]

This will render the public Wishlist Search functionality.

Questions & answers (8)

  1. Michelle LazorAugust 13, 2023

    IF someone purchases an item off of the wishlist, will it be labeled as fulfilled or will it just be removed from the list?

  2. DanielAugust 13, 2023

    Well currently not, but we can customize / add this feature for you on Charge. Contact us at [email protected]

  3. AndreaNovember 29, 2021

    Is there any shortcode for the add to wishlist button that’s dynamic?
    I mean, i use elementor pro, hence i have a single product template that applies to all of them, so having to manually write the id of the product won’t be good.
    Kindly let me know, best regards

  4. DanielNovember 29, 2021

    Yes Simply leave the product Argument from the wishlist button shortcode. It will then use the global product object.

  5. ErickApril 21, 2021

    Why the wishlist menu does not appear in the my account page?

  6. DanielApril 21, 2021

    We are working on this right now and it will be available in next update.

  7. Bill GerminoNovember 21, 2020

    What’s the “Shared” Wish List mean? How is it different than “Public” wish list?

  8. Daniel BarenkampNovember 22, 2020

    A shared wishlist can only be seen when a user has the wishlist link. Public wishlists are searchable within our wishlist search shortcode for example.