Pages
Write storefront pages, choose the product feed each one shows, publish them and rename them without breaking links.
Pages are the parts of the storefront you write yourself, such as the home page, a landing page for a sale or an about page. Each page has its own text and an optional product feed with filters under that text. This section explains how to create a page, what it shows on the storefront and how to change its address safely.
Litestore stores each page in the database. A page has a name, a slug, optional SEO fields, its content and an optional product feed. Your custom pages appear at /pages/ followed by their slug. The home page at / is also a page, so you edit it in the same place and in the same way.
Pages are stored in the same database as your orders and products, so you don't need a separate CMS or have to keep one in sync. When a page shows a feed, the products come straight from the catalog and stay up to date without any copying.
Blog posts work differently, because they're Markdown files on disk. Pages and blog posts both take their images from the media library, which is stored in your own S3-compatible bucket.
Navigation
Storefront → PagesThe list shows every page with its address and whether it's live. When you open a page, the main column holds the content editor and the feed picker, and the sidebar shows whether the page is live.
Page setup
New page
Give the page a name. The slug is generated from the name until you edit it yourself, and the URL the page will use is shown under the field. Leave Live now turned off to write the page before shoppers can see it.
Content
Write the page in the content editor, which supports headings, lists, links and images from the media library. Litestore saves the content when you click outside the editor.
Product feed
To make the page list products, pick one of your feeds under the content. Choose No feed for pages that only need text, such as a shipping policy.
Publishing
Open the page on the storefront to check it, then click Make live in the Visibility card.
Storefront display
A page shows its content first, in a readable text column. If the page has a feed, the products appear below the content in an endless grid that loads more as the shopper scrolls.
Next to the feed, Litestore shows a filter rail. You don't set the filters up for each page, because Litestore builds them from the catalog. Shoppers can filter by category and price range, by every product option such as size or colour, and by every spec such as material. When some products are discounted, they can also choose to see only products on sale. The filters are part of the page's URL, so a shopper can share or bookmark a filtered view.
The search box in the storefront header opens the store's default feed at /feed, filtered by what the shopper typed.
Home page
The home page works like any other page, with two differences. It's always live, so it can't be hidden, and it can't be deleted. If the home page has no feed of its own, or if there's no home page record yet, Litestore shows the store's default feed, so the home page is never empty.
Category and collection pages
Category and collection pages aren't page records. Litestore creates them from the store's categories and collections, and you edit their text and icon on the category or collection itself, and ask the assistant for their search title and description. See Collections.
Visibility
Every page is either live or hidden. A hidden page doesn't appear to shoppers, but a signed-in admin can still open it. In that case Litestore shows a preview banner and tells search engines not to index it, so you review the page on the real storefront before anyone else sees it.
You switch a page between live and hidden with the button in the Visibility card. The home page doesn't have this button because it's always live.
Page design
All storefront pages share one design. Litestore doesn't have themes, colour palettes or appearance settings in the admin. The colours, fonts, corners and spacing are defined in the storefront's stylesheet, so a developer changes them in the code.
AI drafts
If the AI assistant is turned on, ask it to write a new page or change an existing one, for example "write a landing page for the summer sale and show the summer collection under it". The assistant reads the existing pages and feeds first, and then proposes the page to save.
Nothing changes until you approve the proposal. The assistant works under your own permissions, so it can only create or edit pages if your role has permission to edit pages. See AI Content.
Redirects
When you change a slug, Litestore keeps the previous one on the record, and anyone who visits the old slug is redirected to the current URL with a permanent redirect. This continues to work after you've renamed the page several times.
Every slug is unique, so two pages can't use the same address.
SEO fields
| Field | What it does | Maximum length |
|---|---|---|
| Meta title | Sets the title search engines show. | 70 characters |
| Meta description | Sets the summary search engines show. | 320 characters |
You don't have to fill these in. Without a meta title, Litestore uses the page's name. Without a meta description, it uses roughly the first 155 characters of the page's content. The page editor doesn't have fields for them, so you set them by asking the assistant, which proposes the text for you to approve.
Quick reference
Related
Feed
The product feeds that pages show, and how each one orders its products.
Storefront questions
The assistant writes pages, sets search-result titles and changes how feeds order products.
AI Content
Litestore's AI features draft content with your own provider key, and each feature turns on when a key is set.