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.

Steps

  1. Go to Dotstore Plugins > Product Recommendation Quiz, open the wizard, and edit the question that should show image options.
  2. In Manage Options, expand the option (or click Add New Option). Enter the Options Title.
  3. In Options Image, click Upload File and choose an image. Use Remove File if you need to clear it.
  4. Fill in Attribute Name (the attribute slug) and Attribute Value, then click Save.
  5. Preview the page that contains the wizard shortcode. Shoppers will see the image with each option.
Manage Options form with an Options Image for the Male option
Figure - An earlier Manage Options form for an option titled Male, with Options Image highlighted, Attribute Name shown as a Gender dropdown, Attribute Value Male, a Female option below, and an Update button. In the current admin, Attribute Name is a text field with the placeholder Please type attribute slug, and the button is Save.
Storefront quiz with Male and Female image options
Figure - The storefront quiz asking Which type of Product you want to search? with Male and Female image options, a RESTART control, and a Next button

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.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.