Announcement

Collapse
No announcement yet.

Clicking on options changes product image

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Clicking on options changes product image

    Hello,

    Is it possible to set up your 3dCart site where the main product image changes when you click on certain images. An example being if a product has different colors and you click on a specific color, the product image would change? I don't mean some kind of color overlay but if we have images for the different colors, this would cause the product image that's displayed to switch to the one that corresponds with that option the user clicks on. Thanks!

  • #2
    Maybe this will help:
    https://support.3dcart.com/index.php...rticle/View/70

    Comment


    • #3
      Sorry, I should have pointed out that we tried doing that and it wasn't what the client wanted. They want the entire product image you're viewing to change based on which option you choose.

      Comment


      • #4
        I could be wrong, but I thought I read in another thread that this is not possible with 3DC. Don't quote me on that, though.

        Comment


        • #5
          I think it is possible, not sure how. See this 3dcart merchant's page: http://www.nmteaco.com/Forlife_Curve_Teapot_45oz.html

          Comment


          • #6
            Ah. I believe that is possible via javascript. You'd have to program it where when someone hovers over the color option, it changes the src attribute of the main image. You'd use the DOM I believe. I just wanted to see if someone had an easy way. Thank you for the example showing it is possible. I'll have to look into it later today and see if I can do it myself. I'll update you all here in case any of you (or future people) need to do this also.

            Comment

            Working...
            X