Day 26 Challenge Resources

Challenge

In one of the previous challenges, an internet service provider sent a confirmation email to customers after they place an order. The email contained details of the services purchased, including the service name, description, image, price and quantity. The company now wants to include the total price in the email as well as update the email design.

Instructions and Resources

Today’s challenge will use a different template that includes multiple slots for content blocks. You can download the master template and other necessary blocks from the table below. As a new addition to this challenge, you must calculate the total order amount and display it in the email.

Preview
Type
Name
Source
Template
Day 26 Challenge
HTML
Title
HTML
Product
Image
Customer Key: product_home
Image
Customer Key: product_internet
HTML
Customer Key: product_tv
HTML
Code

To retrieve images from the Content Builder, ensure that the Customer Key of each image matches the ProductImg column in the Order_Details data extension.

Download CSV
OrderId ProductName ProductDesc ProductImg ProductPrice ProductQty
28745 Internet Gigabit Fibe 1 Package product_internet 200 1
28745 Smart Home Best Package product_home 49 1
51654 Internet Fibe 500 Package product_internet 50 2
51654 TV Select TV Package product_tv 170 1
43656 Internet Gigabit Fibe 1 Package product_internet 200 1

If you downloaded and built your email using the provided content blocks, your email will look like the following.

 Good things are coming your way

Internet
Gigabit Fibe 1 Package
1 x $200

Smart Home
Best Package
1 x $49

Your Order Total: $249

All information contained herein applies to Canadian products only.
© Next Telecom

Boost AMPscript Skills in Just 30 Days!

Whether you're just starting with AMPscript coding or looking to expand your skills, this challenge is for you!

[yikes-mailchimp form="1"]