Apply filters to $product_type

Apply filters to $product_type and we can set a default product type to new products.
Merge pull request #5226 from pauloiankoski/patch-1

Apply filters to $product_type