Load woocommerce widgets via ajax

I want to load woocommerce widget (filter products by attribute) via ajax.
But WC_Query::get_main_tax_query returns empty array (in get_main_tax_query).
How i can to pass some params to widget?
Or, maybe i need to pass some variable using setup_postdata or something else?