Corrected error happening when sending an email for a product using a variant