Follow

How to add a dynamic cart

 

Following is the syntax for applying abandon shopping cart on emails 

1. opz_cart_container tag is holding the shopping cart

2. opz_cart_product is holding the product data. will be multiplied for the number of products

3. opz_cart_container parameters:

  • number_of_products - the number of products that will be displayed on email
  • discount_percent - the discount that will be applied on the price for the product
  • order_by - the order of product displayed: use price or name
  • order_type - desc or asc 

4. dynamic parameters to use on the email:

  • -CART_PRODUCT_ID-
  • -CART_PRODUCT_NAME-
  • -CART_PRODUCT_IMG_URL-
  • -CART_PRODUCT_PRICE-
  • -CART_PRODUCT_OLD_PRICE-
  • -CART_PRODUCT_QUANTITY-
  • -CART_PRODUCT_SUB_TOTAL-

5. parameters for shopping cart are being taken from a pixel with action Add To Cart.

6. Example use of condition on marketing list for abandon shopping cart :   Pixel = '8' and Converted = '0'  

Text on campaign's email

the special offer</p>

<p><br />
<br />
<opz_cart_container number_of_products="2" discount_percent="10" order_by="price" order_type="desc">
<table border="1">
<opz_cart_product>
<tr>
<td>-CART_PRODUCT_NAME- now with spacial discount -CART_PRODUCT_OLD_PRICE- instead of -CART_PRODUCT_PRICE- (-CART_PRODUCT_DISCOUNT_RATE-%)</td>
<br>
</tr>
<tr>
<td> now see the image <img src="-CART_PRODUCT_IMG_URL-"></td>
</tr>
</opz_cart_product>
</table>
</opz_cart_container>

 

Text on email sent

<table border="1">

<tr>

<td>blue snickers now with spacial discount 56.56 instead of 50.9 (10%)</td>

<br>

</tr>

<tr>

<td> now see the image <img src="http://a1.zassets.com/images/z/3/4/2/3/9/0/3423900-p-MULTIVIEW.jpg"></td>

</tr>

<tr>

<td>black wallet now with spacial discount 15.3 instead of 13.77 (10%)</td>

<br>

</tr>

<tr>

<td> now see the image <img src="http://a2.zassets.com/images/z/3/4/4/2/2/7/3442274-p-LARGE_SEARCH.jpg"></td>

</tr>

</table> 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.