I would like to override or extend some of gallery setting(view.xml) and catalog image size changes with my custom module.

I have tried to override in app/code/<vendor>/<module>/etc/view.xml, but not working.

How can I override etc/view.xml in custom module ?


You must do the override in app/design directory and not in app/code

| improve this answer | |
  • he clearly mentioned that he want to use it in custom module not a theme brother. so please remove your answer. – Ronak Chauhan Sep 26 '19 at 15:20
  • i see it not possible to do it from app/code, never seen something like that or read it. – Ylgen Guxholli Sep 26 '19 at 15:28
  • i know that it's not possible to do so we can close this question if want answer as you suggest then magento.stackexchange.com/questions/144518/… – Ronak Chauhan Sep 26 '19 at 15:31

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.