# WooCommerce - Importing HS Code & Country of Manufacture
URL: https://support.starshipit.com/articles/360002952915-woocommerce-importing-hs-code-country-of-manufacture
Canonical: https://support.starshipit.com/articles/360002952915-woocommerce-importing-hs-code-country-of-manufacture
Markdown: https://support.starshipit.com/articles/360002952915-woocommerce-importing-hs-code-country-of-manufacture.md
Updated: 2026-05-06

> For the complete documentation index, see [llms.txt](https://support.starshipit.com/llms.txt).

> Import HS Code and Country of Manufacture from WooCommerce by creating custom product attributes.

Import HS Code and Country of Manufacture from WooCommerce by creating custom product attributes in your WooCommerce backend.

## 1. Create new Product Attribute for HS Code

To import HS Code and Country of Manufacture from WooCommerce, you first need to create product attributes from your WooCommerce backend.

1. Go to **Products**, then select **Attributes**.

   ![mceclip0.png](/uploads/articles/integrations/ecommerce-platforms/woocommerce-importing-hs-code-country-of-manufacture/image_360005918855.png)
2. Fill in the Name field with **hs_code**, then click **Add attribute**.

   ![mceclip2.png](/uploads/articles/integrations/ecommerce-platforms/woocommerce-importing-hs-code-country-of-manufacture/image_360005918915.png)
3. You will be redirected back to the Attributes page and **hs_code** should be available for editing. Click on **hs_code** from the grid.

   ![mceclip4.png](/uploads/articles/integrations/ecommerce-platforms/woocommerce-importing-hs-code-country-of-manufacture/image_360005919015.png)
4. Fill in the Name field with your custom HS Code, then select **Add new hs_code**.

   ![mceclip5.png](/uploads/articles/integrations/ecommerce-platforms/woocommerce-importing-hs-code-country-of-manufacture/image_360005919055.png)

## 2. Assign HS Code Product Attribute to a Product

1. Go to **Products,**then select **All Products**.
2. Select a product that you would like to add the HS Code for.
3. Under **Product data** section, select **Attributes.**
4. Select **Custom product attribute**dropdown list and set it to **hs_code** then click **Add**.

   ![mceclip6.png](/uploads/articles/integrations/ecommerce-platforms/woocommerce-importing-hs-code-country-of-manufacture/image_360006017016.png)
5. Click on **Select terms**and assign the **hs_code** value.

   ![mceclip7.png](/uploads/articles/integrations/ecommerce-platforms/woocommerce-importing-hs-code-country-of-manufacture/image_360005919115.png)
6. Untick **Visible on the product page** then click on **Save attributes.**

## 3. Create new Product Attribute for Country of Manufacture/Country of Origin

1. Go to **Products**, then select **Attributes**.

   ![mceclip0.png](/uploads/articles/integrations/ecommerce-platforms/woocommerce-importing-hs-code-country-of-manufacture/image_360005918855.png)
2. Fill in the Name field with **country_of_manufacture** or **country_of_origin**, then click **Add attribute**.

   ![mceclip8.png](/uploads/articles/integrations/ecommerce-platforms/woocommerce-importing-hs-code-country-of-manufacture/image_360005919135.png)
3. You will be redirected back to the Attributes page and **country_of_manufacture** or **country_of_origin** should be available for editing. Click on **country_of_manufacture** or **country_of_origin** from the grid.

   ![mceclip9.png](/uploads/articles/integrations/ecommerce-platforms/woocommerce-importing-hs-code-country-of-manufacture/image_360005919175.png)
4. Fill in the Name field with your custom Country of Manufacture/Country of Origin, then select **Add new country_of_manufacture** or **Add new country_of_origin**.

   ![mceclip10.png](/uploads/articles/integrations/ecommerce-platforms/woocommerce-importing-hs-code-country-of-manufacture/image_360006017096.png)

## 4. Assign Country of Manufacture Product Attribute to a Product

1. Go to **Products,**then select **All Products**.
2. Select a product that you would like to add the Country of Manufacture for.
3. Under **Product data** section, select **Attributes.**
4. Select **Custom product attribute**dropdown list and set it to **country_of_manufacture** or **country_of_origin** then click **Add**.

   ![mceclip11.png](/uploads/articles/integrations/ecommerce-platforms/woocommerce-importing-hs-code-country-of-manufacture/image_360005919195.png)
5. Click on **Select terms**and assign the **country_of_manufacture** or the **country_of_origin** value.

   ![mceclip12.png](/uploads/articles/integrations/ecommerce-platforms/woocommerce-importing-hs-code-country-of-manufacture/image_360005919215.png)
6. Untick **Visible on the product page** then click on **Save attributes.**
