So I started customizing the community theme and the way combination images are managed on the product page left me pretty confused. The problem is that i assumed the thumbslist would contain the images that are being associated with the selected combination, but actually it just displays all images of the product and the association between images and combination isn't used anywhere.
I ended up modifying the product.tpl so that only main combination images are displayed and then I wanted to add a second list for the associated images, but I can't find a way to get the image urls without them being in the DOM in the first place.
So before I start adding a hidden list or something of that sort, is there a better way of getting image urls in the product.js than through DOM elements?
Question
rand0m
So I started customizing the community theme and the way combination images are managed on the product page left me pretty confused. The problem is that i assumed the thumbslist would contain the images that are being associated with the selected combination, but actually it just displays all images of the product and the association between images and combination isn't used anywhere.
I ended up modifying the product.tpl so that only main combination images are displayed and then I wanted to add a second list for the associated images, but I can't find a way to get the image urls without them being in the DOM in the first place.
So before I start adding a hidden list or something of that sort, is there a better way of getting image urls in the product.js than through DOM elements?
15 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now