Cart Recovery URL

 

Questo articolo è attualmente disponibile in inglese e spagnolo. Puoi fare riferimento a questa documentazione mentre arriva nella tua lingua.

The Cart Recovery URL is a property included in the tag “Current Cart State”. This field stores a URL in the contact's cart 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 generated by Connectif; the client sends it to Connectif through their integration, allowing it to be used in Workflows and Content.
  • This URL must be valid and allowed in Authorized Domains ("Store Settings > Web > Advanced Settings"), otherwise, the URL will not be stored.
 

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

  • This URL is not available for VTEX Legacy integrations.

 

1.2. About the Cart recovery URL field

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

 

2. How Cart URL recovery works in each CMS

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

  

No changes are required in Connectif to collect this URL, as it will be collected directly within the "Current Cart State" tag.

 

a. How this URL works in Shopify

The Cart Recovery URL in Shopify is a URL that contains the exact information about the products that the customer has in their cart at any given time, including information about variants (sizes, colors, etc.) and quantities.

When the contact visits this URL, which takes them directly to the cart page, it replaces all the contents of the current session's cart that the contact might have.

 

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

 

b. How this URL works in Prestashop

 

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

The Cart Recovery URL in Prestashop is a URL that contains the native cart identifier of Prestashop.

Using this cart identifier, the cart information is retrieved from Prestashop, including variant details, such as specific sizes/colors, etc.

Upon visiting this link, the contact is directed to the cart page with the products it contained, completely replacing the content of the contact's current cart if they had one.

If the Connectif module is not active at the time of navigating these generated links, the contact will be redirected to the homepage without altering the current session cart, if any.

 

c. How this URL works in Magento 2

 

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

The Cart Recovery URL in Magento is a URL that contains Magento’s native cart identifier. Using this identifier, variant information (sizes, colors, etc.) and quantities are retrieved in Magento.

When the contact visits this URL, which takes them directly to the cart page, it replaces all the content of the current session's cart with the content retrieved through the cart identifier in Magento.

  

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

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

 

d. How this URL works in WooCommerce

 

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

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

When the contact visits this URL, which takes them directly to the cart page, it replaces all the content of the current session's cart that the contact might have.

 

e. How this URL works in VTEX IO

In VTEX IO, the Cart Recovery URL contains the specific product identifiers, including the Sales Channel and the Seller. This ensures that product variants such as specific sizes and colors are recovered, and prices are kept consistent depending on the seller if the VTEX IO store acts as a Marketplace.

  

Even if the module is not active, the generated links always work since this functionality is native to VTEX IO.

When visiting the link, the contact is directed to the cart page, with the following characteristics:

  • If the contact has other products in the cart, these remain, and the new ones are added; in other words, previously added items are not lost.
  • The URL also recovers out-of-stock products. VTEX is responsible for displaying a stock warning for the contact to remove these items 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 custom integrations

In custom integrations, the behavior of the Cart Recovery URL when the contact visits it depends on the implementation made by the Ecommerce, as each Ecommerce can decide how to handle these cases.

 

3. How to use this URL in Connectif

To obtain the Cart Recovery URL through a workflow, it must be done via the node "Get Last Cart" and "On Abandoned Cart", and then mapped into the variables to be shown or sent in the content.

Below is an example using the "Get Last Cart" node, based on a monthly cart recovery strategy available in the Connectif workflow templates.

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

Through the "Get Last Cart" node, the Cart Recovery URL is obtained, which will be sent in the "Send Email" node, where a variable has been configured to include it.

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

When configuring the "Send Email" node, you must associate this variable (right column) with the Cart Recovery URL (left column).

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

As a result, an email will be sent in this workflow to each contact containing the Cart Recovery URL.

 

 

Congratulations!
You have reached the end of the lesson.

  

Do you still have unresolved questions?
Remember that you have access to our Connectif specialists. To contact them, simply open a support ticket by clicking the blue "Help" button on your dashboard.


Keep learning!

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

Questo articolo ti è stato utile?
Utenti che ritengono sia utile: 0 su 0