Reply 345838 to: how can i remove the cart button on every page?

Avatar: Rose Tyler
Rose Tyler
Support staff
February 2, 2023 at 12:35

Hello, Laskowidz

Let us know more information about your request.
1/ Would you like to redirect the customer on add to cart button click (on shop page) to checkout page ?
2/ Or do you want to change the link of each ?add-to-cart=ID to /checkout?add-to-cart=ID ? – if so then it does not give any garranty that customer will be redirected to checkout because adding to cart is working by ajax from woocommerce (according to this option enabled -> https://prnt.sc/uqdkdV5Igcda ) and no redirects will be done then anyway.
3/ What about single product add to cart button then? How do you imagine it should work? – we have our own buy now button which redirects automatically to checkout page on click -> https://prnt.sc/cYomolD2agNy
4/ Do you want to make all add to cart buttons everywhere to redirect automatically just like Buy now button works ?

Excuse us that we want to know more details about your question because it is better to dig inside the question and suggest good solution rather that make a few times with no success.

Also, Woocommerce has built-in option to redirect to Cart page on adding product to cart -> https://prnt.sc/VRKZ3kCk2ugk so maybe it is (almost or fully) what you asking us for?

Kind Regards,
8theme team

Go To The Whole Conversation In Topic
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.