> For the complete documentation index, see [llms.txt](https://help.pagefly.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.pagefly.io/faq-and-troubleshooting/troubleshooting/live-site-issue/cant-create-theme-pagefly-liquid.md).

# Can't create theme.pagefly.liquid

### Overview

In this article, you will learn [how to fix the issue “Failed to create a simplified layout at Shopify”.](https://help.pagefly.io/manual/cant-create-theme-pagefly-liquid/)

This error happens when PageFly cannot create a theme.pagefly.liquid file inside the theme folder of the Shopify theme.

The reason for this error is that your network is running unstably or has failed.

### How To Fix Issue Can’t Create Theme.Pagefly.Liquid

#### Step 1: Access Your Shopify Theme

After logging into your Shopify store, go to Online Store > Themes > 3 dots > Edit code as seen in the image below.

![](https://2800568630-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeLf471SpmnojuhVGQb2E%2Fuploads%2Fgit-blob-43abdb77aa18e600c00136df6dd5926212ceebe2%2Fimage1-5.png?alt=media)

#### Step 2: Add A New Layout Of The Layout File

In the Layout file, click Add a new layout option like the image below.

![](https://2800568630-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeLf471SpmnojuhVGQb2E%2Fuploads%2Fgit-blob-dc8cca4eed882675abe70a90ed4d4cb716e41966%2Fimage5-4.png?alt=media)

* In the Duplicate file field, select theme.pagefly.liquid

![](https://2800568630-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeLf471SpmnojuhVGQb2E%2Fuploads%2Fgit-blob-330046cf8f5095f4a2c998fd9b9624e89b9083cf%2Fimage1-6.png?alt=media)

* In the File name field, type in the name you want for this new layout. For example, “**test**”

![](https://2800568630-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeLf471SpmnojuhVGQb2E%2Fuploads%2Fgit-blob-b81abfef6e9fac2ded5a133bcc866eb537568788%2Fimage3-4.png?alt=media)

* Click Done

![](https://2800568630-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeLf471SpmnojuhVGQb2E%2Fuploads%2Fgit-blob-5207862b47537f5d26df87865f12bfc04871e57a%2Fimage6-1.png?alt=media)

There is an ‘Add a new layout’ box opened after you choose this option.

When you finish, you will receive a notification “**Asset created**”

![](https://2800568630-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeLf471SpmnojuhVGQb2E%2Fuploads%2Fgit-blob-8e539418dd0fbee4b0a1bdc71dbed5fa8d75caca%2Fimage4-5.png?alt=media)

### Frequently Asked Questions

#### What Is The ‘Failed To Create A Simplified Layout At Shopify’ Error?

This error occurs when PageFly cannot create a theme.pagefly.liquid file in the Shopify theme folder due to an unstable network or failure.

#### How Do I Access My Shopify Theme To Fix The Issue ‘Failed To Create A Simplified Layout At Shopify’?

Log into your Shopify store, navigate to Online Store > Themes > Actions > Edit code.

### Additional Resources

* [How to Edit PageFly HTML Liquid Element?](https://help.pagefly.io/manual/html-liquid-element/)
* [Page not fully displayed in theme preview mode](https://help.pagefly.io/manual/page-not-fully-displayed-in-theme-preview-mode/)
* [Shopify Code Editor: A Higher Level of Customization](https://pagefly.io/blogs/shopify/shopify-code-editor)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.pagefly.io/faq-and-troubleshooting/troubleshooting/live-site-issue/cant-create-theme-pagefly-liquid.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
