# How to show essential characteristics in Email template

**URL:** <https://forum.shopware.com/t/how-to-show-essential-characteristics-in-email-template/93936>\
**Category:** Shopware 6 (German)\
**Created:** [14. April 2022 um 10:19 UTC](https://forum.shopware.com/t/how-to-show-essential-characteristics-in-email-template/93936 "2022-04-14T10:19:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![markus.freyt](https://avatars.discourse-cdn.com/v4/letter/m/46a35a/32.png) [@markus.freyt](https://forum.shopware.com/u/markus.freyt)\
**Post date:** [14. April 2022 um 10:19 UTC](https://forum.shopware.com/t/how-to-show-essential-characteristics-in-email-template/93936/1 "2022-04-14T10:19:13Z")

</div>

Hi ,  
I wonder how it could be possible to show essential characteristics in an email template?

I have implemented something like this for the productlisting with a subscriber which adds an extension like this:

```auto
            $featureSet = $productEntity->getFeatureSet();
            if ($featureSet != null){
                $features = $featureSet->getFeatures();
                foreach ($features as $feature){
                    $featureId = $feature['id'];
                    $featureName = $feature['name'];

                    if ($featureName == "manufacturerNumber") {
                        array_push($extensionData[$productId],array(
                            "featureName" => "Product Number",
                            "featureValue" => $productEntity->getProductNumber(),
                        ));
                    }
                   
                    foreach ($productProperties as $property ){
                        $propertyId = $property->getGroupId();
                        $propertyName = $property->getname();
                       
                        if ($featureId == $propertyId){
                            array_push($extensionData[$productId],array(
                                "featureName" => $featureName,
                                "featureValue" => $propertyName,
                            ));
                        }
                    }    
                }   
            }

```

Would it be for an email template something similar, and, if yes, which event to subcribe?  
Thanks for your feedback…

---

<div class="post-metadata">

**Author:** ![markus.freyt](https://avatars.discourse-cdn.com/v4/letter/m/46a35a/32.png) [@markus.freyt](https://forum.shopware.com/u/markus.freyt)\
**Post date:** [14. April 2022 um 11:40 UTC](https://forum.shopware.com/t/how-to-show-essential-characteristics-in-email-template/93936/2 "2022-04-14T11:40:09Z")

</div>

ok, Lösung gefunden 😉

> [@Email-Template mit Daten anreichern](https://forum.shopware.com/t/email-template-mit-daten-anreichern/72685):
>
> Ich möchte gerne in der Bestellbestätigungs-Mail zusätzliche Daten anzeigen, die in der Datenbank mit Referenz der bestellten Artikel-IDS&nbsp;abgelegt sind. Ich habe mir dazu eine extra Tabelle extra\_infos &nbsp;angelegt in der die Felder artikel\_id und&nbsp; information vorhanden sind. Ein Beispieleintrag wäre dann zum Beispiel (1a50a6b74c7f42bba47e435a4f042134, “Eine zusätzliche Information”). Wenn der Kunde den Artikel&nbsp;1a50a6b74c7f42bba47e435a4f042134 bestellt, dann will ich in der Email-Bestellbestätigung…
