Hello XStore Support Team,
I am facing an issue on the product detail page with variable products:
Steps to reproduce:
Open a variable product with multiple attributes (e.g., Color + Capacity).
Select a color (e.g., White).
Select a capacity (e.g., 20000 Ltr) which is out of stock.
The Add to Cart button is correctly hidden, but at the same time, all other variation options (dropdowns/selectors) also disappear.
The only way to select another variation is to refresh the page.
Expected behavior:
If a variation is out of stock, WooCommerce normally hides the Add to Cart button but should still allow the customer to choose another variation without refreshing.
Actual behavior:
When an out-of-stock variation is selected, the Add to Cart button and all variation selectors disappear, forcing the customer to reload the page.
Could you please help fix this issue? It seems like a JS/variation handling bug in the single product page template.
Thank you.