How can I set a limit to the images (variants) shown in a product?

Highlighted
New Member
1 0 0

I have a shop and in every product that I have a lot of images with variants, the images are shown one under the other and i dont like how it looks because its too long and the arrows are in the center of the pictures.

 

I want to limit the images to 3 and I done it adding this code.

{% for image in product.images limit:3 %}

 

but then you cant see the other variants images choosing any variant and the arrows disappears too.

 

Thats how it looks without the line code:

 

Sin título.png

0 Likes

Hello 

Please share your site url.

Want to modify or incorporate custom changes on store, Hire us.
If helpful then please Like and Accept Solution .
Email: pallavi@oscprofessionals.com
Skype : oscprofessionals-87
Custom Shopify Private App | Custom Theme Development | Custom Modifications In To Shopify Theme | Digital Marketing | Site Speed Optimization | Web Development
0 Likes