Quote Originally Posted by dvtalk View Post
Thank you for this. I went ahead and downloaded the 1.5.9 from Github. Everything seems to be working woderfully, but I wonder if you can help me figure this out:

I am using an image plugin that displays a product zoom and I am attempting to merge the attributes.php file.

Your code is inserting $params into the select field, outputting:
<div class="select-wrapper"><select name="id[35]" id="attrib-35" onchange="getattribimage('id[35]', 450, 0, this.value, 508);">

Their code is simply:
<div class="select-wrapper"><select name="id[35]" id="attrib-35">

If I add the $params to the select, it breaks their code. If I don't insert the $params, then the image swap doesn't work.

Can you please point me to the right direction on where to lok for the conflict?

Thanks,

David
"Their" method uses the standard attribute build which means that they also use javascript to initiate the action. How the javascript attaches and loads should help to resolve the issue. Would look to follow the javascript from page load to attribute change. (Most browsers support such action/operation.)