I’ve earlier posted a solution to remove a block from the layout in Magento 2. But what if you want to remove block depending on config setting Magento 2 store? It might happen that in light of specific circumstances, you need to show a block or kill it. For instance, you need to incapacitate the record enlistment in view of a particular condition and thus eliminate the login block. Carry out the underneath technique for comparable situations and handle contingent ways of behaving like a master! For more info, visit : https://meetanshi.com/blog/remove-block-depending-on-config-setting-in-magento-2/
Monday, August 22, 2022
How To Remove Block Depending on Config Setting in Magento 2
Subscribe to:
Post Comments (Atom)
No comments:
Write comments