Use #find_or_create_by in here
current_cart.clear!
delete single cart item
cart_item add_column :quantity
total_price = price * quantity
reject buy quantity equal zero at product
order_item.quantity = cart_item.quantity
account/orders
admin/orders