A Collection ID is a unique identifier of your product collections or categories which can be used to configure product recommendations, conditions for spending rules in Loyalty, and other various custom coding.
This guide teaches you where to find the Collection ID in your ecommerce platform.
In This Guide
Finding Collection ID in Shopify
The Collection ID is the numeric value at the end of the URL of the collection pages that you can find within the Shopify admin.
Simply open up one of the collection pages under Products > Collections and view the URL in the address bar of your browser.
Finding Collection ID in WooCommerce
In order to find the product category ID in WooCommerce:
- Go to: Products > Categories.
- Hover over a category name.
- Select the category or Edit.
- You can find the Collection ID in the page URL. For example Section
tag_ID=62
where 62 is the ID of the category.