Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
2.8 kB
2
Indexable
Never
<shared_asset> bsft_Feb_2020__Head2 </shared_asset>
	<body style="background:#fff; margin:0; padding:0; -webkit-text-size-adjust:100%; -ms-text-size-adjust:100%;">
      	<div style="display:none; font-size:0; line-height:0;">{{external_fetch.response.1pre-header}}</div>
        <shared_asset> bsft_Feb_2020__Content__Spacer__32px </shared_asset>
      	<shared_asset> bsft_Feb_2020__Header__Logo </shared_asset>
      	<shared_asset> bsft_Feb_2020__Content__Spacer__32px </shared_asset>
        <shared_asset> bsft_Spacer_image_red__responsive </shared_asset>

      	<shared_asset> bsft_Feb_2020__Content__Spacer__32px </shared_asset>
		<shared_asset> bsft_Feb_2020__Content__Title_H1 </shared_asset>
      	<shared_asset> bsft_Feb_2020__Content__Spacer__32px </shared_asset>
        <shared_asset> bsft_Body_paragraph_text__first_name__responsive </shared_asset>
        <shared_asset> bsft_Feb_2020__Content__Spacer__32px </shared_asset>
      
	<div class="abandoned">
      {% for item in event_product_details. %}
          <img src="{{ item.image }}" height="250" width="250" />
      	  <div class="abandoned_content">
            <span class="abandoned_title">{{item.title}}</span>
            <span>Quantity: {{item.extended_attributes.quantity}} - Total: {{item.price}}</span>
      	  </div>
      {% endfor %}
  	</div>
      	<shared_asset> bsft_Feb_2020__Content__Spacer__32px </shared_asset>
        
          
        <shared_asset> bsft_Abandoned_Basket_from_recommendation_block1 </shared_asset>
        <shared_asset> bsft_Feb_2020__Content__Spacer__32px </shared_asset>
        <shared_asset> bsft_Feb_2020__Content__Spacer__20px </shared_asset>
        
      
        <shared_asset> bsft_Abandon_Cart_CTA </shared_asset>    
      
         <shared_asset> bsft_Feb_2020__Content__Spacer__32px </shared_asset>
         <shared_asset> bsft_Feb_2020__Content__Spacer__10px </shared_asset>
      
<!-- POC May 2020 - test personalised recs for customers that have photos -->  
      
{% assign orderHasPhotos = false %}   
{% for item in {{bsft_event_context.products_metadata}} %}
 {% if item.item.numberOfPhotos > 0 %}
  {% assign orderHasPhotos = true %}
 {% endif %}
{% endfor %}

        <shared_asset> bsft_Feb_2020__Content__Spacer__32px </shared_asset>
        <shared_asset> bsft_Jan_2021__Content__Abandoned_Basket__Visit_Help_Centre </shared_asset>
        <shared_asset> bsft_Feb_2020__Content__Spacer__32px </shared_asset>
        <shared_asset> bsft_Feb_2020__Footer </shared_asset>
	</body>

<style>
  .abandoned {
    display: flex;
    justify-content: center;
  }
  
  .abandoned_content {
	display: flex;
    flex-direction: column;
  }
  
  .abandoned_title {
    padding: 12px 0;
  }
</style>

<shared_asset> bsft_Feb_2020__Foot </shared_asset>