Viewing 3 replies - 1 through 3 (of 3 total)
  • Caleb Burks

    (@icaleb)

    Automattic Happiness Engineer

    The Conditional Shipping and Payments extension can do this.

    Otherwise, it will take some custom code. You’d need to loop through each product in the cart looking for the specific shipping class. If found, you’d then unset the shipping method that you need to.

    Thread Starter Arbex10

    (@arbex10)

    Hey Caleb, thanks for your answer!!!

    I took a look at the extension, and that’s exactly what I need. However, I will work with only one condition, so I rather create a custom code to do this, but I can’t get this code to work. Can you help me with this?

    Caleb Burks

    (@icaleb)

    Automattic Happiness Engineer

    It’d be best to use the extension if you can’t code this ??

    Otherwise you’d need to hire a developer, which will likely cost the same as an extension:

    https://jobs.wordpress.net/
    https://codeable.io/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hide shipping method using shipping class’ is closed to new replies.