AutoraLab Cart Share: Share Cart Links for WooCommerce

By autoralab

10+ active installationsVersion 1.2.0

Add a Share cart button to WooCommerce. Shoppers send their cart by WhatsApp, email or a link, and whoever opens it lands at checkout.

Description

Cart Share is a free WooCommerce plugin by Autora Lab that lets shoppers send their cart to someone else.

One person fills the cart, another pays. The shopper taps Share cart and sends a link. Whoever opens it gets the same products, quantities and coupons, and lands at checkout. There is nothing to set up: the button is on your cart page as soon as you activate the plugin.

What you get

  • A Share cart button on your cart page, on the Cart block and the classic cart.
  • Sharing by WhatsApp, email, SMS, Telegram, Facebook or a copied link. On phones, the phone’s own share menu.
  • Links that open at checkout with the same items, chosen options and coupons.
  • A Link Generator, so you can build a cart for a customer and send it yourself.
  • A note on every order that came from a shared cart, with the app it was shared in.

How it works

  1. The shopper taps Share cart on the cart page.
  2. They copy the link or send it in WhatsApp, email, a text message or any other app.
  3. Whoever opens the link gets the same cart and lands at checkout. A notice tells them how many items were added.

Why stores add it

  • Gift lists. A shopper sends the exact gift they want, in the right size, to the person buying it.
  • Team and office orders. One person picks the items and the manager pays.
  • Selling over chat. You build the cart in the Link Generator and send it in the chat you already use.
  • Sale days. Shoppers make their lists before Black Friday and pass them on. A shared cart turns a list into an order.

The details

  • The button takes your theme’s style. On the Cart block it is an outline, so Proceed to Checkout stays the main button.
  • You choose the button label and the message sent with the link.
  • X (Twitter), LinkedIn, Threads, Pinterest, Reddit, Viber and Snapchat are there too. Turn them on in the settings.
  • The recipient’s own cart is saved when they open a link. One click brings those items back.
  • A sold-out item or an expired coupon is named in a notice, not dropped without a word.
  • The Link Generator takes products, quantities, coupons and a campaign name. Copy the link, open it, or send it by WhatsApp or email.
  • Every link carries utm_source=cart-share, so WooCommerce’s order attribution and tools like Google Analytics show where the order came from.
  • On WooCommerce 10 and newer, most links are WooCommerce’s own checkout links. They keep working even if you remove Cart Share.
  • No database tables and no requests to outside services. Scripts load on the cart page only.
  • Translation ready, accessible (WCAG 2.1 AA), and works with High-Performance Order Storage (HPOS).

What it doesn’t do

  • Extra product options from other plugins (add-ons, bundles, custom fields) don’t travel in the link.
  • A link doesn’t fix prices. Whoever opens it pays the store’s price on that day.
  • The button is on the cart page only, not on product pages or in the mini-cart.

Privacy

Cart Share adds a private note to orders placed from a shared link, naming the app and the campaign. It stores nothing personal. The shopper’s WooCommerce session keeps the app and campaign of the link they opened, and their earlier cart, until the session ends. The plugin makes no requests to outside services and adds no database tables.

Requirements

  • WordPress 6.0 or newer
  • WooCommerce 8.0 or newer (WooCommerce 10 or newer for WooCommerce’s own checkout links)
  • PHP 7.4 or newer

Documentation

Setup, every setting and the developer filters are in the Cart Share docs on autoralab.net.

Pay the people behind your products

Product Revenue Share is a WooCommerce plugin by Autora Lab that records what each collaborator earns every time their product sells: a percentage of the sale or a fixed amount per item.

Installation

  1. In your WordPress admin, go to Plugins > Add New Plugin and search for “AutoraLab Cart Share”.
  2. Click Install Now, then Activate. WooCommerce must be active.
  3. Click “See it on your cart page” in the notice that appears. The Share cart button is already there.
  4. To change the button label, the message or the apps, go to WooCommerce > Settings > Cart Share.

FAQ

How do I add a share cart button to WooCommerce?

Install and activate Cart Share. The Share cart button appears on your cart page right away, on the Cart block and on the classic cart. You can change its label and message under WooCommerce > Settings > Cart Share.

Can a shopper send their cart to someone else to pay?

Yes. The shopper taps Share cart and sends the link in any app. Whoever opens it gets the same products, quantities and coupons, and pays at checkout.

What does the person who opens the link see?

They land at checkout with the same items and coupons in their cart, and a notice such as “Added 3 items from a shared cart.” If an item has sold out or a coupon has expired, a notice says so. If you set Link destination to Cart, they land on the cart page instead.

What happens to their own cart when someone opens a shared link?

It is saved, not lost. A notice offers “Bring them back”, which adds the earlier 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.

Where does the Share cart button appear?

On the cart page only. On the Cart block it sits above Proceed to Checkout as an outline button, so checkout stays the main action. On the classic cart it sits next to Update cart. It is not shown on product pages or in the mini-cart.

Does it work with WooCommerce checkout links on WooCommerce 10 and newer?

Yes. On WooCommerce 10 and newer, most shared carts use WooCommerce’s own checkout link. Carts with two or more coupons, or with an option chosen from “Any” (such as any size), use Cart Share’s own link to the cart page, because WooCommerce’s link can’t carry those.

Does it work with the Cart block and the classic cart?

Yes. The button, the popup and the phone’s share menu work on both, with block themes and with classic themes such as Storefront and Astra. Orders get their note on the Checkout block and on the classic checkout.

Can I change the button text and the share message?

Yes. Go to WooCommerce > Settings > Cart Share. Type your own button label, then pick a message (“Here’s my cart from” and your store name, “Can you get this for me?” or “Here’s my wish list from” and your store name) or write your own.

How do I see the orders that came from shared carts?

Each order placed from a shared link has a private note, such as “Placed from a shared cart (WhatsApp).” WooCommerce’s order attribution on the order shows cart-share as the source, and tools like Google Analytics show where the visit came from.

Can I make a cart link for a customer myself?

Yes. In WooCommerce > Settings > Cart Share > Link Generator, pick products, quantities and coupons, add a campaign name if you like, and click Generate link. Then copy the link, open it to check it, or send it by WhatsApp or email.

Which apps can shoppers share to?

WhatsApp, Email, SMS, Telegram and Facebook are on by default. You can turn on X (Twitter), LinkedIn, Threads, Pinterest, Reddit, Viber and Snapchat, or turn any app off, in the settings. On phones, Share cart opens the phone’s own share menu instead, so shoppers can use any app they have.

Does it add database tables or slow down my store?

No. Cart Share adds no tables and makes no requests to outside services, and its scripts load only on the cart page. The cart travels in the link.

Can developers add their own app or change the link?

Yes. Register an app with AlCartShare\SocialMedia\ShareProviderFactory::register() and a class that implements the AlCartShare\SocialMedia\ShareProvider interface. Filters change the link (alcartshare_url, alcartshare_base_url), the message (alcartshare_text), the app list (alcartshare_social_links) and the settings (alcartshare_settings). The alcartshare_processed action runs after Cart Share opens one of its own links.

Screenshots

Changelog

1.2.0

  • The share popup is simpler. It says “Share your cart” and what the link does, puts Copy link first, and shows each app in its own color.
  • WhatsApp, Email, SMS, Telegram and Facebook are on by default. X (Twitter), LinkedIn and Threads now start off. Stores that saved their settings keep their choice.
  • On the Cart block, Share cart is now an outline button, so Proceed to Checkout stays the main button.
  • A person who opens WooCommerce’s checkout link now sees a notice such as “Added 3 items from a shared cart.”
  • Opening a shared link no longer shows older messages about the cart it replaced.
  • The Link Generator has Open link, Send on WhatsApp and Send by email.
  • The Link Generator’s product search leaves out products that need a variation picked.
  • The apps are one row in the settings, in the popup’s order. Link destination is now Checkout or Cart.
  • After activation, a notice links to your cart page and the settings. The Plugins screen has Settings and Link Generator links.
  • The Share cart icon no longer touches the label on Astra and Storefront.

1.1.0

  • Shared links with two or more coupons now apply every coupon.
  • Variations with an “Any” option, such as any size, now keep the option the shopper chose.
  • Opening a shared link now saves the recipient’s own cart, and a notice lets them bring those items back.
  • Sold-out items in a shared link are named in a notice instead of being left out with no message.
  • On phones, Share cart opens the phone’s own share menu.
  • New Button and message settings. The default button label is now “Share cart”, and the default message is “Here’s my cart from” followed by your store name.
  • Orders placed from a shared cart get a private note with the app and the campaign name.
  • The Link Generator has a campaign name field, and says when a product needs an option set.
  • Every shared link now carries utm_source=cart-share and the app as utm_medium.
  • The Share cart button now takes your theme’s button style. The popup uses your theme’s font, and its buttons are easier to tap on phones.
  • The Share cart button on the classic cart keeps working after Update cart.
  • On classic themes with the Cart and Checkout blocks, notices such as “Added 3 items from a shared cart.” now show.
  • Closing the share popup now puts keyboard focus back on the Share cart button.
  • Links work on stores with plain permalinks.
  • Tested with WordPress 7.1 and WooCommerce 11.2.

1.0.0

  • Initial release.