Share Shopping Cart
Overview
The Share Cart functionality allows a customer to send an email to their friends with a link which loads a replica of their shopping cart.
To enable, navigate to Web Settings > Cart Settings > Shopping Cart Settings and update the below settings:

Show Share Cart Button
When Show Share Cart Button is set to Yes, the Share Cart option will be available on the Order Summary page.
Share Cart Button will appear on the Cart Page at the top of the cart.

Remove Existing Items From Shared Cart
When set to Yes, any items in the customers shopping cart will be cleared when they access a shared cart through the link.
This does not affect items in the cart being shared. But it will clear the cart of the customer who is clicking the link.
What it looks like
Clicking the Share Cartbutton will load a form where the customer may enter up to 10 email addresses (comma separated).
Share Cart Email
The Shared Shopping Cart email has its own template, which you can edit in Settings > Emails. Open the Share Cart email to change its design, sender and pricing settings.
| Setting | What it does |
|---|---|
| Enabled | When set to No, no share emails are sent. |
| Email Sender | The store email address the email is sent from. |
| Email Template | The template used. Assign your own copy to customize the layout. |
| Send Email Copy To | Comma-separated addresses that receive a copy of every shared cart. |
| Send Email Copy Method | Bcc or a separate email. |
| Show Prices in Share Cart Email | Shows each item's price and row total. |
| Show Cart Totals | Shows the Subtotal, Discount and Grand Total. Only applies when prices are shown. |
To turn off Share Cart, set Show Share Cart Button to No in Web Settings > Cart Settings > Shopping Cart Settings. Setting Enabled to No stops the email, but the button stays visible unless you hide it too, which can confuse customers.
Prices follow the sharing customer's price restrictions and the cart's tax display settings. If any item's price is hidden for that customer, the restriction message shows in its place and the cart totals are hidden.
Template Variables
These are available under Browse Variables in the template editor:
| Variable | Value |
|---|---|
{{var product_grid}} | Items table with prices and totals |
{{var share_cart_url}} | Link that loads the shared cart |
{{var sender_from_info}} | Name and email of the customer who shared the cart |
{{var cart_items_count}} | Number of items |
{{var cart_subtotal}}, {{var cart_discount}}, {{var cart_grand_total}} | Formatted totals. Empty when totals are hidden. |
cart_comments | The cart's Order Comments the customer can see, newest first. Use it with {{depend}} and {{foreach}}, as shown below. |
Adding Order Comments to a custom templateNew templates include the cart's Order Comments. If you saved a custom copy before this change, insert the comments block from Browse Variables, or paste:
{{depend cart_comments}}<p><strong>Comments:</strong>{{foreach cart_comments as comment}}<br><span style="white-space:pre-line;">{{var comment.comment}}</span>{{/foreach}}</p>{{/depend}}
Updated 12 days ago
