Home › Forums › WoodMart support forum › Bug with “Use images from product variations”
Bug with “Use images from product variations”
- This topic has 9 replies, 2 voices, and was last updated 3 weeks, 2 days ago by Luke Nielsen.
-
AuthorPosts
-
November 4, 2024 at 1:29 pm #609723
barry-6678ParticipantThis feature worked for a while, but I noticed the page loaded slowly and tracked it down to the swatch images using the full image size, in my case it was a width of ~2400 but contained in its correctly sized container.
To fix the image size I followed instructions on Xtemos help pages and set
Appearance -> Customise -> WooCommerce -> Product Images -> Thumbnail to 500I thought all was well, but a few weeks ago when I added another product variation (baby blue) I noticed it was not using the product variation image, rather it was using the Product -> Attribute – Color’s Image
I later added more variations and the same thing, the product variation image is not working.
I eventually tracked it down to the file not existing in the uploads folder for that image size.
I re-ran the thumbnails process and the images were there and in the right size, but not with scaled in the name for example
Orange Fortune Dragon which works is https://shop.scanimals.net/wp-content/uploads/2024/10/IMG_7932-scaled-500×375.jpg
Black Silk not had IMG_8392-500×375.jpg but did not have IMG_8392-scaled-500×375.jpg , so did more digging.I tried all the following (with cache plugin disabled and cloudflare disabled), clearing cache etc.
– regenerate thumbnails
– removing dimensions of images in theme customisation
– a new size for thumbnails
– disable “Use images from product variations” and re-enable
– deleted custom items variation image and then re-selecting itNone of these items work and I am stuck and now asking for help.
Please see page at https://shop.scanimals.net/index.php/product/fortune-dragon/
As mentioned Baby Blue, Black Silk, Black Gold Silk are all not working.please recommend what to do now?
November 5, 2024 at 1:39 am #609880
barry-6678ParticipantI have tried adding snippet
add_filter( ‘woodmart_swatches_cache’, ‘__return_false’ );Disabled the cache and still they do not show
November 5, 2024 at 11:41 am #609972
Luke NielsenKeymasterHello,
Send me access to the admin panel so I can check the site’s settings on your side.
Thank you in advance.
Kind Regards
November 5, 2024 at 11:57 am #609985
barry-6678ParticipantAttached
Look forward to your response.
I just added a new variation color today for product https://shop.scanimals.net/index.php/product/laughing-axolotl/November 5, 2024 at 6:25 pm #610127
Luke NielsenKeymasterHello,
You need to edit that color attribute – https://take.ms/S6QXo8 and enable the “Text swatch” option in its settings – https://take.ms/tToyF, clear a cache and recheck the issue.
Kind Regards
November 5, 2024 at 10:07 pm #610144
barry-6678ParticipantThat makes no sense, I dont want text swatch, I want the image variation from product
Did you try it? I did and it’s still text and not image? https://shop.scanimals.net/index.php/product/fortune-dragon/November 5, 2024 at 10:12 pm #610146
barry-6678ParticipantI just checked the other fortune dragon colors, like pink pastel and ombre, both of these items do not have “text swatch” enabled and a variation image appears.
Theme Settings >> Shop >> Variable Products >> Use images from product variations is YES but not being used?
November 5, 2024 at 10:24 pm #610149
barry-6678ParticipantI disabled cache and cleared object cache and it worked for the newer items but not for “baby Blue” or Blue Silk” – https://shop.scanimals.net/index.php/product/laughing-axolotl/
When did this change as I never needed to use “Text” and also the description makes no sense, I dont want to use text lol
please take a look and see why this isn’t working for the swatches that are older :Past
November 5, 2024 at 10:40 pm #610156
barry-6678ParticipantThis is now resolved, I removed the color and enabled “Text” as suggested.
Very odd that the bahvior changed as all the ones working are not set to “Text” but this now seems a requirement and very odd one to be Text when you want to have an image. Maybe rename the field “Text or Variation Image”November 6, 2024 at 10:26 am #610223
Luke NielsenKeymasterHello,
Glad that this issue is resolved. So in this case, the topic can be closed?
Thank you for your time and have a good day.
Kind Regards
-
AuthorPosts
Tagged: variation image
- You must be logged in to create new topics. Login / Register