Add further limiting to products without template

The domains have been added to the relationship table and a new
get_products method has been added for helping template designers.