Datatables

In the same way as the Profile Fields hold information about your individual contacts (firstname, lastname, date of birth...) a Datatable is a table of information which holds information about something that is not directly related to a contact.

For our example we are going to be using a table of products. Let's assume we have an online sports store and our products range from football boots to swimming caps and golf balls to gym equipment. A Datatable containing these products might look something like the following:

product_idskunamedescriptionpriceimageurl_pathinStock
11231Football BootsFor great shooting...49.99football_boots.jpghttp://www.sportsonline.com/foot...True
22232Swimming HatStop hair getting wet...7.99swimming_hat.jpghttp://www.sportsonline.com/swim...False
31343Golf BallsFor great drives...9.49golf_balls.jpghttp://www.sportsonline.com/golf...True
41245WeightsWant to get muscles?...18.99weights15kg.jpghttp://www.sportsonline.com/weig...True
55236Rugby BallProfessional stitched...6.00rugby_balls.jpghttp://www.sportsonline.com/rugb...True
61633Cricket BatHandcrafted willow...31.99cricket_bat.jpghttp://www.sportsonline.com/cric...False

The following sections will cover the process of creating a Datatable, filling it with information and then using that information in our email campaigns.

If you do not yet have your own data but would like to follow along with our example then we will be using the following CSV file: sports_products.zip