Share Your Purchase for WooCommerce

Overview

↑ Back to top
Share Your Purchase for WooCommerce lets customers share products from their completed orders directly from the WooCommerce Thank You page. After checkout, customers see a section displaying the products they purchased, along with sharing buttons for the services you have enabled. This gives satisfied customers a convenient way to recommend products to friends, family, and their social networks. The extension supports X, Facebook, Pinterest, Tumblr, Gmail, WhatsApp, and Telegram. You can customize the section heading, button labels, sharing message, and individual button colors. Customers do not need to create an account or connect their social media profiles to your store. Sharing is initiated by the customer when they click a button.

Installation

↑ Back to top
  1. Download the extension ZIP file from your WooCommerce.com account.
  2. In your WordPress dashboard, go to Plugins > Add New Plugin > Upload Plugin.
  3. Select the ZIP file and click Install Now.
  4. Click Activate Plugin.
Once activated, the extension adds its settings to WooCommerce. No API keys, social media developer accounts, or additional integrations are required.

Setup and Configuration

↑ Back to top
After installing and activating Share Your Purchase for WooCommerce, go to WooCommerce > Settings > Products > Share Your Purchase to configure the extension. The settings are organized into sections for sharing content, X options, sharing services, button appearance, and a live preview.

Sharing Content

↑ Back to top
Customize the text displayed on the WooCommerce Thank You page and included in sharing actions.
  • Call to action: Set the heading displayed above the sharing section.
  • Button text: Customize the text displayed on sharing buttons. Use the %net% placeholder to automatically insert the name of each sharing service.
  • Share message: Define the message included when customers share their purchase. Some services handle this text differently; Facebook does not display the custom message.

X Options

↑ Back to top
Configure additional information for shares on X (formerly Twitter).
  • X username: Enter your account username if you want it mentioned in shares.
  • X hashtags: Enter comma-separated hashtags to include in X posts.
Both fields are optional.

Sharing Services

↑ Back to top
Choose which sharing services are available to customers:
  • X (Twitter)
  • Facebook
  • Pinterest
  • Tumblr
  • Gmail
  • WhatsApp (mobile only)
  • Telegram (mobile only)
Enable or disable each service independently using its checkbox. Each service also has a customizable button color. Use the color picker or enter a hexadecimal color value to match your store’s branding. WhatsApp and Telegram buttons are displayed only on mobile devices. For Gmail, the configured share message is used as the email subject.

Button Appearance

↑ Back to top
Customize the appearance and spacing of the sharing buttons.
  • Border radius: Adjust the roundness of button corners, from 0 to 40 pixels. Select Theme default to use the default styling instead. A value of 0 creates square corners.
  • Button spacing: Set the vertical space between sharing buttons, from 0 to 40 pixels. The default is 12 pixels.
Both settings provide sliders and numeric inputs for precise adjustments.

Live Preview

↑ Back to top
The Live Preview section lets you see how your sharing buttons will look while configuring the extension. Use the Desktop and Mobile controls to switch between the two layouts. The preview updates automatically as you edit the call-to-action heading, button text, enabled sharing services, button colors, border radius, and spacing. The mobile preview also includes WhatsApp and Telegram when enabled. Important: The preview is for visual guidance. Changes are not applied to your store until you click Save changes.

Saving Your Settings

↑ Back to top
Once you have configured the sharing options and checked the preview, click Save changes. The enabled sharing buttons will appear on the WooCommerce Thank You page after a customer completes a purchase.

Usage

↑ Back to top

How Customers Share a Purchase

↑ Back to top
Once the extension is configured, its sharing section appears automatically on the WooCommerce Thank You page after a customer completes an order containing products with valid product URLs. The section displays:
  • The call-to-action heading configured by the store administrator.
  • The purchased products, including their names, images when available, and short excerpts of their descriptions.
  • Sharing buttons for the enabled services available on the customer’s device.
To share a purchase, the customer simply clicks a sharing button. The selected service opens in a new browser tab or window, where the customer can review and complete the sharing action. Customers remain in control of whether they publish or send anything. Clicking a button does not automatically publish content to their social media account.

Orders Containing Multiple Products

↑ Back to top
When an order contains multiple products, the extension displays them together in the sharing section. The sharing buttons generate a link to a product from the order rather than a public link to the entire order. In the current version, this link corresponds to the last product processed from the order. Order numbers, customer details, and other private order information are not included in the generated sharing links.

Desktop and Mobile Devices

↑ Back to top
The sharing section adapts to different screen sizes. Button labels can wrap when necessary, and the layout accommodates narrower screens. WhatsApp and Telegram are mobile-only sharing options. If you enable only these services, customers viewing the Thank You page on desktop computers will not see their sharing buttons.

How Sharing Content Works

