Home Forums WoodMart support forum Bug with “Use images from product variations”

Bug with “Use images from product variations”

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #609723

    barry-6678
    Participant

    This 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 500

    I 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 it

    None 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?

    #609880

    barry-6678
    Participant

    I have tried adding snippet
    add_filter( ‘woodmart_swatches_cache’, ‘__return_false’ );

    Disabled the cache and still they do not show

    #609972

    Luke Nielsen
    Keymaster

    Hello,

    Send me access to the admin panel so I can check the site’s settings on your side.

    Thank you in advance.

    Kind Regards

    #609985

    barry-6678
    Participant

    Attached

    Look forward to your response.
    I just added a new variation color today for product https://shop.scanimals.net/index.php/product/laughing-axolotl/

    #610127

    Luke Nielsen
    Keymaster

    Hello,

    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

    #610144

    barry-6678
    Participant

    That 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/

    #610146

    barry-6678
    Participant

    I 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?

    #610149

    barry-6678
    Participant

    I 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

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