Post by quaffershotglasses » Tue Oct 26, 2010 10:34 am

I currently have an item with 2 different options. One for size and one for color. If you select the color first (which changes the picture), then select the size (which has no picture attached to that option) it reverts back to the stock photo, instead of still showing the pic attached to the color. Is there a way to always make it stay on what ever 'color' is selected?


Posts

Joined
Mon Feb 22, 2010 8:02 am

Post by Qphoria » Tue Oct 26, 2010 11:29 am

1. EDIT: catalog/view/javscript/options_plus/options_plus.js.php

2. FIND:

Code: Select all

$('#image').attr('src', origSrc);
$('#image').attr('title', origTitle);
$('#image').attr('title', origAlt);
$('#image').parent().attr('href', origPopup);
3. Add "//" in front of each line (without the quotes)

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by quaffershotglasses » Tue Oct 26, 2010 7:23 pm

Thanks, that worked perfect!


Posts

Joined
Mon Feb 22, 2010 8:02 am
Who is online

Users browsing this forum: No registered users and 2 guests