Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi all.
I'm receiving a 404 error page only my cart page. So after you add a product to cart and go what's in the cart, it shows a 404. Can someone assist troubleshooting?
Page: www.kawa.mx
Solved! Go to the solution
This is an accepted solution.
Hi @grindlery The ajax api data is still there https://kawa.mx/cart.json
So probably missing theme files, go into your theme files and check in the /templates folder that there is either a cart.liquid a cart.json or similar cart.*. file.
Always backup themes before making code changes.
If those files are not there you will need to restore that file. If your theme isn't heavily customized just download a new copy of your theme and find the cart.json in the new themes /templates folder , Backup your live theme, then copy over the relevant cart template files your old theme.
It's unlikely but to be sure If the theme cart files are there go to the online store channels navigation > redirects and make sure there's nothing that references the cart.
If you need it looked at you can contact me, info in my signature.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
Hi @grindlery,
It looks like you are redirecting the cart in a wrong way. I cannot find the code that change the https://kawa.mx/cart. But your link https://kawa.mx/checkouts works
This is an accepted solution.
Hi @grindlery The ajax api data is still there https://kawa.mx/cart.json
So probably missing theme files, go into your theme files and check in the /templates folder that there is either a cart.liquid a cart.json or similar cart.*. file.
Always backup themes before making code changes.
If those files are not there you will need to restore that file. If your theme isn't heavily customized just download a new copy of your theme and find the cart.json in the new themes /templates folder , Backup your live theme, then copy over the relevant cart template files your old theme.
It's unlikely but to be sure If the theme cart files are there go to the online store channels navigation > redirects and make sure there's nothing that references the cart.
If you need it looked at you can contact me, info in my signature.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
Thanks so much Paul, awesome diagnosis. I created another store just to get that {cart} code and brought it through to my store. Now its working!
im having the same issue but only when the language is different then english when i click on cart it shows 404 error and it dosent seem to use the same local currency only dollars and english works but the rest it dosent
Check https://www.shopifystatus.com/ for your store to remove platform issues as a possible problem.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025