How to add a special Woocommerce “Buy Now” button?

admin2025-06-05  4

I wish to add a "Buy now" button on product page, and redirect to checkout page after clicking it but without adding the product into the cart.

For example, if there are already products 1 and 2 in the cart , and I click the 'Buy now' button on another product page of 3 , 1 and 2 in the cart will be still in the cart and remain not checkout, Only 3 will be in the product list of the checkout page and also 3 is not adding into cart.

To be exact, I want something that works like this plugin: / but it's a premium plugin and I want to do it for free

How can i do this guys?

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1749093011a316303.html

最新回复(0)