i'm currently running a wordpress+woocommerce site, and i want to disable Cash On Delivery based on Shipping Method select.
I've seached and found another tutorial on how to do this, but based on country selection only. (http://stackoverflow.com/questions/17015173/how-to-hide-payment-method-in-woocommerce-based-on-postal-code)
I tried to edited this code, but with no sucess.
The diference is that i use the table rates plug-in, and i want to disable the cod option based on my shippinh selection (in this case the shippinh method id is table_rate-3)
I'm really stuck on this
Thanks in advance for any help