sb_page_create
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.
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 | omit: inferred from the name (about/contact/policy/faq), else page; sb_page_list lists every type | |
| chrome | No | Carry the site's header and footer, default true | |
| locale | No | vi or en — a store seed's wording; defaults to the site's language, else vi. | |
| dry_run | No | ||
| site_id | No | ||
| headline | No | The complete page's thank-you line. | |
| settings | No | ||
| is_homepage | No |