Why am I getting a 404 error on my cart page with the Crave theme?

Solved

Why am I getting a 404 error on my cart page with the Crave theme?

grindlery
Excursionist
36 0 5

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

Accepted Solution (1)

PaulNewton
Shopify Partner
7722 678 1626

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


View solution in original post

Replies 5 (5)

made4Uo
Shopify Partner
3873 718 1220

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

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free

PaulNewton
Shopify Partner
7722 678 1626

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


grindlery
Excursionist
36 0 5

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! 

Yueg999
Tourist
4 0 0

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

 

PaulNewton
Shopify Partner
7722 678 1626

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