Product Samples Features August 12, 2025

How to Ensure Customers See Which Sample Item They Ordered

Connecting Customers to Their Sample Orders

One common challenge faced by online store owners is ensuring that customers know exactly what they ordered, especially when it comes to sample items. If your customers are reporting that they can’t see which item they ordered as a sample in their confirmation emails, don’t worry! In this guide, we’ll show you how to correct this so that product names (or at least SKUs) appear in the emails sent to customers.

Step-by-Step Instructions

To get started, you will be updating the email template associated with your Shopify store to include more detailed information about sample orders.

  1. Log in to your Shopify Admin and navigate to Settings.
  2. Select Notifications from the settings menu.
  3. Look for Order Confirmation and click on it to edit the email template.
  4. In the email editor, you will need to insert a small piece of Liquid code that adds sample order details to the email. Here’s an example of the code you should add:
{% if line.properties and line.properties["Sample of"] != blank %}
   <span class="order-list__item-variant">Sample of: {{ line.properties["Sample of"] }}</span><br/>
{% endif %}

This code checks whether a property named Sample of exists and is not blank and then displays it as part of the order details.

Where to Place the Code

You will normally place this code within a loop that processes each line item in the order. Ensure that it is placed correctly to allow the email to pull in the property from the order line.

Save Your Changes

Once you have inserted the code, save the template. It’s essential to ensure that all other parts of the email content are unaffected by this change.

Test the Changes

After saving your changes, place a test order to confirm that the sample information is displaying correctly in the order confirmation emails sent to customers.

Conclusion

By following these steps, customers will now be able to see which sample they ordered directly in their order confirmation emails. This small update can greatly enhance customer satisfaction and reduce confusion related to sample requests. Don’t hesitate to reach out if you need further assistance with customizing your Shopify store’s templates!

Related Articles