Problem with Variation Swatches not displaying Out of Stock correctly in all cases

This topic has 5 replies, 2 voices, and was last updated 9 months, 2 weeks ago ago by bnourse

  • Avatar: bnourse
    bnourse
    Participant
    July 23, 2023 at 22:52

    Hello,
    We have been using XStore on our site now for a long time, and are really pleased with the theme.
    We were excited to see the additions to the Variation Swatches feature and want to implement on our site. There seems to be a problem with how the “X’d out” out of stock variations display in SOME, but not all cases. It seems that products with many attributes and variations are the ones with problems.
    I’ve set up admin credentials for you, and made a Loom video showing the problem. Could you please look and suggest a fix??
    Many thanks,
    Ben

    Please, contact administrator
    for this information.
    4 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 24, 2023 at 07:49

    Hello, Bnourse,

    Thank you for contacting us and for using XStore.

    We can’t log in. Please provide access to this popup also – https://prnt.sc/URX0AlzWcg56

    Please provide FTP access, we need to check the situation more deeply (FTP host, FTP username, FTP password, FTP port, FTP encryption). To create FTP access, please contact your hosting provider for assistance.

    Kind Regards,
    8theme team

    Avatar: bnourse
    bnourse
    Participant
    July 24, 2023 at 12:45

    Hello Rose, nice to hear from you.
    I’m sorry I gave the wrong URL for the Development site. I’ve updated the URL in private area. Also, I have set up SFTP access for you and your team.
    Please confirm that you can log in to both OK!
    Thanks,
    Ben

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 24, 2023 at 15:42

    Hello, Bnourse,

    Thank you for your response.

    Please add the next code in functions.php of the child theme:
    function custom_wc_ajax_variation_threshold( $qty, $product ) { return 100; } add_filter( 'woocommerce_ajax_variation_threshold', 'custom_wc_ajax_variation_threshold', 10, 2 );

    Kind Regards,
    8theme team

    Avatar: bnourse
    bnourse
    Participant
    July 24, 2023 at 17:53

    That seems to have fixed it for us. Thank you.
    I will probably implement with a snippet on our production site. I think we should be good to go, though.
    Thanks again for the prompt support.

  • Viewing 5 results - 1 through 5 (of 5 total)

The issue related to '‘Problem with Variation Swatches not displaying Out of Stock correctly in all cases’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.