title: Wordpress + Woocommerce: hide unavailable variations when there are 2 attributes
body: <p>I have a variable product in WordPress + WooCommerce and it has 2 attributes: color and size.</p>
  
  <p>I'd like that when I select one of these 2 attributes, the unavailable variations with the second attribute will be automatically hidden (or unselectable) from the attribute select menu.</p>
  
  <p>Is it possible? How can I achieve that?</p>
  
  <p>I haven't found any plugin that can do that. I'm trying to figure out what part of code to edit, but it's quite a difficult task...</p>