Cart Recovery URL

The Cart Recovery URL is a property included in the “Current Shopping Cart Status” tag. This field stores in the contact's cart a URL to recover the items related to that same cart. This URL can be used in workflows and content to recover the items related to that cart.
 

This article explains how the Cart Recovery URL works and how it is used in Connectif. 

 

1. Properties

1.1. About the use of the Cart Recovery URL

  • The Cart Recovery URL is not a URL generated by Connectif; the client sends it to Connectif through their integration, to be able to use it in Workflows and Content.
  • This URL must be valid and allowed in the Authorized Domains ("Store Settings > Web > Advanced Configuration"), otherwise that URL will not be stored.
 

Learn how to add the Cart Recovery URL to the Authorized Domains by following Step 1 of this article.

  • This URL is not available in integrations with VTEX Legacy.

 

1.2. About the Cart recovery URL field

  • This field allows storing in Connectif, in each contact's cart, a URL with the items related to that same cart. 

 

2. How the Cart recovery URL works in each CMS

Each CMS manages this type of cart recovery URL differently depending on the integration:

  

No changes need to be made in Connectif to collect this URL, as it will be collected directly within the "Current Shopping Cart Status" tag.

 

a. How this URL works in Shopify

The Cart recovery URL in Shopify is a URL that contains the exact information of the products the customer currently has in their cart, including information about variants (sizes, colors, etc.) and quantities.

When the contact visits that URL, which takes them directly to the cart page, the entire content of the current session's cart that the contact may have is replaced.

 

This is not the URL Shopify generates for abandoned checkouts that directs the contact to the checkout. The URL stored by Connectif is always available and can be visited by the contact even if the customer has never visited the checkout page.

 

b. How this URL works in Prestashop

 

It is essential to have the Connectif module for Prestashop version higher than 1.21.0.

The Cart recovery URL in Prestashop is a URL that contains Prestashop's native cart identifier.

Using that cart identifier, the cart information is retrieved from Prestashop itself, including specifically if there are variants with their specific size/color/etc.

When visiting this link, the contact is directed to the cart page with the products it contained, completely replacing the current cart content of the contact’s session, if any. 

If the Connectif module is not active at the time of browsing these generated links, the contact is redirected to the home page, without altering the current session cart, if any.

 

c. How this URL works in Magento 2

 

It is essential to have the Connectif module for Magento 2 version higher than 1.16.0.

The Cart recovery URL in Magento is a URL that contains Magento’s native cart identifier. Using that cart identifier, Magento retrieves information about variants (sizes, colors, etc.) and quantities.

When the contact visits that URL, which takes them directly to the cart page, the entire content of the current session's cart that the contact may have is replaced with the content recovered through the cart identifier in Magento.

  

Products out of stock at that moment are not added to the cart.

If the contact does not have any active cart at that moment, a new one will be created and assigned.

 

d. How this URL works in WooCommerce

 

It is essential to have the Connectif module for WooCommerce version higher than 1.7.0.

The Cart recovery URL in WooCommerce is a URL that contains the exact information of the products the customer currently has in their cart, including information about variants (sizes, colors, etc.) and quantities.

When the contact visits that URL, which takes them directly to the cart page, the entire content of the current session's cart that the contact may have is replaced.

 

e. How this URL works in VTEX IO

In VTEX IO, the Cart recovery URL contains the specific product identifiers, including the sales channel (Sales Channel or Trade Policy) and the seller (Seller). This will recover both product variants – for example, specific sizes and colors – and maintain the same prices resulting from choosing one seller or another if the VTEX store acts as a Marketplace.

  

Although the module is not active, the generated links always work because this functionality is native to VTEX IO.

When visiting the link, the contact is directed to the cart page, with certain features:

  • If the contact has other products in the cart, these remain and the new ones are added; that is, previously added items to the recovery are not lost.
  • The URL also recovers out-of-stock products. VTEX handles displaying a stock warning so the contact can remove them from the cart before proceeding with the purchase.
  • An error warning is shown for products that do not exist or are disabled.

 

f. How this URL works in BigCommerce

The Cart recovery URL in BigCommerce is a URL that contains the exact information of the products the customer currently has in their cart, including information about variants (sizes, colors, etc.) and quantities.

When the contact visits that URL, which takes them directly to the cart page, the entire content of the current session's cart that the contact may have is replaced.

 

g. How this URL works in Tiendanube

The Cart recovery URL in Tiendanube contains the information of the products the customer currently has in their cart, including quantities and selected variants such as size or color.

When the contact accesses this URL, they will arrive directly at the cart page, and its content will replace the cart they had in the current session.

 

h. How this URL works in custom integrations

In custom integrations, the Cart recovery URL must be generated and managed by the Ecommerce platform itself.

To do this, the Cart Token field can be used, available in nodes related to carts. This field contains the necessary information to reconstruct the cart content, such as the identifiers of the included products and their quantities, allowing the generation of a custom recovery URL.

When the contact visits that URL, the Ecommerce must process the received token and reconstruct the corresponding cart according to the logic implemented on the platform.

Therefore, the behavior of the cart recovery URL will depend on the implementation carried out by each Ecommerce, including aspects such as product recovery, management of out-of-stock items, or interaction with an existing cart in the contact’s session.

 

3. How to use this URL in Connectif

To obtain the Cart recovery URL through a workflow, it must be done via the "Get last cart" and "On cart abandonment" nodes, then mapped into the variables of the content to display or send.

Below is an example with the "Get last cart" node, based on a monthly cart recovery strategy, available in Connectif’s workflow templates.

URL de recuperación de carrito - 1-min.png

 

Through the "Get last cart" node, the Cart recovery URL is obtained and sent in the "Send email" node, where a variable including it has been configured.

URL de recuperación de carrito - 2-min.png

 

When configuring the "Send email" node, this variable (right column) must be associated with the Cart recovery URL (left column).

URL de recuperación de carrito - 3-min.png

 

With this, the workflow sends an email with the Cart recovery URL to each contact.

 

 

Congratulations!
You have reached the end of the lesson.

  

Do you still have unresolved questions?
Remember that our Connectif specialists are available to assist you. To contact them, just open a Support ticket by clicking the blue “Help” button on your dashboard.


Keep learning!

To make the most of your Connectif account’s potential, we recommend continuing with the following articles: