It's a woocommerce object called $_product
When I var_dump it I get:
object(WC_Product_Variation)#4358 (13) {
["post_type":protected]=>
string(17) "product_variation"
["parent_data":protected]=>
array(16) {
["title"]=>
string(7) "Antares"
["status"]=>
string(7) "publish"
["sku"]=>
string(0) ""
When I echo $_product->post_type; I get product_variation as expected, but I can't access the status value!
var_dump($_product->parent_data); gives me nothing (empty)
Why?