Hi there!
The link https://www.bewakoof.com/p/applique-mickey-side-printed-boxer-for-women threw an error, but as I understand it, you want a link that says “go to cart” instead of redirecting to cart right after adding a product to cart, correct?
If yes, you can try to disable the option Redirect to the cart page after successful addition, under WooCommerce > Settings > Products > General: https://d.pr/i/o66zkk
Feel free to get back to us in case you have any additional questions!
Thank you for the reply. Please can you share the screenshot of the error which link threw. This happened earlier as well in forum. Probably sites work only in india.
Secondly, i have deliberately done this redirection to cart page. As unchecking this makes user search for the cart button in header after adding the product to the cart and then click it if he does not want to buy any other thing.
I want same cart button text changes to “go to cart” and pressing it again takes user to cart. Hope this helps.
i got the error message: {“error”:{“type”:”error”,”message”:”Access denied. Please contact customer care.”}} by trying opening the site using VPN. i think this sites is disabled for abroad. so please dont send the screenshot asked above, please reply to the second part. thanks again.
Hi there,
I’m not sure if I understand what you meant below:
> I want same cart button text changes to “go to cart” and pressing it again takes user to cart.
Could you send a screenshot or screenshare of the example you tried to show us, please?
https://prnt.sc/s6occu
https://prnt.sc/s6odhj
Same button displays add to cart before adding then go to cart after adding the product. No need to look for the cart button to go to the cart. Hope this helps. Let me know if these links work properly for screenshots. Thanks in advance.
laceyrod
(@laceyrod)
Automattic Happiness Engineer
Hi there,
Thanks for the screenshots. Changing the text dynamically after the product is added to cart would require custom JavaScript, in which case I’d recommend reaching out to the following help: https://woocommerce.com/customizations/
I hope this gets you pointed in the right direction!