Other

document.querySelector("form > input[data-mail='subject']").value = "Frage zum Artikel - Artikel ID: " + vueApp.$store.state.items[{{item.documents[0].data.item.id}}].variation.documents[0].data.item.id + " | Varianten ID: " + vueApp.$store.state.items[{{item.documents[0].data.item.id}}].variation.documents[0].data.variation.id + " | Artikelname: " + vueApp.$store.state.items[{{item.documents[0].data.item.id}}].variation.documents[0].data.texts.name1; document.addEventListener("onVariationChanged", function (e) { document.querySelector("form > input[data-mail='subject']").value = "Frage zum Artikel - Artikel ID: " + vueApp.$store.state.items[{{item.documents[0].data.item.id}}].variation.documents[0].data.item.id + " | Varianten ID: " + vueApp.$store.state.items[{{item.documents[0].data.item.id}}].variation.documents[0].data.variation.id + " | Artikelname: " + vueApp.$store.state.items[{{item.documents[0].data.item.id}}].variation.documents[0].data.texts.name1;});