Available Variables

The following are common methods you will want to call in your front end templates:

craft.wishlist.lists(forUser = true) #

See List Queries. By default, forUser is set to true, ensuring only lists and items that are owned by the current user are shown. Setting this to false will fetch items for any user, so be careful.

craft.wishlist.items() #

See Item Queries.

craft.wishlist.item(elementId, listId) #

Fetches the Item for a provided elementId, and if provided, the listId. If not provided, will look at the default list.

Get started with Wishlist

Available for Craft 3 for $49