Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi,
All product pages result in 404 error in our shop.
Note that we use a custom theme.
In the example below, if we click 5-HTP CR 60 Tablets...
we get the following:
This can be replicated by clicking the link:
https://shop.askmindi.com/products/0004840-5-htp-cr-60-tablets
However, this link works fine for the "Dawn" theme.
I would appreciate any insights on why our custom theme would interfere with the product pages.
Solved! Go to the solution
This is an accepted solution.
Hi Victoria,
Thanks for your response!
It turns out that the product page template was not assigned to any products,
as described in here:
https://help.shopify.com/en/manual/online-store/themes/theme-structure/templates
I would expect that the system would revert to the default theme,
but no default theme can be found for some reason.
Anyway, the solution has been to manually assign our template to the products.
Hi, @petrostopouzis.
Welcome to the Shopify Community!
When navigating to the link you shared as well as all other product pages, I was able to replicate the 404 error message. To gather a bit more context, have you recently installed any new apps or edited your theme code?
You mentioned that this issue happens in your custom theme, however, it does not occur in a fresh Dawn theme. This may indicate it's an issue related to your custom theme. Could you try rolling back your theme code to an older datestamp? This can help us determine when the issue took place and locate the error. When rolling back your theme code you can select an older date stamp and Preview it to see if there are any changes/if you're able to click on your product pages.
Looking forward to hearing back!
Victoria | Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
This is an accepted solution.
Hi Victoria,
Thanks for your response!
It turns out that the product page template was not assigned to any products,
as described in here:
https://help.shopify.com/en/manual/online-store/themes/theme-structure/templates
I would expect that the system would revert to the default theme,
but no default theme can be found for some reason.
Anyway, the solution has been to manually assign our template to the products.
Hello @petrostopouzis
As you have mentioned product page is working fine on the Dawn theme but not on the custom theme, looks like there must be an issue with your product page template in the custom theme. You can try rolling back the last few changes done on the product page template.
Also, have you recently installed any apps which control the product page? Sometimes apps also cause such issues.
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024