↑ Back to top
The content passed to each service depends on the options supported by that service.
  • X: Uses the configured sharing message and product URL, with optional username attribution and hashtags.
  • Facebook: Uses the product URL. Facebook determines the preview and does not accept a predefined post message from the extension.
  • Pinterest: Uses the product URL, product image when available, and configured sharing message.
  • Tumblr: Uses the product URL, sharing message, and product description excerpt.
  • Gmail: Uses the configured sharing message as the email subject. The email body contains the product URL followed by a description excerpt when available.
  • WhatsApp: Uses the configured sharing message and product URL.
  • Telegram: Uses the configured sharing message and product URL.
The extension uses standard sharing interfaces provided by the respective services. The appearance of sharing dialogs, generated previews, and available actions may change independently of the extension.

Languages and Translations

↑ Back to top
Share Your Purchase for WooCommerce is translation-ready and includes translations for Spanish, French, German, and Italian, in addition to its original English interface. The extension automatically uses the language configured in WordPress, when a translation is available. Administrators can also use their preferred language through their WordPress user profile.

Multilingual websites

↑ Back to top
The extension can be used on multilingual WordPress websites. Interface strings can be translated using standard WordPress localization tools. Customizable frontend texts, such as button labels, headings, and sharing messages, can be translated for each language through the string translation functionality of your multilingual plugin, provided those settings are registered or exposed for translation. This allows customers to see sharing messages in their preferred language without requiring separate configurations for each language.

Frequently Asked Questions

↑ Back to top

Do customers need a social media account?

↑ Back to top
Customers do not need to connect an account to your WooCommerce store. However, the selected sharing service may require them to sign in before publishing or sending content.

Does sharing happen automatically after checkout?

↑ Back to top
No. The extension displays sharing buttons on the Thank You page, but customers must choose a service and complete the sharing action themselves.

Can I choose which social networks are displayed?

↑ Back to top
Yes. Each supported service can be enabled or disabled independently from the extension settings.

Can I customize the button labels?

↑ Back to top
Yes. Use the Button text setting to change the labels. Include %net% wherever you want the service name to appear.

Can I customize the sharing message?

↑ Back to top
Yes. Use the Share message setting. The message is included where supported by the destination service. Facebook does not allow the extension to prefill a customer’s post.

Why are WhatsApp and Telegram buttons not visible on desktop?

↑ Back to top
These services are intentionally limited to mobile devices in the current version of the extension.

Does Gmail require an email application installed on the customer’s device?

↑ Back to top
No. The Gmail button opens Gmail’s web interface. Customers may need to sign in to their Google account before composing or sending the message.

Can I change the colors of individual buttons?

↑ Back to top
Yes. Each service has an independent color setting in the extension’s configuration page.

Does the extension require social media API keys?

↑ Back to top
No. The extension uses the sharing interfaces provided by the supported services. No API keys or social media developer accounts are required.

Does the extension share private order information?

↑ Back to top
No. Generated sharing links refer to public product pages. They do not include private customer information or order details.

Troubleshooting

↑ Back to top

The sharing buttons are not displayed

↑ Back to top
Check the following:
  1. Make sure the extension is installed and activated.
  2. Go to WooCommerce > Settings > Products > Share Your Purchase and verify that at least one sharing service is enabled.
  3. Click Save changes after updating the settings.
  4. Test with a completed order on the WooCommerce Thank You page.
  5. If you have enabled only WhatsApp or Telegram, test from a mobile device.
  6. If your store uses a customized Thank You page, check whether it preserves the standard WooCommerce order confirmation hooks.

The sharing preview does not show the expected image or description

↑ Back to top
Social networks may generate previews using the metadata available on the product page. Make sure the product has a valid public URL, appropriate image, and relevant metadata. Some services cache previews, so changes to product information may not appear immediately.

The sharing message does not appear on Facebook

↑ Back to top
This is expected. Facebook does not allow the extension to prefill the text of a customer’s post. Facebook determines the available sharing interface and preview content.

Gmail opens but the customer cannot send the message

↑ Back to top
Make sure the customer is signed in to Gmail. The extension prepares the email draft, but sending the message is handled by Gmail.

The sharing section is missing from a custom Thank You page

↑ Back to top
Share Your Purchase integrates with the standard WooCommerce order confirmation process. Custom Thank You page implementations that replace or omit the relevant WooCommerce hooks may prevent the section from appearing. Check the compatibility of your custom Thank You page solution with standard WooCommerce hooks.

Support

↑ Back to top
If you need assistance with installation, configuration, or unexpected behavior, please contact the extension’s support team through your WooCommerce.com account. When reporting an issue, include your WordPress and WooCommerce versions, the enabled sharing services, and a description of the behavior you are experiencing. Screenshots can also help when reporting display issues.

Related Products

WooCommerce Subscriptions is a WooCommerce extension that lets customers subscribe to your products or...

Offer add-ons like gift wrapping, special messages or other special options for your products.

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.