DCI-V6 Disable swapping of main product image.

Images added to each Choice. Images displayed as scaled down icons. Main image swaps when the Choice is selected.
Post Reply
norman
Site Admin
Posts: 1249
Joined: Sat Feb 07, 2004 9:55 pm

DCI-V6 Disable swapping of main product image.

Post by norman »

To Disable swapping of main product image but still allow an Attribute Image to swap, edit file dynamicchoiceimagessupportv6.js (in your Site folder).
Look for the line:

Code: Select all

function dci_imageswitch(swapimage, newimage){
Immediately below it add a new line:

Code: Select all

	if ( swapimage.attr('id').indexOf('_') == -1 ) return;
This will allow Dynamic Choice Images to be used alongside Magic Zoom Plus or Multi Product Images without interfering with these other add-on's manipulation of the product image.
Norman
Post Reply