sb_page_create
Create and configure pages for a Store Builder site, choosing type, slug, locale, and seed data. Ensures required routes like /checkout are published to avoid 404 errors.
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 (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 |