Add a Custom Page to Your Shopper Site
Create a new page on your Shopper site, such as an About, Events or Graduation page, using the Pages Custom Type.
Shopper sites get new pages through the Pages Custom Type. Each page you add is one entry in that Custom Type, and it goes live at its own URL as soon as you save it.
Use this for any page your template does not already include, for example an About page, a seasonal landing page or a page for a local event.
Before You Start
Your site needs the Pages Custom Type (code pages). Most Shopper sites already have it. To check, go to Main Admin > Website > Custom Types and look for Pages in the list.
If it is missing, set it up first by following Setup Required Custom Types.
Step 1: Choose the Page Path
The page path decides the page's URL. Your page will be at /site/ followed by the path.
graduation
/site/graduation
about-us
/site/about-us
services/framing
/site/services/framing
Rules for the path:
Use lowercase letters, numbers and hyphens only. No spaces.
Do not include
/site/or a leading slash.You can use up to three levels. For a nested page, enter the full path separated by slashes (
services/framing), not just the last part.
Check the path is free. Before you create the page, open /site/your-path on your storefront. You should see a "page not found" (404) page. If something loads, that path is already used by another page or a collection, and your new page may not show. Pick a different path.
Step 2: Create the Page
Go to Main Admin > Website > Custom Types > Pages.
Click to add a new entry.
Fill in the fields:
page_path
The path from Step 1, for example graduation.
Yes
page_title
The page title.
Yes
page_description
One or two sentences (about 150 characters) summarizing the page. Used as the page's meta description.
Recommended
page_content
The main content of the page, in HTML.
Yes
page_schema
Leave blank, unless you are adding structured data (JSON-LD) for search engines.
No
Save.
Your site's header, navigation and footer are added around the content automatically. You only need to enter the content of the page itself.
Step 3: Check the Page
Open /site/your-path on your storefront. The page should load with your content.
Check it on both a computer and a phone, as HTML that looks fine on a wide screen can break on a small one.
Step 4: Link to the Page
A new page does not appear in your menu automatically. Visitors can only find it if you link to it.
Go to Main Admin > Website > Snippets.
Open the snippet where the link should go, for example your navigation or footer snippet.
Add a link to
/site/your-path.Save.
If you are not sure which navigation snippet your site uses, contact your Pixfizz support team.
Editing a Page Later
To change a page, edit its existing entry in Main Admin > Website > Custom Types > Pages.
Do not create a second entry with the same page_path. The admin allows it without a warning, but your storefront keeps showing the older entry, so your new content never appears.
How It Works
When someone visits
/site/something, Shopper looks for a Pages entry whosepage_pathmatches.If it finds one, it shows that entry's content inside your site's layout.
If it finds none, the visitor sees the 404 page.
Built-in Shopper pages always take priority. That is why the path must not already be in use.
Tips
Keep paths short and descriptive. They appear in the address bar and in search results.
Write a real
page_descriptionfor every page. Search engines use it as the summary under your link.To hide a page from search engines, see Hide a page from Search Engine Crawls.
To take a page down, follow Removing a Page from Your Shopper Site, so you do not leave broken links behind.