sb_page_create
Create storefront pages for product, category, checkout, blog, post, or course types with default or blank content, locale, slug, and homepage settings for publishing.
Instructions
A store type (product, category, search, blog, post, complete) arrives with the document the editor gives a merchant — product carries the whole bound buy box; seed:false for blank. Any other type is empty and sb_page_open seeds its ROOT. TYPE is the route: /checkout and /products/{slug} need a PUBLISHED page of that type or they 404.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| seed | No | Default true; false creates a blank page. | |
| slug | No | ||
| type | No | page (default), checkout, product, category, post, course | |
| chrome | No | Carry the site's header and footer, default true | |
| locale | No | vi (default) or en — the complete page's wording. | |
| dry_run | No | ||
| site_id | No | ||
| headline | No | The complete page's thank-you line. | |
| settings | No | ||
| is_homepage | No |