Getting Started with Product Sample Plugin

After you install Product Sample for WooCommerce, enable the plugin in Manage Sample, choose the products or categories that should offer samples, and save your changes.

Shoppers will then see an Order a Sample button on those product pages, and they can add a free or paid sample to the cart.

How to get started

You install the plugin from your WordPress dashboard (or by uploading the plugin folder), then turn samples on in Manage Sample.

Step 1: Install and activate the plugin

If you have the Pro zip file:

  1. Go to WordPress Dashboard > Plugins > Add New.
  2. Click Upload Plugin, choose the plugin zip file, and click Install Now.
  3. Click Activate Plugin.

For a longer walkthrough that also covers FTP, cPanel, Multisite, and license activation, follow this detailed install and activation guide.

You can also install the free plugin, Free Product Samples for WooCommerce, from the WordPress plugin directory, or upload the free-product-sample folder to wp-content/plugins and then activate it.

Once the plugin is active, you will see Product Sample under Dotstore Plugins.

Step 2: Open the Manage Sample tab

  1. Go to Dotstore Plugins > Product Sample.
  2. Open the Manage Sample tab.

This is the main settings screen. The first section is Basic Configuration, where you turn the plugin on and set the Button Label, Sample Button Position, and Sample Button Color.

Step 3: Enable the plugin

  1. In Manage Sample > Basic Configuration, find the enable/disable toggle.
  2. Turn the toggle on. It should change from grey to green.
  3. Click Save Changes.

The plugin is now enabled. Next, choose which products should show a sample button. Enabling the plugin alone does not add the button to every product.

Step 4: Choose products or categories and set the button label

  1. Go to the Sample Specific section.
  2. Set Enable Type to Product Wise to select individual products, or Category Wise (Pro) to enable samples for one or more categories.
  3. Select the products or categories that should offer samples.
  4. In Basic Configuration, set a Button Label if you want custom text on the sample button. To show the sample price on the button, include {PRICE} in the label.
  5. Choose where the button appears with Sample Button Position (for example, Before Add To Cart), and set its text and background colors in Sample Button Color.
  6. Click Save Changes.

You can also enable or disable samples for a single product from the product edit screen. Open the product, go to the Sample Product tab, and use Enable sample.

Step 5: Save your changes and check a product page

Open one of the products you selected on the storefront. You should see an Order a Sample button next to Add to cart.

Product page for Juliana Short-Sleeve Tee with an Order a Sample button next to Add to cart
Figure - A product page showing the Order a Sample button after the plugin is set up

If the button is missing, confirm that the plugin is enabled, that the product (or its category) is selected in Sample Specific, and that the button is not hidden for that page or for the customer’s user role.

Pro Tips

  • Complete Basic Configuration and Sample Specific before you advertise samples, so the button is already visible on the products you intend to offer.
  • Set a quantity limit before launch so customers cannot add more samples than you want to send.
  • Add a prefix such as Sample - in Basic Configuration so samples are easy to recognize in the cart and in orders (Pro).
  • If you only want the button on the product page, turn on Hide on Shop Page and Hide on Categories Page.
  • After a basic setup is working, you can add a sample price, shipping or tax class, and user-role rules from the other settings sections.

Common Use Cases

Here are some popular ways to start with the plugin:

1. Get the first sample button live

Enable the plugin, select one or two products in Sample Specific, save, and confirm that Order a Sample appears on those product pages.

2. Offer samples for a new collection

In Pro, choose Category Wise and select the new collection’s category so every product in that category gets a sample button.

3. Show the sample button only on the product page

Keep the button on single product pages, and hide it on the shop and category pages from Basic Configuration.

FAQs

1. Where do I find the plugin settings after I activate it?

Go to Dotstore Plugins > Product Sample. The main screen is the Manage Sample tab, starting with Basic Configuration.

2. I enabled the plugin, but I do not see the sample button. Why?

Enabling the toggle in Basic Configuration turns the plugin on, but you also need to select products or categories in the Sample Specific section (or enable the sample on the product’s Sample Product tab) and click Save Changes. Also check that Hide on Shop Page or Hide on Categories Page is not hiding the button on the page you are viewing, and that the customer’s user role is allowed to see it.

3. Do I need the Pro version to get started?

No. You can install the free plugin from WordPress.org and enable samples for selected products. You need Pro if you want category-based samples, percentage pricing, a prefix or suffix on the sample title, user-role targeting, shipping and tax classes, per-product sample settings, separate sample stock, or follow-up emails.

4. How do I install the plugin if I cannot upload a zip in the admin?

Upload the extracted plugin folder to wp-content/plugins by FTP or cPanel, then activate it under Plugins > Installed Plugins. The full steps are in the install and activation guide.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.