Introduction of Product Sample Plugin
The Product Sample for WooCommerce plugin lets you offer a free or paid sample so shoppers can try a product before they buy the full size.
You can add an Order a Sample button to product pages, choose which products (and, in Pro, which categories) offer samples, and control the sample price, quantity limits, and who can see the button.
When a customer adds a sample, it appears in the cart as a separate sample item, with a prefix or suffix you can set, and it is identified as a sample in the order details.
In The Article
What you can do with Product Sample for WooCommerce
The plugin adds a sample button next to the normal Add to cart button. Shoppers can order a sample without purchasing the full product in the same action.
With this plugin, you can:
- Enable or disable samples from Manage Sample > Basic Configuration
- Set a custom Button Label for the sample button (you can include {PRICE} in the label to show the sample price)
- Choose the sample button position (for example, before Add to Cart) and its text and background colors
- Enable samples for specific products, or for all products you select, in the Sample Specific section
- Hide the sample button on the shop page or the categories page, or add a Sample Products item to your store’s primary menu with Include on Store Menu
- Offer samples for free, or charge a sample price
- Limit how many samples a customer can order, per sample or per order, and show a message when they reach that limit
- Enable Ajax Add to Cart so samples can be added without a full page reload
These options are also listed as Pro features on the WordPress.org plugin page and on the Product Sample product page:
- Pro: Enable samples Category Wise as well as Product Wise
- Pro: Set a sample Price Type of Percentage or Flat in the Price Adjustment section, and set a per-product Sample price on the product’s Sample Product tab
- Pro: Add a prefix or suffix to the sample product title (for example, Sample -), which appears in the cart, checkout, order details, My Account, and emails
- Pro: Restrict who can see the sample button by user name or user role in User Specific, using the User Based and User Role Based fields
- Pro: Apply a shipping class and tax class to samples in Shipping & Tax Class Specific settings, or on the individual product
- Pro: Set a maximum quantity for an individual product with Allow Max Quantity on the Sample Product tab (this overrides the global per-sample limit)
- Pro: Manage sample stock separately from the full product
- Pro: Stop customers from adding both a sample and the full-size product in the same cart
- Pro: Send a follow-up email after a sample order
- Pro: Promote samples with a promo button in the Sample Promo section, attach files to samples, convert a sample order to a regular order, and set additional sample order limits
A free version, Free Product Samples for WooCommerce, is available on WordPress.org. It covers the core options: enable or disable samples, a custom button, samples for selected products, show or hide the button on shop and archive pages, a free or paid sample, quantity limits with a custom message, and Ajax Add to Cart. Category-based samples, percentage pricing, prefixes or suffixes, user-role targeting, shipping and tax classes, per-product settings, separate sample stock, and follow-up emails are Pro features.
How a sample order works
Once samples are enabled for a product, the product page shows an Order a Sample button next to Add to cart.
When the customer clicks the button, the sample is added to the cart. If you have set a prefix, the success notice uses that label. In the example below, the item is added as Sample - Adrienne Trek Jacket.
If the customer tries to order more samples than your limit allows, they see an error message. You can customize this message in the sample quantity settings. In this example, the message is: Sorry! you reached maximum sample limit for this product!
In the cart, the sample is listed as its own line item. The title can include your prefix or suffix, and the price is the sample price you set, not the full product price. Shipping can also use a sample shipping class, such as a sample flat rate.
After checkout, the order details identify the item as a sample. In this example, the line shows PRODUCT_TYPE: Sample and SAMPLE_PRICE: $5.00, and shipping can use a sample shipping method.
How to get started
You manage the plugin from the Manage Sample tab.
- Go to Dotstore Plugins > Product Sample.
- In Manage Sample > Basic Configuration, enable the plugin and click Save Changes.
- In the Sample Specific section, set Enable Type to Product Wise or Category Wise (Pro), then select the products or categories that should offer samples, and set a Button Label if you want custom button text.
- Click Save Changes, then open a selected product on the storefront and confirm that the sample button appears.
For the full install and enable steps, see Getting Started with Product Sample Plugin.
Pro Tips
- Enable the plugin in Basic Configuration first, then select products or categories in Sample Specific. Enabling the plugin alone does not add a sample button to every product.
- Set a per-sample or per-order quantity limit before you launch, so customers cannot order more samples than you are willing to fulfill.
- Add a clear prefix such as Sample - so your team and your customers can tell a sample from the full product in the cart, checkout, and order details.
- If you only want the sample button on the single product page, use Hide on Shop Page and Hide on Categories Page in Basic Configuration.
- To offer a free sample, set the sample fee to zero. To charge a flat amount or a percentage of the product price, use Price Adjustment (percentage pricing is a Pro feature).
- Use User Specific (User Based or User Role Based) when you want only certain customers or roles, such as reviewers or subscribers, to see the sample button (Pro).
- If samples should ship or tax differently from full products, assign a sample shipping class and tax class rather than using the full product rates (Pro).
Common Use Cases
Here are some popular ways store owners use the plugin:
1. Promote a new product range
Enable samples for a new collection so customers can try an item before they commit to the full product.
2. Let reviewers or resellers try a product
Use user or user-role targeting (Pro) so only selected accounts, such as reviewers or resellers, see the sample button.
3. Offer a free or low-cost trial size
Set the sample price to zero for a free sample, or charge a flat fee or a percentage of the full price so customers can try the product at a lower cost.
4. Limit how many samples each customer can order
Set a per-sample or per-order quantity limit, and show a custom message when a customer reaches that limit.
5. Follow up after a sample order
In Pro, send a follow-up email after a sample order to ask for feedback or invite the customer to buy the full product.
FAQs
1. Do I have to offer samples for every product?
No. In the Sample Specific section, you can enable samples for selected products. In Pro, you can also enable them Category Wise. You can also enable or disable samples for an individual product on its Sample Product tab.
2. Can I offer free samples, or charge for them?
Yes. Set the sample fee to zero to offer a free sample. To charge for a sample, use the Price Adjustment section and choose a Price Type of Flat or Percentage. Percentage pricing, and a different sample price for each product, are Pro features. The free plugin can charge a global sample fee.
3. Can I limit how many samples a customer can order?
Yes. You can set a maximum quantity per sample and a maximum quantity per order, and you can customize the message customers see when they reach the limit. On an individual product, Allow Max Quantity on the Sample Product tab overrides the global per-sample limit.
4. Can I show the sample button only on the single product page?
Yes. In Basic Configuration, use Hide on Shop Page and Hide on Categories Page to remove the sample button from the shop and category (archive) pages.
5. Can I restrict samples to certain customers or user roles?
Yes, in Pro. In User Specific, you can limit sample button visibility by user name (User Based) or by user role (User Role Based).
6. Where do I find the plugin settings?
Go to Dotstore Plugins > Product Sample and open the Manage Sample tab. Per-product options, such as Enable sample and Sample price, are on the product edit screen under the Sample Product tab.
7. Does the plugin work with variable products?
Yes. The plugin works with simple and variable products. You can enable samples from the product page, and Pro includes settings for managing samples at the variation level.