Boundless Theme - different image featured on product page vs. collection page

w-works
Tourist
15 0 3

Using free Boundless theme and looking to have the first image uploaded for a product continue to be the image featured on collection pages, BUT if/when we have uploaded more than one image for a product, we would like the last image uploaded to be the featured image on that product page.  Need this as the images we use on our collection pages are illustrative, but actual designs need to be the featured image when clicking through to each product page.  I imagine this should be a relatively quick fix for a developer.  Help me out Shopify peeps (this is your theme)? Thx.

0 Likes
w-works
Tourist
15 0 3

Figured out a quick workaround ... in product-template.liquid, added "offset:1" to the end of the second line in the section below.  I then had to add duplicate image (same image used on collection pages) to those products for which final designs have not yet been revealed. 

That being said, I still need an answer as this is not a fix - need second (or last) image to be featured image on product page and in shopping cart and the first image featured on collection pages and product page/cart if no other image available.

 

 

        <div class="product-slider">
          {% for image in product.images offset:1 %}
          <div class="img-wrapper img-box">
            <img class="feature-row__image" src="{{ image.src | img_url: '1024x1024' }}"/>
          </div>
          {% endfor %}
        </div>

 

 

 

0 Likes