# Abandoned Cart

When a user adds a product to the online shopping cart of an e-commerce site which is linked to Shopify but doesn't proceed to checkout and complete the purchase → This is called the "abandoned cart", and remind the clients of this can actually help you raise 40% your revenue.

First you need to make sure you’ve activated **both POS and Botcake** for your Pancake’s account.

## 1. Connect your Shopify into POS

You can connect your Shopify to POS by  2 ways: by Application ID and Secret Key, or by Application's access\_token.&#x20;

Please refer to this link: <https://docs.pancake.vn/v/english/4.12-sales-channel-integrations/3.-shopify-integration>

## 2. Configure to prompt customers to confirm orders in POS

In POS, choose “Configuration” → “Automated Order”

<figure><img src="/files/s0OcBnfAYFh8dX5iwzjR" alt=""><figcaption></figcaption></figure>

In “Automatically send message”, you can see the function “Configure to prompt customers to confirm orders” → click “Config”

<figure><img src="/files/NKwdhN41X9FlCv2RfrAd" alt=""><figcaption></figcaption></figure>

In the Config table, choose the order source as “Shopify”

<figure><img src="/files/1u8EDXWHYUrFVZY01qmb" alt=""><figcaption></figcaption></figure>

Choose the cart you wish to send reminder about

<figure><img src="/files/L7bqUXPZvcOldEWisjpj" alt=""><figcaption></figcaption></figure>

Note: this means the reminder will be about the abandoned cart 1 or 2 days ago.

You can continue to config this by 2 ways, using POS or Botcake (POS is for businesses using Messenger/Instagram, and those using WhatsApp communicate with the customers, please choose Botcake)

* Using POS  - for businesses using Messenger/Instagram

1. Choose the sending platform as “POS”:

<figure><img src="/files/17tXNkU9yvSq63057o8C" alt=""><figcaption></figcaption></figure>

2. Fill in the content, with the variables below

<figure><img src="/files/ldv6kNUyG6gr2e5WgYgK" alt=""><figcaption></figcaption></figure>

Click “OK”.

<figure><img src="/files/rbeFMx2W9qpSBMmSQZb4" alt=""><figcaption></figcaption></figure>

* Using Botcake - for those businesses using WhatsApp

1. Create a template on WhatsApp Manager, refer to this link: <https://docs.pancake.vn/v/english/whatsapp-api-guide/v.-using-whatsapp-api/creating-whatsapp-api-templates>

{% hint style="info" %}
You can add up to 5 variables, as the picture shown below, so make sure you add variables to the templates

<img src="/files/J2YgWo5P4qrLPZWBBvgN" alt="" data-size="original">
{% endhint %}

2. After your template is successfully verified, attach it to a sequence on Botcake

<figure><img src="/files/9kMFrZYxqNjGjgUmA1ty" alt=""><figcaption></figcaption></figure>

Note, when you attach the flow to a sequence, it will appear as below

{% hint style="info" %}
Note, when you attach the flow to a sequence, it will appear as below
{% endhint %}

<figure><img src="/files/t6CWzr5bAhzXRcXPzX8O" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Please fill in the body params with these variables
{% endhint %}

<figure><img src="/files/ZiZc6720g4pW26nk09Zd" alt=""><figcaption></figcaption></figure>

3. On POS, continue to choose the sending platform as “Botcake”

<figure><img src="/files/40XAp00DKQx7eenIxRbK" alt=""><figcaption></figcaption></figure>

4. Click “Add” and attach the sequence you’ve just created on Botcake to POS

<figure><img src="/files/p6erBwlRmpQTi3Yb1Qwb" alt=""><figcaption></figcaption></figure>

Click “OK”.

<figure><img src="/files/uoI1OV0MHxYnUMgBKK0d" alt=""><figcaption></figcaption></figure>

## 3. Set the notification on Pancake

Back to the Configuration on POS, choose “Notification” → “Pancake”

<figure><img src="/files/7F7ZrontE0A8AyIKRtQr" alt=""><figcaption></figcaption></figure>

Select the WhatsApp you wish to trigger the abandoned cart message.

<figure><img src="/files/fk7CvHPJRcXY6cSulb5v" alt=""><figcaption></figcaption></figure>

All done !


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pos.pages.fm/pos/english/advanced-features/abandoned-cart.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
