Display file upload details in the cart

Displaying the file upload details in the cart is a great way to assure your customers that they have uploaded the file correctly, and that you will receive it once they purchase the item. Follow the steps below to get started.

Getting Started...

1. Starting from your Shopify admin, click on Online Store, then click on Themes.

2. Find the theme you want to edit, click the  ... button, then click Edit HTML/CSS.

3. On the left side, under the Templates heading, click on the cart.liquid file.

If your theme's cart.liquid file doesn't contain much code, it may pointing to a different file. In most cases, the code will be located under the Sections header within the cart-template.liquid file.

4. Locate the product's title by searching for either  item.title or item.product.title.

5. Copy and paste the following code snippet below your product title or variants.

{% for p in item.properties %}
	{% unless p.last == blank %}
		{{p.first}}:
		{% if p.last contains '//uploadery.s3' %}
			<a href="{{ p.last }}">Link to your file</a>
		{% else %}
			{{ p.last }}
		{% endif %}<br />
	{% endunless %} 
{% endfor %}

Product variants tend to appear below the product title. They can be found by looking for {{ item.variant.title }}.

6. Save your changes.

Below is in example. Placement will vary depending on your theme. 

If you need help getting this set up, feel free to contact our support team. We'd be happy to help out! 

Still need help? Contact Us Contact Us