Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How can I disable and mark Shopware 6 config field as obsolete?

How can I disable and mark Shopware 6 config field as obsolete? Hello, I am new to shopware. I have a plugin that has a config field I want to disable it mark it as obsolete.

config.xml

<input-field>
  <name>shippingOption</name>
</input-field>

Is it even possible? If yes, how can I do that?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

Yes, it is possible. You can add disabled and helpText field to your input-field like:

<input-field>
  <name>shippingOption</name>
  <disabled>true</disabled>
  <helpText>This setting is obsolete. </helpText>
</input-field>

Kindly, have a look at this link.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading