Display file upload details in the cart page

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 Actions ▼ button, then click Edit code.

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. Do a search using the keyboard shortcuts (ctrl F or ⌘ F) for the following line.

if p.last contains '/uploads/'

5. Replace the full line you found and the next two lines with the following code snippet.

{% if p.last contains '//uploadery.s3' %}
  <a href="{{ p.last }}">Link to your file</a>
{% else %}

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