How to use ifconfig in layout xml Magento 2?
In Magento 2, we can use ifconfig in layout XML for the block to display or not based on the Magento / Config / Model / Config / Source / Yesno configuration field by using the ifconfig argument.
Magento 2 Blogs | Tips, Tricks & Tutorials