Why does my product's buy button show 'Something went wrong' message?

hello,

when i click on buy button on my first product for testing, i got this message :

Something went wrong.

What happened?Not Found: The page you were looking for does not exist.

What can I do?

  • Return to the previous page.

can you help me?

Thanks

1 Like

Hey @inspectah ,

Welcome to the Shopify Community!

The error message you’re seeing indicates that the page you’re trying to access does not exist. Here are a few steps you can take to troubleshoot and resolve the issue:

  • Verify the product exists: Double-check that the product you’re trying to purchase actually exists in your Shopify store. Make sure the product is published and active.
  • Check the product URL: Ensure that the URL associated with the product is correct. Sometimes, incorrect URLs can lead to a “Not Found” error. You can edit the product URL by going to the product’s settings in your Shopify admin.
  • Review your store’s navigation: Ensure that the navigation menu on your store is correctly set up and that the link to the product is correctly included. Check that the navigation menu item for the product is pointing to the correct URL.
  • Clear your browser cache: Sometimes, the browser cache can cause issues when loading pages. Clear your browser cache and try accessing the product page again.
  • Test on a different device or browser: Try accessing the product page on a different device or browser to see if the issue is specific to a certain environment.

While you’re working on this, you may also be interested in some of the free courses we offer on Shopify Learn. The course on Designing Your Online Store will walk you through important tips to best represent your brand when creating your homepage, products page, and much more.

Let me know how you get on!

I get the same response for 2 specific urls which are not default 404 Pages.

https://aeraberlin.com/discounts

https://aeraberlin.com/discount

Those are different from generic “404 Page Not Found” error. For example

https://aeraberlin.com/discoun

Can I solve this? Or should I write a rewrite rule?

Thanks

Hey @aera-community ,

The 404 template is located in the templates directory of the theme, I suggest checking here to see if you have multiple 404 pages. Read more here.

Otherwise, I suggest creating a redirect for those specific URLs. More info can be found here.