Shipping Confirmation Emails - Tracking Button "forloop" Syntax

jaip
New Member
1 0 0

Hello -

My custom shipping confirmation template (from Klaviyo) has 2 "Track Package" buttons.  One leverages a "forloop" syntax.  Two questions about this:

  1. What is the "forloop" syntax referencing? Does it just list all tracking numbers IF more than 1 for the order?
  2. What's the difference between each of the below URL's within each "Track Package" button?
{{fulfillment.tracking_urls.first }}
{{ tracking_url }}

Thanks,

Jai

Jai

 

Screen Shot 2021-04-22 at 4.52.34 PM.pngScreen Shot 2021-04-22 at 4.52.09 PM.png

0 Likes