How to set ifconfig for move tag use in xml magento 2

by Kartik Asodariya   Last Updated November 15, 2017 06:09 AM

I have stuck the set configuration with ifconfig element for move tag. I was tried but no luck. you can see below code where i want to put ifconfig element:

<move element="catalog.leftnav" destination="catalog-leftnav-top" before = "-"/>

I just want to set condition when extension is disable from configuration than this move tag should not working.

if you have any alternate solution please provide to me. It will too much helpful for me and also others.

Thanks



Related Questions


Rewrite block declaration explanatation

Updated June 24, 2017 02:09 AM

Magento2: How to get config variable in block.php

Updated November 04, 2016 09:03 AM

How canl I set condition in layout file?

Updated June 15, 2018 03:09 AM


columns are missing in magento

Updated April 13, 2016 08:03 AM