Hi @jmo1112
I would love to know what other code you found here, because I am in the same boat, where literally every snippet I found via Googling has zero effect on my site.
From what I understand, you’re experiencing a similar issue to @wrapwooc regarding the display of sold-out product variations. I recommend trying the solution suggested by @ihereira which involves using a code snippet available in the article “Disable Out of Stock Variations in WooCommerce“. This has been successful in hiding out-of-stock variations for some users.
?? Just a heads up – while we’re always here to assist you, our scope of support doesn’t extend to custom development or design patterns, which includes troubleshooting or giving specific advice on using custom action hooks or filters.
For custom solutions, our recommendation is to connect with Codeable.io, our trusted WooCommerce development partner. They’re experts in crafting custom solutions for WooCommerce and might be able to help you develop a custom solution for your problem. Check them out here: ?? https://woocommerce.com/codeable
I hope this helps! If you need more guidance or have other questions, don’t hesitate to reach out.