How to Customize Product Sample Pages?

You can customize how samples appear in your store from Basic Configuration on the Manage Sample tab.

Set the Button Label for the sample button, and choose a prefix or suffix for the sample product title so customers can tell a sample from the full product in the cart.

Customize the button label

Go to Dotstore Plugins > Product Sample and open the Manage Sample tab and open Basic Configuration.

  1. Enter your text in the Button Label field. The default label is Order a Sample.
  2. Click Save Changes.
Basic Configuration with the Button Label field for the sample button
Figure - Button Label setting in Basic Configuration

Show the sample price on the button

To show the sample price on the button, include the {PRICE}  code in the Button Label. For example, you can use a label such as Order a Sample - {PRICE}.

Product page sample button showing a custom label that includes the sample price
Figure - A product page with a custom sample button label

Add a prefix or suffix to the sample title

You can add a prefix or suffix to the sample product title so it is easy to recognize in the cart, checkout, and order details.

  1. In Basic Configuration, set Sample Product Type Title to Prefix or Suffix.
  2. Enter the text in the title field. When Prefix is selected, this field is Prefix Title. A common value is Sample.
  3. Click Save Changes.

If you choose Prefix and enter Sample, the cart can show the item as Sample - ā€œYour product nameā€.

Basic Configuration showing Sample Product Type Title set to Prefix and Prefix Title set to Sample
Figure - Sample Product Type Title and Prefix Title settings
Cart page showing a sample product with a custom Sample prefix on the product title
Figure - A sample product in the cart with a custom prefix

Pro Tips

  • Keep the Button Label short and clear so it is easy to read next to Add to cart.
  • Use {PRICE}  in the label when you charge for samples, so customers see the sample price before they click.
  • A prefix such as Sample helps your team tell sample items from full products in orders.
  • You can also change the sample button color and, if needed, enable Sample Button Advanced Styles in Basic Configuration.

Common Use Cases

Here are some popular ways to customize sample pages:

1. Use a custom call-to-action

Change Button Label to text that matches your store, such as a try-before-you-buy phrase, instead of the default Order a Sample.

2. Show the sample price on the button

Add {PRICE}  to the Button Label so the button displays the current sample price.

3. Make samples obvious in the cart

Set Sample Product Type Title to Prefix and Prefix Title to Sample so every sample line in the cart starts with Sample.

FAQs

1. Where do I change the sample button text?

Go to Dotstore Plugins > Product Sample and open the Manage Sample tab, open Basic Configuration, and edit the Button Label field.

2. How do I show the sample price on the button?

Include the {PRICE}  code in the Button Label.

3. How do I add ā€œSampleā€ in front of the product name in the cart?

In Basic Configuration, set Sample Product Type Title to Prefix and enter Sample in Prefix Title, then click Save Changes.

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