Fo r onematrix item, the image of the item is not changing according to the selection of the matrix option on the PDP page.
In this case we have to check three scenarios mainly related to the default fucntionality
check the pattern for image on the website setup record.
- Go to Commerce > Websites > Website List.
- Click Edit next to your website name.
- Click the Images subtab.
- In the Image Domain field, select the domain you want to use.
- In the Image Folder field, select the path to the images folder (Web Site Hosting Files : Live Hosting Files : images).
- Click Save.
Follow the pattern to save the image in filecabinet using that naming format
Then we have to configure the
Multi-image options connect an image with a specific item matrix option and show that image when users select the option.
The multi-image options feature only works with matrix items. See Matrix Items for instructions on how to set up matrix items. You can set up multi-image for each transaction item option you created during Setting Up Custom Transaction Item Options.
To configure multi-image options:
- Go to Commerce > Websites > Configuration.
- Select the website and domain you want to configure.
- Go to the Shopping Catalog subtab and Multi-Image Option sublist.
- In the Multi-Image Option field, enter the ID of the custom transaction item option to trigger the multi-image option. You can add one or more options to make them available on your website.
- To find the ID on the record for the custom transaction item option, Go to Customization > Lists, Records, & Fields > Transaction Item Options
- Click Add after entering each ID.
- Click Save.