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.
In The Article
Customize the button label
Go to Dotstore Plugins > Product Sample and open the Manage Sample tab and open Basic Configuration.
- Enter your text in the Button Label field. The default label is Order a Sample.
- Click Save Changes.
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}.
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.
- In Basic Configuration, set Sample Product Type Title to Prefix or Suffix.
- Enter the text in the title field. When Prefix is selected, this field is Prefix Title. A common value is Sample.
- Click Save Changes.
If you choose Prefix and enter Sample, the cart can show the item as Sample - āYour product nameā.
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.