Remove payment request buttons on selected product pages
-
Hey there,
I know there is a hook to remove the payment request buttons from all product pages, but I am looking for a solution to add if statements to specify specific products not having the buttons. Background is the well known issue that custom fields of products are ignored in the process. Is there a solution for this? All my approaches to wrap add_filter( ‘wc_stripe_hide_payment_request_on_product_page’, ‘__return_true’ ); into a condition failed so far.
Thanks
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Remove payment request buttons on selected product pages’ is closed to new replies.