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 cart.
For example, if there are already products A,B in the cart , and I click the 'buy now' button on another product page of C , A and B in the cart will be still in the cart and remain not checkout, Only C will be in the product list of the checkout page and also C is not adding into cart.
I think this question can't simple be addressed by current wordpress and woocommerce code , I was thinking add another cart and checkout instances only for the "but now" checkout but I am not sure how to do it.
How can I achieve this? Many thanks.