Product Variant Metafields

Following are the steps to setup Product Variant metafields

  • Show Product variant metafield in your product page needs to insert below code in the product.liquid file.
  • Product file path: Login into Admin panel-> left side menu select Online store -> select Themes.
  • Now left sidebar load with file list. Check at Sections bottom of the list “product-template.liquid” file, click on it.
  • If you did not find “product-template.liquid” then add in this file, Inside Template bottom of the list “product.liquid” file, click on it.
  • Insert below code where you want to show metafield at this position in the file and save it.

{% include 'all-in-one-metafields', metafields: 'variants' %}


For a quick view of all the above step check the below image


variant