Allow to generate template for product type. Refs #8.