# 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.

![](/files/EdnsvM0YVhb15L0VYzsa)

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

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

![](/files/Pns7nSUlpwki502HonxR)

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

![](/files/zSoeb6SZVt8ISFIWhi6y)

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

![](/files/BMvJxDDWztfURDvbRjsm)

* Click Done

![](/files/tISU8ao6BtTNuc1dcjUk)

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

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

![](/files/e047O7g3msQc1ZRxfMBF)

### 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: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

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

The question should be specific, self-contained, and written in natural language.
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.
