Fixed Noticed: undefined offset when cart only have virtual products