Fix add cart logic to allow adding products without variants.