templates/product: refine output organization