> For the complete documentation index, see [llms.txt](https://docs.2checkout.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.2checkout.com/marketing/emails/email-variables/abandoned-cart.md).

# Abandoned cart

Use the variables in the list below to customize the **Abandoned cart** shopper email according to your needs.&#x20;

{% hint style="info" %}
Check the **Mandatory** column to see the variables required in your customized version of the e-mail.
{% endhint %}

<table><thead><tr><th width="262">Variable name</th><th width="290.9998779296875">Description</th><th>Mandatory</th></tr></thead><tbody><tr><td><code>2CHECKOUT_CITY</code></td><td>2Checkout city.<br><strong>Test value</strong>: Amsterdam</td><td>No</td></tr><tr><td><code>2CHECKOUT_COMPANY_NAME</code></td><td>2Checkout company name.<br><strong>Test value</strong>: Avangate BV</td><td>No</td></tr><tr><td><code>2CHECKOUT_COUNTRY</code></td><td>2Checkout country.<br><strong>Test value</strong>: Netherlands</td><td>No</td></tr><tr><td><code>2CHECKOUT_OPERATIONAL_EMAIL</code></td><td>2Checkout operational email address.<br><strong>Test value</strong>: <a href="mailto:support@2checkout.com">support@2checkout.com</a></td><td>No</td></tr><tr><td><code>2CHECKOUT_STATE</code></td><td>2Checkout state.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>2CHECKOUT_WEBSITE</code></td><td>2Checkout website.<br><strong>Test value</strong>: https://www.2checkout.com/</td><td>Yes</td></tr><tr><td><code>2CHECKOUT_ZIP_CODE</code></td><td>2Checkout ZIP code.<br><strong>Test value</strong>: 1075 BD</td><td>No</td></tr><tr><td><code>BUSINESS_CITY</code></td><td>2Checkout city.<br><strong>Test value</strong>: Amsterdam</td><td>No</td></tr><tr><td><code>BUSINESS_COMPANY</code></td><td>2Checkout company name.<br><strong>Test value</strong>: Avangate BV</td><td>No</td></tr><tr><td><code>BUSINESS_COUNTRY</code></td><td>2Checkout country.<br><strong>Test value</strong>: Netherlands</td><td>No</td></tr><tr><td><code>BUSINESS_OPEMAIL</code></td><td>2Checkout operational email address.<br><strong>Test value</strong>: <a href="mailto:support@2checkout.com">support@2checkout.com</a></td><td>No</td></tr><tr><td><code>BUSINESS_STATE</code></td><td>2Checkout state.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>BUSINESS_ZIP</code></td><td>2Checkout ZIP code.<br><strong>Test value</strong>: 1075 BD</td><td>No</td></tr><tr><td><code>BUY_NOW_LINK</code></td><td>Short version of renewal buy link (prefilled with shopper information).<br><strong>Test value</strong>: https://secure.2checkout.com/order/checkout.php?CART_ID=xxxxxxxxxx</td><td>Yes</td></tr><tr><td><code>BUY_NOW_LINK_RAW</code></td><td>Renewal link prefilled with shopper information (long version).<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>DISCOUNT_TYPE</code></td><td>Promotion discount type: percentage or fixed.<br><strong>Test value</strong>: %</td><td>No</td></tr><tr><td><code>ENCRYPTED_MERCHANT_CODE</code></td><td>Encrypted merchant code.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>FIRSTNAME</code></td><td>Shopper's first name used on the billing information.<br><strong>Test value</strong>: John</td><td>No</td></tr><tr><td><code>FIRST_NAME_BILLING</code></td><td>Shopper's first name used on the billing information.<br><strong>Test value</strong>: John</td><td>No</td></tr><tr><td><code>HAPPY_HOURS</code></td><td>Promotion length (hours).<br><strong>Test value</strong>: 6</td><td>No</td></tr><tr><td><code>HAS_PROMOTION</code></td><td>Indicates whether there is a promotion associated to the lead management campaign.<br><strong>Test value</strong>: 1</td><td>No</td></tr><tr><td><code>LASTNAME</code></td><td>Shopper's last name used on the billing information.<br><strong>Test value</strong>: Doe</td><td>No</td></tr><tr><td><code>LAST_NAME_BILLING</code></td><td>Shopper's last name used on the billing information.<br><strong>Test value</strong>: Doe</td><td>No</td></tr><tr><td><code>MERCHANT_COMMERCIAL_NAME</code></td><td>Merchant's commercial name.<br><strong>Test value</strong>: Software Company Name</td><td>No</td></tr><tr><td><code>MERCHANT_SUPPORT_PHONE</code></td><td>Merchant support phone number.<br><strong>Test value</strong>: 888-xxx-xxxx</td><td>No</td></tr><tr><td><code>ORDER_WEBSITE</code></td><td>Website where the shopper placed the order.<br><strong>Test value</strong>: http://www.software-company-website.com/</td><td>Yes</td></tr><tr><td><code>PRODUCTS</code></td><td>Products data.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>PRODUCTS[index1].CURRENCY</code></td><td>Currency applied to the abandoned cart.<br><strong>Test value</strong>: USD</td><td>No</td></tr><tr><td><code>PRODUCTS[index1].HAS_PROMOTIONAL_PRICE</code></td><td>Indicates whether the product is included in a lead management discount campaign.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>PRODUCTS[index1].NAME</code></td><td>Product name.<br><strong>Test value</strong>: Test product name7</td><td></td></tr><tr><td><code>PRODUCTS[index1].PROMOTIONAL_PRICE</code></td><td>Price of the product discounted as per lead management promotion campaign.<br><strong>Test value</strong>: 8.5</td><td>No</td></tr><tr><td><code>PRODUCTS[index1].REGULAR_PRICE</code></td><td>Catalog price for the product included in the abandoned cart.<br><strong>Test value</strong>: 10</td><td>No</td></tr><tr><td><code>PRODUCTS[index1].SHORT_DESCRIPTION</code></td><td>Short product description.<br><strong>Test value</strong>: Product short description</td><td>No</td></tr><tr><td><code>PRODUCTS_DATA</code></td><td><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>PRODUCTS_DATA[index1].IdProduct</code></td><td>Product ID number.<br><strong>Test value</strong>: 4605247</td><td>No</td></tr><tr><td><code>PRODUCTS_DATA[index1].PRICE_CURRENCY</code></td><td>Currency applied to the abandoned cart.<br><strong>Test value</strong>: USD</td><td>No</td></tr><tr><td><code>PRODUCTS_DATA[index1].PRODUCT_IMAGE</code></td><td><strong>Test value</strong>: box-sz-av.jpg</td><td>No</td></tr><tr><td><code>PRODUCTS_DATA[index1].PRODUCT_NAME</code></td><td><strong>Test value</strong>: Test product name7</td><td>No</td></tr><tr><td><code>PRODUCTS_DATA[index1].PRODUCT_SHORT_DESCRIPTION</code></td><td>Short product description.<br><strong>Test value</strong>: Product short description</td><td>No</td></tr><tr><td><code>PRODUCTS_DATA[index1].PROMOTIONAL_PRICE</code></td><td>Price of the product discounted as per lead management promotion campaign.<br><strong>Test value</strong>: 8.5</td><td>No</td></tr><tr><td><code>PRODUCTS_DATA[index1].REGULAR_PRICE</code></td><td>Catalog price for the product included in the abandoned cart.<br><strong>Test value</strong>: 10</td><td>No</td></tr><tr><td><code>PRODUCT_NAME</code></td><td>The name of the renewal product.<br><strong>Test value</strong>: Test</td><td>No</td></tr><tr><td><code>PROMOTION_COUPON</code></td><td>Discount coupon (if applicable).<br><strong>Test value</strong>: COUPON</td><td>No</td></tr><tr><td><code>PROMOTION_DISCOUNT</code></td><td>Value of the promotional discount associated to the lead management campaign. Use it in conjunction with DISCOUNT_TYPE.<br><strong>Test value</strong>: 7</td><td>No</td></tr><tr><td><code>RETRYLINK</code></td><td>Payment retry link.<br><strong>Test value</strong>: 0</td><td></td></tr><tr><td><code>RETRY_LINK</code></td><td>Payment retry link.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>SELLERCOMPANY</code></td><td>Merchant's company name.<br><strong>Test value</strong>: Software Company Name</td><td>No</td></tr><tr><td><code>TECHPHONE</code></td><td>Merchant support phone number.<br><strong>Test value</strong>: 888-xxx-xxxx</td><td>No</td></tr><tr><td><code>UNSUBSCRIBE_LINK</code></td><td>Shopper unsubscribe link.<br><strong>Test value</strong>: https://secure.2checkout.com/order/unsubscribe.php?q=xxxxxxxxxx</td><td>No</td></tr><tr><td><code>UPLOADLINK</code></td><td>File upload link.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>UPLOAD_LINK</code></td><td>File upload link.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>WEBSITE</code></td><td>Website where the shopper placed the order.<br><strong>Test value</strong>: http://www.software-company-website.com/</td><td>No</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.2checkout.com/marketing/emails/email-variables/abandoned-cart.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
