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

EstherV
EstherV
Offline

Badges

Badges
2

Accepted Solutions

Accepted Solutions
0

Likes

Likes
0

Posts

Posts
2

Discussions

Discussions
0

Questions

Questions
2

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by EstherV
Customize the badges you want to showcase on your profile
Data Element in a for loop with if statement
Avatar
Ignite 1
Level 1
EstherV
Level 1

Likes

0 likes

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Ignite 1
Give Back
View profile
EstherV
- Adobe Analytics
Hi Community,I'm currently using some custom code in a Data Element to return a price range of a specific product.This code is working, I'm already using it on pages with a single product.var productPrice= window.tc_vars.product_unitprice_ttc; var tranche; switch (true) { case (0 <= productPrice && productPrice < 299): tranche = "/Less than 299€"; break; case (299 <= productPrice && productPrice < 301): tranche = "/Between 299 and 300€"; break; } I would like to use this data element on my baske...

Views

151

Likes

0

Replies

3
Re: Adobe Launch / Data Elements / Loop?
Avatar
Ignite 1
Level 1
EstherV
Level 1

Likes

0 likes

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Ignite 1
Give Back
View profile
EstherV
- Adobe Experience Platform Data Collection
Hi Community, @romainl45785749, I'm having a similar use case, so I wanted to know if anyone had a solution regarding this point. Best regards,

Views

28

Likes

0

Replies

0