SITE MAP
Last updated
Last updated
Create a New Page Called Sitemap:
Go to your Shopify admin panel.
Click on Online Store
> Pages
.
Click the Add page
button.
Enter "Sitemap" as the title.
Leave the content area blank for now.
Click Save
.
Create a New Template:
Go to Online Store
> Themes
.
Click on the Actions
button next to your current theme and select Edit code
.
In the left sidebar, scroll down to the Templates
section and click on it.
Click Add a new template
.
In the dialog that appears:
Choose page
as the template type.
Name the template site-map
(this will create a file named page.site-map.liquid
).
Click Create template
.
Add the Code to the New Template:
In the code editor, find the newly created page.site-map.liquid
file under Templates
.
Replace any existing code in page.site-map.liquid
with the following code: