Skip to main content
Solved

Photos are not appeaing in cart abandonment emails and the whole block is missing in mobile view

  • September 19, 2023
  • 2 replies
  • 171 views

Forum|alt.badge.img+2

Hi I’m setting up an abandoned cart flow, and now I have this issue where the abandoned cart product images are not showing, but the link is working (like you can click the place where the image should be and it’ll go to the right product).

I’ve tried the suggestions by another similar post, but it didn’t work. My configurations are these.

And the configuration I used for the image is this one found from the other post:

{% if item.product.variant.images.0.src %}{{item.product.variant.images.0.src}}{%else%}{{item.product.images.0.src|missing_product_image}}{%endif%}

 

Another problem is that when I switch to mobile view, nothing is there.

 

I really need help with this. Does anyone know how to deal with this?

Also, thanks for reading the post. 

Best answer by iamoscar

@VanessaTeng try this:

-In row collection change to: event.extra.line_items
-In the image dynamic url, add: {{ item.product.images.0.src|default:'' }}

 

 

regarding the mobile visualitation, I recommend checking this part of the table menu:


Hope this helps!

-Oscar

View original
Did this topic or the replies in the thread help you find an answer to your question?

2 replies

iamoscar
Partner - Platinum
Forum|alt.badge.img+2
  • Partner - Platinum
  • 4 replies
  • Answer
  • September 19, 2023

@VanessaTeng try this:

-In row collection change to: event.extra.line_items
-In the image dynamic url, add: {{ item.product.images.0.src|default:'' }}

 

 

regarding the mobile visualitation, I recommend checking this part of the table menu:


Hope this helps!

-Oscar


Forum|alt.badge.img+2
  • Author
  • Contributor I
  • 1 reply
  • September 19, 2023

Hi @iamoscar Thank you so much for your reply, but after implementing the changes, nothing was showing in the desktop version. Even the Product name disappeared. And now in the preview it’s not showing anything in any part. 

 

Also, how do I check the columns? I noticed that when click on mobile for both columns, the entire thing disappears. Thanks again.