0

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

0

If you want to move some elements only when extension is installed and enabled you should add this <move> declaration inside XML of this extension. This way extension's XML will not be considered when building layout and therefore this <move> won't happen.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.