Forums / Setting Up Categories, Products, Attributes / Attribute image swap - works for one option, but not another

Attribute image swap - works for one option, but not another

Started by jgold723 on 20 Nov 2012, 9:42 PM · Views: 1,080

Results 1 to 5 of 5
20 Nov 2012, 9:42 PM
#1
jgold723 avatar

jgold723

Zen Follower

Join Date:
Dec 2010
Posts:
362
Plugin Contributions:
0

Attribute image swap - works for one option, but not another

I've inherited this project from a developer who did some sneaky stuff behind the scenes. But I'm hoping someone here can shed some light on what might be happening:

We have an option of "color" with dropdown options.

When product attributes are created from this option, the image swatch will swap in place of the main product image. At the same time, the correct attribute will be changed in the dropdown menu.

Everything works great.

So I created a new dropdown option and created attributes the same way. But while the thumbnails will swap into the main product image, the dropdown menu is not affected.

I've compared the two sets of attributes and everything appears to be identical. Any ideas what might be happening?

Thanks,

John

20 Nov 2012, 10:24 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Attribute image swap - works for one option, but not another

Image swap is not builtin but a 3rd party plugin contributed

You might review that area

Zen-Venom Get Bitten

21 Nov 2012, 1:52 PM
#3
jgold723 avatar

jgold723

Zen Follower

Join Date:
Dec 2010
Posts:
362
Plugin Contributions:
0

Re: Attribute image swap - works for one option, but not another

Thanks. I looked in plugins and didn't find anything that seems to match what I find on the product display template. The portion that appears to be making the attribute image swap has this function:

function product(id, option, img2swp)

any idea what plugin or function that might be referring to?

21 Nov 2012, 5:49 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Attribute image swap - works for one option, but not another

Zen-Venom Get Bitten

21 Nov 2012, 10:01 PM
#5
jgold723 avatar

jgold723

Zen Follower

Join Date:
Dec 2010
Posts:
362
Plugin Contributions:
0

Re: Attribute image swap - works for one option, but not another

Bummer no. It looked close, but there are no Ajax files and I didn't see any reference to any on the template pages. Thanks for the suggestion, though.

I noticed a jquery file in there, so I'm thinking it might be custom job.

John