Hi there
you can explicitely pass wishlist_id as an attribute of the shortcode, as follows
[yith_wcwl_wishlist wishlist_id="1234"]
Where 1234
is the wishlist id
Hope this helps 🙂
Thread Starter
zatanx
(@zatanx)
In this case you just don’t need to provide any wishlist_id
When no ID is specified, system will first try to uderstand which wishlist to print from query-vars in the url; if it can’t fine any of those, it will fallback to current user’s wishlist 🙂
Thread Starter
zatanx
(@zatanx)
example
like this
https://xxxxx.com/wishlist/view/YFIA4FNH4DHS/
What shortcode should I use?
-
This reply was modified 2 years, 7 months ago by zatanx.
Hi there
when the wishlist token is in the url, you don’t have to submit any wishlist_id to the shortcode
As a general note, you shouldn’t ever use wishlist_id in the shortcode, unless you want to print a specific wishlist in the page