Even though the cart and checkout pages exist, clicking the “Add to Cart” button or the checkout link takes you back to the homepage instead of the intended page.
The “Add to Cart” button is also missing from the product pages.
initially all the pages are working well but now it is not working,
what is the solution for that ?