How we can get Country of origin custom information

How we can get Country of origin custom information

john031
Shopify Partner
24 0 7

i am providing you a snap in which you see that we have the country of origin now i want to get this country of origin from custom information and want to get on product page. if you know this issue please tell me as soon as possible.

Capture.PNG

Replies 3 (3)

Zworthkey
Shopify Partner
5581 641 1582

Hii @john031,
Add HS (or HSN) codes and Country of origin (COO) to your products.

  1. In your Shopify Admin, go to the Products page.
  2. Click on the product you want to edit.
  3. Scroll down to the Shipping → Customs information section.
  4. Enter the HS (or HSN) code with the Country of origin value.
  5. Then, click Save to save changes.

Thank You.

john031
Shopify Partner
24 0 7

thanks Zworthkey,

i add this code to get country of origin from shopify custom information. but this code is failed can you tell me about this

{{ line_items.product.variants.country_of_origin }}

PanamaJack
Visitor
1 0 1

Hi @Zworthkey 

 

But is it posible to update those customer fields  with the Api?  looks like there are not avalaible into the variant object. 

 

Best