Hi everyone, I’m currently doing something like th...
# suitecommerce
l
Hi everyone, I’m currently doing something like this example https://developers.suitecommerce.com/show-color-option-images-on-a-product-list-page.html But the current matrix items have 2 item options, not only 1. Anyone has any idea on how to retrieve the thumbnails that represents each Matrix child, and to be clickable? Is exactly like this example, but instead of managing 1 item options should be 2 and on a single thumbnail both options. Basically represent each matrix child in one single thumbnail.
or maybe anyone know if there is any object that already pulls all the item options and the combinations available?
k
@LC, to be able to filter the images using two item options requires adding the item option values separated by the structure delimiter to the image filename. Text case matters. For example if the item option is “blue”, use blue and not Blue in the image filename. Here is an example of a filename with two item options. Item Identifier: AB1234 1st item option value: blue 2nd item option value: plaid Item ID Delimiter: _ Structure Delimiter: - Image filename would look like this: AB1234_blue-plaid-01.png
l
But I’m not trying to setup the gallery images. I need to create a new section on the product detail page with thumbnails (not the gallery images) where you can click each thumbnail and it autopopulates the Item option 1 and the item option 2
k
@LC, I see. I didn’t understand. I am not familiar with the feature you are referring to.