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)
- This topic has 11 replies, 2 voices, and was last updated 1 year, 1 month ago by Luke Nielsen.
-
AuthorPosts
-
October 10, 2023 at 3:32 pm #503043
vinko.nicolas.kolarParticipantToday 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.
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:
The moment you remove 1 variation or basically whenever you have exactly 30 or less, the image swatches re-appear:
Can you fix this please and allow it for every amount of variations? Its unusable for me like this.
Thanks.
- This topic was modified 1 year, 1 month ago by vinko.nicolas.kolar.
October 10, 2023 at 4:30 pm #503075
Luke NielsenKeymasterHello,
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
October 10, 2023 at 4:56 pm #503089
vinko.nicolas.kolarParticipantEverything 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.
October 13, 2023 at 9:39 am #503865
Luke NielsenKeymasterHello,
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
October 16, 2023 at 12:17 am #504309
vinko.nicolas.kolarParticipantI have attached the login details for you.
October 16, 2023 at 11:53 am #504390
Luke NielsenKeymasterHello,
Could you please send me the video again? Because the above is expired.
I await your response.
Kind Regards
October 18, 2023 at 11:38 pm #505280
vinko.nicolas.kolarParticipantHello, 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 upThey 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..
October 20, 2023 at 10:03 am #505647
Luke NielsenKeymasterHello,
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
October 20, 2023 at 8:00 pm #505840
vinko.nicolas.kolarParticipantHello,
the FTP access is attached
October 23, 2023 at 12:50 pm #506275
Luke NielsenKeymasterHello,
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
October 23, 2023 at 1:20 pm #506294
vinko.nicolas.kolarParticipantThanks, 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.
October 23, 2023 at 2:25 pm #506322
Luke NielsenKeymasterHello,
We just disabled the child theme and now enable it back.
Please recheck the issue.
Kind Regards
-
AuthorPosts
Tagged: image swatch, product, Single product, swatch, swatches, variations
- You must be logged in to create new topics. Login / Register