Load a dynamic image which is dependent on an attribute of a product

This topic has 4 replies, 2 voices, and was last updated 5 years, 6 months ago ago by Rose Tyler

  • Avatar: jorgebastida
    jorgebastida
    Participant
    May 14, 2019 at 07:52

    Hello,

    On the product page … How could I load a dynamic image which is dependent on an attribute of a product in a static block (not in gallery product)?

    for example

    IF attribute.value = optionA (load in the static block photoA)

    IF attribute.value = optionB (load in the static block fotoB)

    It’s possible?

    Thanks in advance

    3 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 14, 2019 at 08:11

    Hello,

    Could you please provide a live example?

    Regards

    Avatar: jorgebastida
    jorgebastida
    Participant
    May 14, 2019 at 11:11

    Hello,

    I have solved the problem with the description field of the value of the product attribute. I did not know that html code could be inserted.

    Thank you in any case.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 14, 2019 at 12:03

    Hello,

    I am glad that you sorted out.
    Have a nice day.

    Regards

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.