Personalized checkout and custom promotions with Shopify Scripts
I'm trying to create a for loop that list all the products in the collection and grabs the product handle and create a code that places the product handle in a url.
{% for product in collection %} <img src="{{ product.handle | prepend: 'https://arturoagutierrez/img/' | append: '.jpg' }}" > {% endfor %}
It comes out correct in the html code but the link does not make an image appear.
Very interesting! Did you find a solution? Did you check the browser console for any errors?
User | RANK |
---|---|
2 | |
2 | |
2 | |
2 | |
2 |
Transform this holiday season into a shopping spree. Plus, learn how to effortlessly open ...
By Jasonh Dec 8, 2023Make the shift from discounts to donations, and witness your business not only thrive fina...
By Holly Dec 4, 2023On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023