I need your help!
I am working on an eCommerce site project, everything is working fine except that the "View Cart" button is not showing on the Single Product Page after successful add to cart.
The "View Cart" button shows on the archive page (ajax add to cart) but not on the single product page.
I know this works out of the box in Woocommerce but for some reason, it's not working in my project.
I have followed the steps described in these articles
Change Add to Cart Button to View Cart Button after click in Woocommerce
How do remove Add To Cart button after a product is added in woo-commerce?
but it didn't work.
I tried this instead
Adding a custom button after add to cart button in single product pages
and I can see the "View Cart" button below the "Add to Cart" button. So, it worked partially. See below screenshot
The "View Cart" button showing directly below the "Add to Cart" button
Basically, I want the "View Cart" button to show in place of the "Add to Cart" button on the single product page after successful added to cart. Not to show directly below the "Add to Cart" button.
I appreciate your help.
Thank you!