Skip to main content

Set the index HTML

Replace the storefront's index.html with a media file you have already uploaded to the media library.

N
Written by Niyaz

Use the index.html settings to replace the storefront's index.html with an HTML file already uploaded to the media library.

Index HTML settings with media selection and save controls.

Before you begin

  • Have the HTML file uploaded to the media library before you begin.

Steps

  1. In the left navigation, select index.html Settings.

  2. Optional: In the Script field, enter any script content you want injected into the page head.

  3. Select Select Media.

  4. In the media picker, choose the HTML file.

  5. Select Save to apply the change.

Result

The storefront serves the selected file as its index.html. On the initial screen, Cancel and Save are disabled. After you make a change, Cancel and Save become active. Selecting Cancel discards unsaved edits.

Related

Did this answer your question?