WooCommerce - If shipping class hide field

I wish to hide a specific checkout field based on shipping class. So if the cart contains a product with that shipping c

I wish to hide a specific checkout field based on shipping class. So if the cart contains a product with that shipping class an input fields should be hidden.

Anyone who can help me archive this?

Thanks

I wish to hide a specific checkout field based on shipping class. So if the cart contains a product with that shipping class an input fields should be hidden.

Anyone who can help me archive this?

Thanks

Share Improve this question asked Aug 6, 2019 at 6:24 jlockjlock 36 bronze badges 1
  • It is a regular field like the address 2. If I can just add a class to the field or inject some css to hide it, it will be fine – jlock Commented Aug 8, 2019 at 12:22
Add a comment  | 

1 Answer 1

Reset to default 0

By "specific checkout field" do you mean shipping method. Because there is a free plugin which can Hide WooCommerce Shipping Method Based on Shipping Class and Shipping Zone.

If you want to hide the shipping method please let me know I will show how you can do it with the help of the above plugin.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745259631a4619151.html

相关推荐

  • WooCommerce - If shipping class hide field

    I wish to hide a specific checkout field based on shipping class. So if the cart contains a product with that shipping c

    4小时前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信