Expose website tags and badges via business settings and business-info.
Stores custom meta tags and eNamad/Samandehi footer HTML in settings so storefronts can render them from the public API. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
cffc828328
commit
63ae9b22b9
@@ -567,6 +567,36 @@
|
||||
}
|
||||
},
|
||||
"required": ["enabled", "type", "sameAs", "jsonLd"]
|
||||
},
|
||||
"metaTags": {
|
||||
"type": "array",
|
||||
"description": "Enabled custom meta tags for the site <head> (name/content). Configured under Website → Tags & Badges.",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": { "type": "string" },
|
||||
"content": { "type": "string" }
|
||||
},
|
||||
"required": ["name", "content"]
|
||||
}
|
||||
},
|
||||
"trustBadges": {
|
||||
"type": "array",
|
||||
"description": "Enabled eNamad / Samandehi footer widgets (sanitized HTML). Empty when none are shown.",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"enum": ["enamad", "samandehi"]
|
||||
},
|
||||
"embedHtml": {
|
||||
"type": "string",
|
||||
"description": "Trusted HTML snippet (scripts stripped server-side)."
|
||||
}
|
||||
},
|
||||
"required": ["kind", "embedHtml"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user