> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.omegatheme.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).

# Additional guide for bulk importing rules using template

## **How to find Product ID and Variant ID**?
The easiest way to find a Product ID is through your Shopify admin dashboard:
1. Log in to your Shopify admin panel.
2. Go to the **Products** page and select the product you need.
3. Check the browser address bar—the URL will end with …/products/product-handle. The numbers immediately after /products/ represent the product ID.

![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/image_16rg52j.png)
For Variant ID:
1. Go to the **Products** page and select the Variant you need. You will be directed to Variant page.
2. Check the browser address bar—the URL will end with …/products/product-handle/variants/variant-handle. The numbers immediately after /variants/ represent the variant ID.
![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/image_gr5bij.png)

## **How to find Collection ID**?
1. Go to the **Collections** page and select the collection you need.
2. Check the browser address bar—the URL will end with …/collections/collection-handle. The numbers immediately after /collections/ represent the collection ID.
![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/image_c5pk83.png)

## How to find inventory location ID?
1. Log in to your Shopify admin panel.
2. Go to the **Settings** page and select **Locations** tab.
3. Select a location you need to get ID.
4. Check the browser address bar—the URL will end with …/locations/location-handle. The numbers immediately after /locations/ represent the inventory location ID.
![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/image_1fu8oen.png)

## Product/Variant metafield information
1. Go to the **Settings** page and select the **Custom data** tab.
2. Choose an existing metafield or create a new one.
3. In given template, enter the required fields in the following format: `{key: [metafield key], value: “[value1]”, “[value2]”, label: [metafield name]}`
    * **[metafield name]** → The text specified in the **“Name”** field.
    * **[metafield key]** → The text found in the **“Namespace and key”** field after “custom.”
    * **[value]** → The values you assign to each product/variant for that metafield.

![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/image_l5flkw.png)
![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/image_krnhm2.png)

## **How to find Shopify Market ID**?
The easiest way to find a **Shopify market** ID is through your Shopify admin dashboard:
1. Go to the **Markets** page and select the market you need.
2. Check the browser address bar—the URL will end with …/markets/market-handle. The numbers immediately after /markets/ represent the Shopify market ID.

![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/image_1akr762.png)

