Fixes for errors when user use a gift.
Fix empty cart.