Fix bug: var cart_item should be correct when shopping_cart is empty