abandoned_carts

Abandoned_carts

Returns a user's abandoned cart and cart items.

Example

[%abandoned_carts return:'customer'%]
    [%PARAM cart_track_id%][@cart_track_ids@][%end PARAM%]
    [%PARAM *header%] <table width="100%" border="0" cellspacing="0" cellpadding="4">[%/ PARAM%]
    [%PARAM *body%]
      <tr>
        <td width="5%" valign="top"><img border="0" src="https://developers.neto.com.au/[%asset_url type:'product' id:'[@SKU@]' thumb:'thumb'%][%END asset_url%]" alt="[@model@]" width="50px"  height="50px"></td>
        <td width="95%" valign="top">[@qty@] x <a href="[@URL@]" target="_blank">[@model@]</a><br>[@store_price@]</td>
      </tr>
    [%/ PARAM%]
    [%PARAM *footer%]</table>[%/ PARAM%]
    [%PARAM *ifempty%]No products found[%/ PARAM%]
[%/ abandoned_carts%]

Usage

Used exclusively in the abandoned cart email, this email will be sent to any customer who has abandoned their cart who is either an existing user or has entered their email address at the checkout asking them if they would like to continue their purchase.

Parameters

Name Options Description
header HTML & b@se tags Renders a single usable space above the body
return HTML & b@se tags Required parameter. If 'customer' is not specified, kit components will not display
body* HTML & b@se tags Runs an array for each option in the tag
footer HTML & b@se tags Renders a single usable space below the body
ifempty HTML & b@se tags If their are no active coupons, this block is printed in place of the header, body & footer

Data tags

Name Description
[@cart_track_id@] The abandoned cart ID, is used to pick up the abandoned cart and can only be used within the Abandoned Cart email
[@cart_code@] - Header/Body The unique cart code, can be used to recreate the cart view via URL
[@cart_id@] - Header/Body The database specific cart ID
[@checkout_time@] - Header/Body The last time the customer accessed the checkout page
[@count@] - Header/Body The number of items in the cart
[@group_id@] - Header/Body The group the customer belongs to
[@username@] - Header/Body The customer's username
[@brand@] - Body The product brand
[@inventory_id@] - Body The database specific inventory ID
[@kit_items@] - Body Kit specific items
[@kit_qtys@] - Body Kit specific quantities
[@model@] - Body Item model
[@qty@] - Body Item quantity
[@sku@] - Body Item SKU
[@store_price@] - Body Item's store price
[@url@] Item's URL

Was this article useful?

Be notified when this page is updated. Optional.