How Cart Share works
Cart Share is a free WooCommerce plugin that adds a Share cart button to your cart page. A shopper sends their cart as a link, and the person who opens it lands at checkout with the same products, quantities and coupons, ready to pay.
Where the button appears
On your cart page. It works with the Cart block and with the classic cart, and the plugin finds out which one your store uses. It works with block themes and with classic themes such as Storefront and Astra, and the button takes your theme's button style.
The button says Share cart, and you can change it in the settings. On a computer, it opens a share popup where the shopper copies the link or sends it to an app. On phones, it opens the phone's own share menu.
What the link contains
- Each product in the cart, with the exact variation and quantity
- Options the shopper chose for a variation set to “Any”, such as any size
- Any coupon codes used in the cart
- Tracking tags:
utm_source=cart-share, and the app it was shared to asutm_medium
Nothing else. There are no prices, names or customer details in the link. Prices come from your store on the day someone opens it. Extra product options from other plugins, such as add-ons, bundles or custom fields, don't travel in the link. A link looks like this:
https://yourstore.com/checkout-link/?products=123:2,456:1&coupon=spring10&utm_source=cart-share&utm_medium=whatsappCart Share adds no database tables. The shopper's WooCommerce session keeps the app and campaign of the link they opened, and their earlier cart, until the session ends.
What happens when someone opens it
They land at checkout with the same items and coupons in their cart. If you set Link destination to Cart in the settings, they land on the cart page instead.
On WooCommerce 10 and newer, most links use WooCommerce's own checkout link, so they keep working even if you remove Cart Share. A cart with two or more coupons, or with an option chosen from “Any”, gets Cart Share's own link to the cart page instead, because WooCommerce's link can't carry those. Cart Share's link fills the cart, shows a notice such as “Added 3 items from a shared cart.” and then sends the person on. On older WooCommerce versions, every link is Cart Share's own.
If an item has sold out or a coupon has expired, a notice says so. A sold-out item is named in the notice.
The person's own cart isn't lost. Cart Share saves it, and a notice with a Bring them back link adds those items to the shared cart. The saved items last as long as the shopper's WooCommerce session, which is two days by default for a guest.
Links work on stores with plain permalinks too.
Orders from shared carts
Each order placed from a shared link gets a private note that names the app, and the campaign if the link has one, such as “Placed from a shared cart (WhatsApp).” Orders get the note on the Checkout block and on the classic checkout.
Because every link carries utm_source=cart-share, WooCommerce's order attribution on the order shows cart-share as the source, and tools like Google Analytics show where the visit came from.
Share options
Shoppers can always copy the link. They can also send it to 12 apps, which you can turn on or off:
| On by default | Off by default |
|---|---|
| WhatsApp, Facebook, X, LinkedIn, Telegram, Threads, email and SMS | Pinterest, Reddit, Viber and Snapchat |
On phones, Share cart opens the phone's own share menu instead, so shoppers can use any app they have. To show the share popup on phones too, turn off Phone share menu in the settings.
What you need
- WordPress 6.0 or newer
- WooCommerce 8.0 or newer (10 or newer for WooCommerce's own checkout links)
- PHP 7.4 or newer
It works with:
- Cart block and classic cart
- Checkout block and classic checkout
- High-Performance Order Storage (HPOS)
Next steps
Install and set up Cart Share, or read the common questions.