fix bug: 'sending the order with an empty cart'