This topic has 5 replies, 2 voices, and was last updated 1 years, 4 months ago ago by bnourse
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
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
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
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
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.
Tagged: error, out of stock, templates, variation swatches, woocommerce, wordpress
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