Why does the Dawn theme cause a 404 error on my product page?

I have a problem with a theme that I just imported to my shopify store, when using the DAWN theme in my store, after the theme is implemented, when accessing a product, a “404 error” page appears
While with my previous theme everything is working correctly. Does anyone know what is causing it or how I can fix it?

I attach screenshots of both themes and the theme with the 404 error

Hi @Nilton
can you please share both themes preview links?

1 Like

Hi @Nilton and thank you for the screenshots showing the issue. Without access to the theme files on the storefront, we won’t be able to directly troubleshoot the problem with you.

You mentioned importing the Dawn theme to your store, was this a theme copy from a different Shopify store or did you install it fresh from the theme marketplace?

I would recommend importing a fresh version of the Dawn theme to see if this issue is replicated there as well. If it is, please reach out to our live support team to report an issue with the Dawn theme. If it is not replicated, then we know the issue is most likely an app or customization that was made in the Dawn theme file.

I would roll back any changes made to the product page and disable any apps that you may have installed to test and see what is causing the issue.

I imported the theme from another shopify store that I have. I will try installing the theme directly

with the directly imported dawn theme it works correctly :disappointed_face:
Do you think it is a problem in the code of the product page? If so, I can review the code and clean it with the new theme

@Nilton
can you share Both theme preview links?

Error 404 Page:
https://letsgostore.pe/?_ab=0&_fd=0&_sc=1

Correct Page:

https://letsgostore.pe/?_ab=0&_fd=0&_sc=1

https://letsgostore.pe

@Nilton
You send me same theme link.
You can get preview link from here.

Dbuglabpvtltd_0-1651774110116.png

Error 404 Theme:
https://bqk40kybhzl64oc3-59116519573.shopifypreview.com

good Dawn Theme:
https://zi2bnquk949a95e2-59116519573.shopifypreview.com

Hi @Nilton
This might be your theme code issue.
You have to hire a shopify developer for this.

I can help you on this, please contact me.

I have the same problem.

Hey, @Nilton , we had a similar problem. Our customized Dawn theme worked on one store, but products disappeared when we tried to import it to another.

We tracked the problem to Shopify custom meta fields for product ingredients. When we imported the theme, the missing meta fields caused the product page configuration import to fail, so, poof, all products became 404s.

In your admin, go to Online Store > Themes and click the “Customize” button. In the theme customizer, click the drop down menu at the top center of the page and select Product. If you find “no templates found for products”, then that could be your problem, too.

If that’s your problem, then you will need to create the missing meta fields in your store admin > Settings > Custom Data > Products >Add definition”. If that doesn’t do it, you may need developer help, or you may simply start over by customizing a fresh Dawn theme.

I’m a developer, so feel free to reach out if I can help.

2 Likes

Hey im currently facing this issue can you please help me?

Have you fixed this issue im also facing this same error

Edited this comment.

Hey Nilton,

So I just had the same problem and found my solution.

The Problem: I exported a theme file from another store and the imported it into a fresh store. When I tried to view my product pages, I would receive 404 errors.

The Solution: When I went into my new store → Online Store → Edit Code I found that I was missing my product.json file. I logged back into my old store, copied the product.json file, then went into my new store, clicked “add a new template” in the edit code dialog, and added a new product template, then pasted the product.json file into that template. It gave me a couple errors related to metafields that we’re missing - I had to update those. Once I did that, my product pages were back.

Tldr. Check to see if your product.json files are still there. Online Store → Edit Code → Templates. If they are not, then create them

1 Like