Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

fabiosurini
Community profile fabiosurini Level 1
Job title here
Location here
4 BADGES
Level 1

Level 1

Learn more
Joined the community 28-05-2021 12:35:48 AM
Online
Top badges earned by fabiosurini
Customize the badges you want to showcase on your profile
Re: Looping through Transactional message
Avatar
Give Back
Level 1
fabiosurini
Level 1

Like

1 like

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Give Back
Ignite 1
Boost 1
Validate 1
View profile
fabiosurini
- Adobe Campaign Standard
We have the same issue: we move looping in content block, but it is no working. We are not sure that the standard product listing covers all our needs. This is quite disappointing and is giving us a lot of troubles with our customer.

Views

95

Likes

0

Replies

0
Re: ACS - email template and javascript / product listing
Avatar
Give Back
Level 1
fabiosurini
Level 1

Like

1 like

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Give Back
Ignite 1
Boost 1
Validate 1
View profile
fabiosurini
- Adobe Campaign Standard
Hi, thanks for the reply.Anyway we tried with Javascript but with no luck.If we use someting very basic like:<%var products = context.rtEvent.ctx.products;%><%for each(var product in products) {%><%=product["productName"]%><%}%>we got that(1) when we save the delivery, ACS rearranges the markup, moving the for-loop outside the table, someting like<%for... {><%}>...(2) as productName prints "undefined" (while we are sure that "productName" is passed via API call)What are we missing?ThnxFabio

Views

119

Likes

0

Replies

0
ACS - email template and javascript / product listing
Avatar
Give Back
Level 1
fabiosurini
Level 1

Like

1 like

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Give Back
Ignite 1
Boost 1
Validate 1
View profile
fabiosurini
- Adobe Campaign Standard
Hi allis it possible to have a clear reference/example of ACS capabilities in terms of javascript customization of email templates? For instance: we have some custom "product listing" requirements that are not easily implemented using out of the box functionality.We need to be able to apply some behavour on every list item, depending of some attributes and so we may need to script the iteration. For example (pseudo code): <% for (int i=0; i<%if (product.someproperty=='XX') {%>.....custom layout....

Views

148

Like

1

Replies

2
Likes from