WordPress.org

Ready to get started?Download WordPress

Forums

Woocommerce disable payment gateway by shipping method (1 post)

  1. salgueirone
    Member
    Posted 8 months ago #

    Hi,

    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

Reply

You must log in to post.

About this Topic