cancel
Showing results for 
Search instead for 
Did you mean: 

Problem Generating email - Problem on render template for component

Former Member
0 Kudos

Hi Experts,

I try to generate an email by using the default generating process. In result, the email is correctly sent, but the Images from the content slot are note displayed.

In the process i have this error on the generateCustomerRegistrationEmail Step :

ERROR [DefaultEmailContextFactory] Couldn't find render template for component [EmailSiteLogoComponent] of type [CMSImageComponent] in slot [EmailSiteLogoSlot] for site [Site-FR] during process [StoreFrontCustomerProcessModel (8796818571262)]. Tried code [Site-FR-CMSImageComponent-template]ERROR [DefaultEmailContextFactory] Couldn't find render template for component [EmailProductDetailComponent] of type [ProductFeatureComponent] in slot [EmailProductContentSlot] for site [Site-FR] during process [StoreFrontCustomerProcessModel (8796818571262)]. Tried code [Site-FR-ProductFeatureComponent-template]ERROR [DefaultEmailContextFactory] Couldn't find render template for component [EmailBottomLeftBanner-1] of type [PushComponent] in slot [EmailBottomLeftSlot] for site [Site-FR] during process [StoreFrontCustomerProcessModel (8796818571262)]. Tried code [Site-FR-PushComponent-template]ERROR [DefaultEmailContextFactory] Couldn't find render template for component [EmailBottomRightBanner-1] of type [BannerComponent] in slot [EmailBottomRightSlot] for site [Site-FR] during process [StoreFrontCustomerProcessModel (8796818571262)]. Tried code [Site-FR-BannerComponent-template]ERROR [DefaultEmailContextFactory] Couldn't find render template for component [EmailBottomRightBanner-2] of type [BannerComponent] in slot [EmailBottomRightSlot] for site [Site-FR] during process [StoreFrontCustomerProcessModel (8796818571262)]. Tried code [Site-FR-BannerComponent-template]INFO [GenerateEmailAction] Email message generated

What am i doing wrong ? Any ideas ?

Thx

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

The Problem is it is missing render templates. When you are using any components in email, you need to specify the corresponding templates for them and they should start with UID of your site. The below gives you an example. Please refer to OOB implementation for further details. UPDATE RendererTemplate;code[unique=true];description[lang=$lang];templateScript[lang=$lang,translator=de.hybris.platform.commerceservices.impex.impl.FileLoaderValueTranslator] ;siteId-CMSImageComponent-template;CMSImageComponent Template;$emailResource/email-cmsImageComponentTemplate.vm;

Answers (1)

Answers (1)

Former Member
0 Kudos

Yes it's working now.

Thanks.