Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
1.6 kB
3
Indexable
Never
	<table width="100%" style="background:#fff;min-width:320px;" cellspacing="0" cellpadding="0">
  <tbody><tr>
    <td>
      <table class="w-100p" width="640" align="center" style="background:#fffffe; max-width:640px;" cellpadding="0" cellspacing="0">
        <tbody><tr>
          <td class="plr-15 pb-40" style="padding:0px 20px 0px;">
            <table width="100%" cellpadding="0" cellspacing="0">
              <tbody><tr>
                <td class="plr-0" align="center" style="padding:0 50px 0px; font:16px/26px Verdana, Geneva, sans-serif, Montserrat; color:#333;">
                  <div class="abandoned">
                    {% for product in products_metadata %}
                      <img src="{{ product.item.previewListingMedium[0] }}" class="abandoned_image" />
                      <div class="abandoned_content">
                        <span class="abandoned_title">{{product.item.name}}</span>
                        <span>Quantity: {{product.item.quantity}} - Total: {{product.item.itemPrice.price}} {{currency_id}}</span>
                      </div>
                    {% endfor %}
                  </div>

                </td>
              </tr>
            </tbody></table>
          </td>
        </tr>
      </tbody></table>
    </td>
  </tr>
</tbody></table>

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