Jump to content

After upgrade from 1.7.6.7 to 1.7.7.1 - color attribute on product does not work !


Recommended Posts

Hi, 

The 404 error is a missing image from your Description which can't be found on the server. 

Are you using and CC or CS compress- try to deactivate those options, as you have 2 undefined errors on that page, which I presume are causing the issue. Deactivate your zoom module(in case you use one)

Don't forget to clear cache after you've done what I asked. 

cheers, 

Leo

Link to comment
Share on other sites

Hi,

well, the image is changing, but for some reason the main image is always the cover image as I see.

You should contact the theme developer as I suppose there is the issue.

Temporarily here is a small Javascript which can set the correct image after the combination change. Add this at the end of the custom.js:

prestashop.on('updateProduct', (params) => {
    if (typeof(params) !== 'undefined') {
    $('.js-qv-product-cover').attr('visibility',0);
    setTimeout(function(){
        $('.js-qv-product-cover').attr('src',$('#thumb_box img').data('image-large-src'));
        $('.js-qv-product-cover').attr('visibility',1);
    },300);
    }
});

Kind regards, Leo

Link to comment
Share on other sites

That script works - so as a temporary solution that is good - thank you! - I HAVE contact to the theme developer - but he was not shure that the problem was on his side !

I tried to change to classic theme (without your script) and there the image change works perfectly - so is that not a conclusion for a template based problem ?

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...