How to add an images as option
Each answer in a Product Recommendation Quiz wizard can show an image next to the option title. Use this when a picture helps shoppers choose, such as Male and Female for a gender question.
The steps below use the current admin: Dotstore Plugins > Product Recommendation Quiz, then Manage Options on the question. The screenshots are from an earlier form, and the captions describe what they show.
In The Article
Steps
- Go to Dotstore Plugins > Product Recommendation Quiz, open the wizard, and edit the question that should show image options.
- In Manage Options, expand the option (or click Add New Option). Enter the Options Title.
- In Options Image, click Upload File and choose an image. Use Remove File if you need to clear it.
- Fill in Attribute Name (the attribute slug) and Attribute Value, then click Save.
- Preview the page that contains the wizard shortcode. Shoppers will see the image with each option.
Pro tips
- Use the same image size and crop for every option in a question so the row lines up on the front end.
- The image is optional. Leave Options Image empty when a text label is enough.
- In Wizard Settings (the gear icon), How many options item display in a one row? controls how many options appear in each row. That label comes from the existing documentation screenshot and was not in the current admin screenshots provided for this update.
Common Use Cases
1. Gender or style choices with photos
Add images to Male and Female options, or to style options such as casual and formal, so shoppers can tap a picture instead of reading only a label.
2. Color or finish options
Upload a swatch or product photo for each color or finish so the choice is clear before the quiz filters the catalog.
FAQs
Where do I upload the image?
On the question’s Manage Options form, use Options Image, then Upload File or Remove File.
Do I still need an attribute value if I add an image?
Yes. The image is for display. Attribute Name and Attribute Value are what the quiz uses to match products.