uichemy_add_shop_pages
Give a store (WooCommerce) project its standard shop pages - the same nine the UiChemy app adds, under the same names: Shop Page, Product Category, Product Single, Product Search Results, My Cart, Checkout, My Account, Order details, Track Your Order. They go in the Shop Pages group, and each wears the Woo Navbar (cart, account, product search) - the site's own when a page has one - and the site's one normal Footer. On a store the core and legal pages wear the Woo Navbar too; only the blog keeps the normal Navbar, whose search finds posts. For a site that SELLS PRODUCTS ONLINE (an online store, e-commerce, a product shop such as a flower or shoe shop, or a business that says it sells its products online), call this rather than building those pages one by one: the export, the cart, the checkout and the account area expect these pages by these names. NOT for a service business that is merely called a shop - a barber shop, coffee shop, repair shop, tattoo shop or salon books appointments, it does not sell online - unless the user asks for an online store. Pages that already exist are left alone, so calling it twice adds nothing. Text slots on the new pages start empty - fill them with uichemy_get_page and uichemy_set_text.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectId": "<projectId>"
},
"name": "uichemy_add_shop_pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layouts | No | Layout per section folder - { "woo-product-listing": "layout-y2" }. Anything omitted takes the folder's first layout; navbar and footer follow the site's own. | |
| projectId | Yes |