handle product types in rendering