Skip to main content
All CollectionsHow can I setup and install the Website Integration?Listing Items
How do I find the code for my Item Categories to display a category on a web page?
How do I find the code for my Item Categories to display a category on a web page?

Here's how you can locate the code to display a certain category or sub-category on a web page using the Website Wishlist Integration.

Jake Scotto avatar
Written by Jake Scotto
Updated over 2 months ago

The easiest way to get the desired categories is to temporarily add an item gallery to your page. This will help you see the URL for each category you are looking to put on a specific page.

Make sure show-categories is enabled and there are no other modifications, like so:

<gspro-item-gallery show-categories="true"></gspro-item-gallery>.

You can remove this gallery from your page when you are done gathering categories.

Once the item gallery is loaded, click the name of the category you want to add on the left-hand side of the screen.

Get Category String

You will notice that the url of the page has changed based on the category you have selected. This is the value you will include in category tag in your item list.

Category String in URL
<gspro-item-list category="entertainment-games-rentals"> </gspro-item-list>

You can use this method to find the exact string you need for any category on your Wishlist Website!

For a quick video tutorial of how to view the category of an item, click here.

Did this answer your question?