Category SEO
SEO fields for category pages.
Updated
On this page
Overview
Categories include SEO fields for building meta tags on category pages.
SEO Fields on Categories
import dash from "@/lib/dash"
const { category } = await dash.categories.get("flower")
// SEO fields included in category response:
console.log(category.seo_title) // "Shop Flower | My Store"
console.log(category.seo_description) // "Browse our flower collection..."
console.log(category.seo_keywords) // "flower, cannabis, shop"
console.log(category.og_image) // "https://..."
console.log(category.schema_json) // JSON-LD string