I’m working with latest WooCommerce and i’m looking for a way to restrict some of payment methods while still displaying them in Checkout page (I want to “grey out” them).
What i have in mind is …
When customer is adding item to a cart and then procceds to checkout i want him to be able to view all possible payment methods but based on his status i want some of them to be “grey out” with additional information why is this grey out.
I would want to grey out Cash on Delivery for new customers because of big return rate. I want them to still see that i allow this kind of a payment but only for returning customers and/or registered ones (shop allows buying without account)
How can I achieve that? It will certanly require messing up with functions.php. Important part is that i want customer to see all method payments but grey out few of them until they will make their first purchase thru paypal or other gateway or register.
Thank You for Your help.
- The topic ‘Custom Payment Restrictions’ is closed to new replies.