Home › Forums › Welcome! › Pre-Sales Questions › Hide payment methods
- This topic has 6 replies, 2 voices, and was last updated 9 years, 2 months ago by
Support Droid.
-
AuthorPosts
-
February 13, 2017 at 5:17 am #1233742
Gustavo Alvdes
GuestHi,
Our website has more than one payment method. You can hide the other methods of payment when a ticket is included in the shopping cart. You’d have the function (to function.php) to provide case buy the plugings that we have interest?Thanks,
Gustavo AlvesFebruary 14, 2017 at 3:10 am #1234364Brook
ParticipantHowdy Gustavo,
That’s a good question. It looks to me like this could be accomplished easily enough using the woocommerce_available_payment_gateways filter. You could tap into the order at some point before that filter fires, and if the order contains tickets hide any payment gatways you don’t want using that filter.
After purchasing the plugin, if you need assistance with this I’m sure our Premium Support will be able to help a good bit. Just open up a topic in the premium support area to begin.
Does that answer your question?
Cheers!
– Brook
February 14, 2017 at 3:40 am #1234374Gustavo Alvdes
GuestGood morning Brook,
you have the link of the woocommerce_available_payment_gateways plugin so we can review it? I couldn’t find it on wordpress library.
Seems like a good alternative.Tnks,
Gustavo AlvesFebruary 14, 2017 at 8:38 am #1234659Brook
ParticipantHello again!
My apologies, I was not speaking clearly before.
There is no plugin that can do what you need. However, what you want to do should be possible as a customization. This customization will require someone experienced in PHP to write some code that does what you want.
Our support team is experienced with writing PHP. Once you have a license to one of our plugins, we can assist you or your PHP developer with writing this code.
Does that make more sense?
Cheers!
– Brook
February 14, 2017 at 9:26 am #1234685Gustavo Alvdes
GuestDear Brook,
I believe have one solution.
Do you know if this plugin meets this need: https://docs.woocommerce.com/document/woocommerce-conditional-shipping-and-payments/?_ga=1.80622613.367015149.1481818841.
The events created (posts) with the plugin of the modern tribe uses the Woocommerce categories to organize them? If Yes, I think it will serve.Thanks,
Gustavo AlvesFebruary 15, 2017 at 11:51 am #1236064Brook
ParticipantHowdy Gustavo,
It seems like that should work splendidly! Very nice find.
When you create a ticket for an event, a “Simple Product” is added to WooCommerce, exactly like the one pictured here. So you should be able to edit this product and add restrictions using that tool.
Cheers!
– Brook
March 9, 2017 at 8:35 am #1251807Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Hide payment methods’ is closed to new replies.
