> For the complete documentation index, see [llms.txt](https://docs.pos.pages.fm/pos/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pos.pages.fm/pos/english/advanced-features/abandoned-cart.md).

# Abandoned Cart

How to set up Abandoned cart reminder to client’s WhatsApp using Pancake

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="https://4075213368-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F31rlQ63TnBzq1lNIyA7i%2Fuploads%2FYRNskcE4mMgZnbwqHepo%2FScreen%20Shot%202024-04-17%20at%2010.14.19.png?alt=media&amp;token=52fe46cd-36e6-4fd3-8fab-b995b82f3e39" 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="https://4075213368-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F31rlQ63TnBzq1lNIyA7i%2Fuploads%2FrcTBnq4tDgsaah9g4zlv%2F1.png?alt=media&amp;token=ba366fef-3f16-4ca9-b5a6-875eb2551f6d" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://4075213368-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F31rlQ63TnBzq1lNIyA7i%2Fuploads%2Fjp0T8mS5CSrMYijRT2eR%2F2.png?alt=media&amp;token=f9722687-83ff-40eb-a912-00e698e8e954" alt=""><figcaption></figcaption></figure>

Choose the cart you wish to send reminder about

<figure><img src="https://4075213368-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F31rlQ63TnBzq1lNIyA7i%2Fuploads%2FEJg5KpkXsnZGVXe07n7d%2FScreen%20Shot%202024-04-17%20at%2014.23.09.png?alt=media&amp;token=2557e69e-867e-456e-be7a-e3c9d3350e3a" 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="https://4075213368-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F31rlQ63TnBzq1lNIyA7i%2Fuploads%2F8AdqzSXepV37OmL7f25H%2F4.png?alt=media&amp;token=8f1c3f03-5eff-410c-8e08-dc95b7c06a5a" alt=""><figcaption></figcaption></figure>

2. Fill in the content, with the variables below

<figure><img src="https://4075213368-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F31rlQ63TnBzq1lNIyA7i%2Fuploads%2FcMKAB980HIi5XUDkxMmX%2F5.png?alt=media&amp;token=d363619b-69bb-40c8-ab5b-d7f0e8842f53" alt=""><figcaption></figcaption></figure>

Click “OK”.

<figure><img src="https://4075213368-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F31rlQ63TnBzq1lNIyA7i%2Fuploads%2F8FZ2AOvvf6J4P3IQckcZ%2FScreen%20Shot%202024-04-17%20at%2014.34.00.png?alt=media&amp;token=8a70f3a8-07a5-4ff3-afe3-b4558db7616f" 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="https://4075213368-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F31rlQ63TnBzq1lNIyA7i%2Fuploads%2Fhe6gKZPMGya0QFY20WuP%2F5.png?alt=media&amp;token=1a0688fc-0943-45a8-9687-a7f3f7ec2cc4" alt="" data-size="original">
{% endhint %}

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

<figure><img src="https://4075213368-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F31rlQ63TnBzq1lNIyA7i%2Fuploads%2Fl0ioPg7PyDdZigGuqip7%2F6.png?alt=media&amp;token=56904808-de25-4fb5-bb8c-6720b7fe2789" 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="https://4075213368-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F31rlQ63TnBzq1lNIyA7i%2Fuploads%2FlsTh70mN1P6Mqha5cef0%2FScreen%20Shot%202024-04-17%20at%2014.49.39.png?alt=media&amp;token=78fa4bd6-9d59-4abd-a9f2-410a7cd7d27c" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://4075213368-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F31rlQ63TnBzq1lNIyA7i%2Fuploads%2F9UZARrDUXKKl1OyWWuSu%2F5.png?alt=media&amp;token=bfe80012-1283-465e-8137-5514667b8b7e" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://4075213368-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F31rlQ63TnBzq1lNIyA7i%2Fuploads%2FeKtzBrm1r0UiXc5y5O32%2F7.png?alt=media&amp;token=9250c1ee-446b-4554-b177-df44d555c640" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://4075213368-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F31rlQ63TnBzq1lNIyA7i%2Fuploads%2F7Y8dNxJes0WZgPQff440%2F8.png?alt=media&amp;token=9b60bc24-c60a-43bc-8e7b-84ab3aa7db4b" alt=""><figcaption></figcaption></figure>

Click “OK”.

<figure><img src="https://4075213368-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F31rlQ63TnBzq1lNIyA7i%2Fuploads%2Fnt63oHCG0PCJebqx1v3d%2FScreen%20Shot%202024-04-17%20at%2014.28.44.png?alt=media&amp;token=bc05ac19-1f73-4edb-b192-c7108369affc" alt=""><figcaption></figcaption></figure>

## 3. Set the notification on Pancake

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

<figure><img src="https://4075213368-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F31rlQ63TnBzq1lNIyA7i%2Fuploads%2FVOeqN4Jfvsj66gb4JDTw%2F9.png?alt=media&amp;token=e2a5f2dc-6a13-47e0-aac1-6b96f44ce3c4" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://4075213368-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F31rlQ63TnBzq1lNIyA7i%2Fuploads%2F5AwNrzZIuRMP1L58fQnS%2F10.png?alt=media&amp;token=24da8828-83d9-4c4d-803f-dd302d0b3c3d" alt=""><figcaption></figcaption></figure>

All done !
