Support

Account

Home Forums Front-end Issues Showing image based on value selected option (ACF Pro + Elementor)

Unread

Showing image based on value selected option (ACF Pro + Elementor)

  • Hi everyone,

    I’m using ACF Pro + Elementor Pro + Woo and trying to find a way to show a specific image on a product page (and a custom archive page) based on an option selected using ACF on the product admin page, but struggling to find any way to do it. I’m assuming is should be fairly simple i.e. enter the URL of the image as the value for the options perhaps, but I haven’t written code before so was hoping it would be possible using the native Elementor UI. I can display text from a field created by ACF but not a related image.

    To confirm;
    I have created new field in ACF to display a list of radio buttons on the product page (add/edit) and also a select field with a number of options. I would just like to link each option to a specific image and then in the front end show that image instead of the option label.

    Any help would be greatly appreciated. Thank you in advance.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.