Product Custom Fields
Add custom metadata to products and variations.
Updated
On this page
Overview
Products can have arbitrary custom fields for storing extra data like THC percentage, strain type, or any attribute specific to your store.
Reading Custom Fields
import dash from "@/lib/dash"
const { product } = await dash.products.get("blue-dream")
console.log(product.custom_fields)
// { thc: "22%", strain_type: "sativa", featured: "true" }