Home Forums WoodMart support forum Product doesnt show image swatches if it has more than 30 attributes (2 pages)

Product doesnt show image swatches if it has more than 30 attributes (2 pages)

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #503043

    vinko.nicolas.kolar
    Participant

    Today i noticed that some of my products dont have the automatic image swatches, even though they are turned on in the settings etc. I spent 6 hours trying to find the reason, because all settings seemed to be fine.

    No Swatches Frontend

    Eventually i did find the reason with hours of trial and error. This occurs when your variable product has more than 30 variations or more than 2 pages of variations. See here:

    No Swatches Backend

    The moment you remove 1 variation or basically whenever you have exactly 30 or less, the image swatches re-appear:

    Swatches Backend

    Swatches Frontend

    Can you fix this please and allow it for every amount of variations? Its unusable for me like this.

    Thanks.

    #503075

    Luke Nielsen
    Keymaster

    Hello,

    Please navigate to Theme Settings -> Shop -> Variable products and increase the “AJAX variation threshold” field at least to 100.

    https://monosnap.com/file/2nGwDn0t6tFtbMgwg1eV07Y27bf261

    Then clear the cache and check the issue again.

    Kind Regards

    #503089

    vinko.nicolas.kolar
    Participant

    Everything over 80 causes the product page to become blank. Everything under 80 doesn’t make a difference to the problem.

    But now comes the very interesting thing… When i turn it to 90+ (which causes the blank page), then save it, and THEN completely turn off “Additional variations images” setting, my variation images suddenly appear. But it has to be done in this very specific order. Definitely some kind of bug.

    See here a screen recording: Video (Screen Recording)

    For me its good that it works now, but im not sure how stable this “solution” is.

    #503865

    Luke Nielsen
    Keymaster

    Hello,

    I apologize for the delay.

    Is there any chance that you could give me access to the dashboard area so I can have a look at the settings on your website, please?

    Thank you in advance.

    Kind Regards

    #504309

    vinko.nicolas.kolar
    Participant

    I have attached the login details for you.

    #504390

    Luke Nielsen
    Keymaster

    Hello,

    Could you please send me the video again? Because the above is expired.

    I await your response.

    Kind Regards

    #505280

    vinko.nicolas.kolar
    Participant

    Hello, I have uploaded the video to a different website now where it does expire.

    Video: Click here

    Basically, the variation image swatches only show up if i do the following:

    1. Theme setting > Shop > Variable products
    2. Turn on “Additional variations images” images
    3. Change value to something high, for example 120 <— (this will make all product pages turn to a white screen)
    4. Turn off “Additional variations images” images
    5. Now the product images swatches show up

    They don’t show up if you have the setting turned off in the first place. You have to run through this process first.

    This really feels like some kind of bug..

    #505647

    Luke Nielsen
    Keymaster

    Hello,

    I would like to request temporary FTP access to the website to take a better look at the issue there.

    Looking forward to collaborating with you!

    Kind Regards

    #505840

    vinko.nicolas.kolar
    Participant

    Hello,

    the FTP access is attached

    #506275

    Luke Nielsen
    Keymaster

    Hello,

    Please add the below code to the functions.php file in your child theme.

    add_action( 'elementor/frontend/before_get_builder_content', function () {
    	remove_all_actions( 'elementor/frontend/the_content', 10 );
    });

    Then recheck the issue.

    Kind Regards

    #506294

    vinko.nicolas.kolar
    Participant

    Thanks, i will give it a try later.

    Is it possible that you reset something in my theme? The CSS at https://___.com/wp-admin/customize.php in my theme is suddenly gone.

    #506322

    Luke Nielsen
    Keymaster

    Hello,

    We just disabled the child theme and now enable it back.

    Please recheck the issue.

    Kind Regards

Viewing 12 posts - 1 through 12 (of 12 total)