tax_query not working in template

If you look at the documentation for WP_Query taxonomy parameters, you’ll see that the tax_query is an array of arrays.

So:

'tax_query' => array(
    array(
        'taxonomy' => 'product-type',
        'terms' => array('software'),
        'field' => 'slug'
     )
)