Customer File Upload - Not Showing in Cart

New Member
1 0 0

Hello! I have a product with multiple customization fields: Name, Address and House Photo--which is a file upload. It appears correctly on the product page but does not show up in the shopping cart.

 

Here is the relevant code from the product page:

 

Screen Shot 2019-11-15 at 2.48.04 PM.png

 

But I can't figure out where the issue is in my code to have it appear in the cart.

Given my limited knowledge, I'm not sure if it's my code or the limitations of the theme I am using.

 

This is from cart.liquid

 

Screen Shot 2019-11-15 at 2.49.02 PM.png

 

I am using "Simple" theme with customizations. Thanks!

0 Likes
Shopify Expert
2461 414 519

Hi @Sara123 

Change code as per bellow:

 

 {% if p.first == 'Photo' %}
          {{ p.first }}:
         <a href="{{p.last}}" target="_blank"><img style="vertical-align: middle;width: 100px;" id="cart_breed" src="{{p.last}}"></a>
   <br />
 {% else %}
     //your existing code
 {% endif %}

Note: Change Photo to your image property. 

 

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com
Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
1 Like