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
1 Answer
Reset to default 0By "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
评论列表(0条)