Home Forums WoodMart support forum Swatches not working correctly

Swatches not working correctly

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #210154

    dimath
    Participant

    Hello, when a product has more that two variations the swatches do not appear as an image but only as a word and they do not work properly.

    Please check the video.

    #210162

    Hello,

    Please provide the site admin access to the private area.

    Best Regards

    #210364

    dimath
    Participant

    Please check. This is a clone of the website.

    #210389

    Hello,

    Please deactivate this plugin and check variation Variation Swatches for WooCommerce

    Best Regards

    #210473

    dimath
    Participant

    I have deactivated the plugin you mention and the issue remains. This happens when there are many color variations in a product. Please check the screenshot.

    Attachments:
    You must be logged in to view attached files.
    #210676

    Hello,

    You need to set the color and image in all the attribute items: https://prnt.sc/thdme6 Please check this instruction on how to configure swatches: https://xtemos.com/docs/woodmart/variable-products-swatches/

    Best Regards

    #210822

    dimath
    Participant

    As you should have noticed we do not use colors but image variations, it works for all the products that have a few color variations but not for those that have too many. Could you please check and give me a responsibe answer because we loose time and the live site does not work as it should.

    #210890

    Hello,

    I check this product ipanema-780-20322/

    I have found color Μαύρο I have added an image https://prnt.sc/thqg47 and you can see it works https://prnt.sc/thqgfh

    You need to add image to all attribute items. It will work no matter if a variable product has a lot of variations.

    Best Regards

    #210898

    dimath
    Participant

    Could you please clarify? The attribute ΜΑΥΡΟ is common to other shoes of the eshop. How is it possible to use a single image of a product in an attribute that works for several products? Every variation has its own image that is why we have selected to show variation images at swatches instead of colors. It works for all the other products of the eshop whose attributes do not have an image or color at the attribute settings as you say. How is it possible to do something like that? It does not even make sense.

    #211045

    Artem Temos
    Keymaster

    Hello,

    We are sorry that you faced difficulties working with our theme.
    But the solution is quite simple. Each attribute term like MAYPO, require default image uploaded via Dashboard -> Products -> Attributes -> configure terms. Otherwise, they will be displayed as text. https://prnt.sc/thqg47
    It is how our theme works and this default image is required even if you use images from product variations.
    Even if this color is common, you will be able to override this default image for each product with the image from their variation. So just upload some “common” image preview for this color in Products -> Attributes and then override it with each product image uploading them to variations.

    Hope this clear for you and you can remove your negative review about our theme on ThemeForest.

    Thank you for understanding.

    Kind Regards

    #211327

    dimath
    Participant

    If this is how your theme works could you please explain to me why all the attributes are working without an image for other shoes in the site? This is an issue that did not exist in the beginning, and we have never used images in attributes. Please check the video if this was the case none of the products would have image variation swatches in product page. Also check some of the other products that show the variation swatches with image in the product page.

    #211341

    Artem Temos
    Keymaster

    On your video you showed colors, but could you please send us a link to the product where we can see these colors used? We will check this, but this mechanism is how it worked from the beginning and we didn’t change anything there.

    #211401

    dimath
    Participant

    Please check the video. And the product of the url as an example.

    #211477

    Artem Temos
    Keymaster

    Have you customized anything in WooCommerce in our theme? We see that some WooCommerce value is changed.

    Try to add the following code to the functions.php in your child theme.

    function custom_wc_ajax_variation_threshold( $qty, $product ) {
    	return 200;
    }
    
    add_filter( 'woocommerce_ajax_variation_threshold', 'custom_wc_ajax_variation_threshold', 10, 2 );

    Regards

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