add if loop for product properties