WooCommerce Share Cart Extension: Cart Link Sharing Guide

Share Cart Extension
The Share Cart extension lets customers generate shareable links for their active cart items. Recipients opening the link instantly load the identical items into their own shopping cart.
Prerequisites / Requirements
- WordPress version 5.0 or higher.
- WooCommerce active on your WordPress store.
Share Cart requires the classic cart.
Step-by-Step Setup Guide
- Navigate to Woo Toolbox → Extensions and enable Share Cart.
- Choose the Share Cart button position on the cart page.
- Configure the restore rules (Clear cart on restore or merge items) and set an optional link expiration limit.
- Test the button's copy action on the cart page and verify that the link loads in an incognito browser window.
Configuration Settings Reference
| Setting Name | Description | Default Value | Options |
|---|---|---|---|
| Show on Cart | Displays the Share Cart button on the WooCommerce cart page. | On | On, Off |
| Hide when empty | Hides the share button when the shopping cart has no items. | On | On, Off |
| Button position | Position of the share button on the cart page. | Before cart | Before cart, Before cart table, After cart table, Before cart totals, After cart totals |
| Button label | Text displayed on the share button. | Share Cart | Text Input |
| Show Icon | Shows a share icon beside the button label. | On | On, Off |
| Clear on Restore | Replaces the recipient's existing cart items when they open the link. | On | On (Replace), Off (Merge) |
| Link Expiry | Days until the share link expires (0 = no expiration). | 0 | Range: 0–365 |
Shortcode / Block Usage
The Share Cart button is injected automatically into the selected cart page hook position.
Troubleshooting / FAQ
- Issue: The share link fails to copy to the clipboard. Solution: HTTPS (SSL) must be active on your web server for modern browser clipboard permissions.
- Issue: Opening the share link shows an invalid link message. Solution: Check whether the Link expiry days have elapsed or whether the shared items were deleted or marked out of stock.