> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.hoppyapps.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 🆔 How to Find a Product or Collection ID and Handle in Shopify

Some setups, such as selecting products or collections by ID or handle, need identifiers from Shopify. Here is how to find them 🆔

---

## **📦 Product ID and Handle**

➡️ In the Shopify Admin, go to **Products**

➡️ Click the product to open it

**Product ID:** Look at the browser address. The long number at the end of the URL after /products/ is the product ID.

**Product handle:** Scroll down to the **Search engine listing** section and click its edit (pencil) icon. The handle is shown in the **URL handle** field. It is also the last part of the product page URL on your storefront after /products/.

---

## **🗂️ Collection ID and Handle**

➡️ Go to **Products**, then **Collections**

➡️ Click the collection

**Collection ID:** The number at the end of the admin URL after /collections/.

**Collection handle:** Scroll to the **Search engine listing** section, click its edit (pencil) icon and read **URL handle**. It is also the last part of the storefront URL after /collections/.

---

## **⚠️ Important Notes**

* Changing a handle changes the page URL. Create a URL redirect from the old URL so old links still work (when you edit a collection handle, Shopify offers this option). Update any links or app settings that use the old handle
* Handles cannot contain spaces
* Do not edit a product handle too often, or the product might not display in search engine results

---

## **🔧 Troubleshooting**

**I do not see Search engine listing**
Scroll further down the product or collection page. The handle is only shown after you click the edit (pencil) icon in that section.

**Need help?**
Contact support via chat 💬

---

## **✅ Final Result**

✅ You have the ID or handle you need