Jump to content

Combination Images of Product Not Returning to Default?


Recommended Posts

Hi,

 

I hope somebody can please help me with this issue. I'm a prestashop newbie.

 

I have product of different colours which I have entered as combinations. Each combination has a single image.

 

When I click on a non-default combination the image changes to the correct one assigned for that combination. However, when I try to click back to the default colour, the image doesn't change.

 

So for example I have red, blue, green. Red is default. I click on blue it will change to blue image. I click on green it will change to green image. Yet I click on default red, the image doesn't change - it just stays on the last non-default image that I had clicked on. The model code changes to the correct one though.

 

I've looked at refreshProductImages function line 785 in product.js and there is a line at the end of that function.

serialScrollFixLock('', '', '', '', 0);// SerialScroll Bug on goto 0 ?

Does this have something to do with the issue? I really want my customers to be able to be able to click back on the default colour and have the correct image appear.

 

Thank you!

Edited by kokopopart (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...