Knowledge base
Guides
Academy
Video tutorials
Try searching for:
Recently viewed articles:

Table of contents

Getting the ID of your product or category

Each product and category in your Ecwid store has its own unique identifier (or ID). You can see these identifiers as part of the product/category web address. IDs can be used to create CSS codes for certain store pages or to add a specific store category to a website.

In this article, we explain how you can find the ID of a product or product category.

Getting ID for a product

There are several ways to get the ID of a product. First, you can copy IDs for individual products from your Ecwid admin or from the storefront. Second, you can export IDs for several products in bulk.

To get the ID of an individual product:

  1. From your Ecwid admin, go to Catalog → Products.
  2. Open the product.
  3. Copy the ID from the browser address bar. You will see numbers that go after “id=” — that’s the ID of your product (“239904127” in our example):

    Getting_the_ID_of_your_product_or_category__5_.png

If you need to get IDs of hidden products (en inglés) that do not display in the storefront, you can do that only in your Ecwid admin.

In case you want to get the IDs of several products in bulk, you can export products with their IDs to a CSV file. The CSV file downloaded to your device will contain a list of IDs for your products in the "product_internal_id" column. You can open this file in any text editor like Notepad or TextEdit or in a spreadsheet editor like Excel or Google Sheets.

Getting ID for a category

There are several ways to get the ID of a specific product category. First, you can copy IDs for individual categories from your Ecwid admin or from the storefront. Second, you can export IDs for several categories in bulk.

The ID of the Store front page category (the one with featured products) is always “0”.

To get the category ID:

  1. From your Ecwid admin, go to Catalog → Categories.
  2. Open the category for which you need to get the ID.
  3. Copy the ID from the browser address bar. You will see numbers that go after “id=” — that’s the ID of your product category (“120581513” in our example):

    Getting_the_ID_of_your_product_or_category__4_.png

If you need to get IDs of hidden categories (en inglés) that do not display in the storefront, you can do that in your Ecwid admin or temporarily make your category visible (en inglés).

In case you want to get the IDs of several categories in bulk, you can export your catalog with their IDs to a CSV file. The CSV file downloaded to your device will contain a list of IDs for your categories in the "category_internal_id" column. You can open this file in any text editor like Notepad or TextEdit or in a spreadsheet editor like Excel or Google Sheets.

Was this article helpful?

Awesome! Thanks for your feedback!

Thanks for your feedback!

Sorry about that! What went wrong?
7 out of 16 found this helpful
10
We use cookies and similar technologies to remember your preferences, measure effectiveness of our campaigns, and analyze depersonalized data to improve performance of our site. By choosing «Accept», you consent to the use of cookies.
Accept cookies Decline