How to use ifconfig in layout xml Magento 2?

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.


How to use jQuery in Magento 2?

How to use jQuery in Magento 2?

You can use the JQuery library in Magento 2 by adding code inside require function and you can also access it in the console by $ sign.


Privacy Preference Center