Quantcast
Channel: Active questions tagged config - Stack Overflow
Viewing all articles
Browse latest Browse all 5049

Saving the data from a Shopware 6 plugin component

$
0
0

I wrote a custom component for a shopware plugin that I can add to the config.xml.

<component name="my-component"><name>myname</name></component>

The JS code is done but I stuck when I want to save my datastructure into the plugin config. During my google/gihub search I found monstrosities like this.$parent.$parent.$parent.actualConfigData.null[this.$attrs.name] = value;, but this can't be the proper way to do it.

Where do I add my values in my component so that my config will be saved when the save-button is clicked? Is there probably a function for this I haven't found yet?


Viewing all articles
Browse latest Browse all 5049

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>