The 'link to cart' functionality adds an additional link to the external dynamic content block used in abandoned cart emails to display an abandoned cart's contents. Where possible, the link will take the recipient right back to where they left off on your website - but this isn’t always the case.
The different behaviours when the link is clicked are as follows:
- Registered customers who are logged in will be taken straight back to their cart. In doing so, we evaluate the contents of the customer's current quote and any missing items from the abandoned cart that are no longer in the customer's current cart (if they have one on the go) will be re-added.
- Registered customers who aren’t logged in will be taken to the customer login page and, once logged in, they will be taken to their cart – but their cart doesn’t get completed with missing items from their current quote.
- Guests with a session that’s still active will be taken straight back to their cart.
- Guests who no longer have an active session will be taken straight back to an empty cart.
Enabling link to abandoned cart
You can enable a link to an abandoned cart using the 'Link To Cart Enabled' dropdown in System > Configuration > DOTMAILER > Configuration > Abandoned Carts.
In addition to enabling the feature, we also allow you to customise the wording of the link that shows with the external dynamic content block. The default wording is 'Take me to my basket'.
It is also assumed that your site's cart URL is using the default cart URL - /checkout/cart. However you may have needed to edit this for some reason, so you can also specify the new path if this is the case.
Another assumption is that your site's login URL is using the default login URL - /customer/account/login. However, you may have needed to edit this too, so you can also specify the new path if this is the case.
Please comment underneath with any questions you may have.
The above also applies for Magento 2.0, with the only difference being that 'Link to Cart Enabled' is found by going to Stores > Configuration > DOTMAILER > Configuration > Abandoned Carts.