check that product has variants data before assigning variants