I have followed this guy tutorial
and got total price of all products and now I have created a table called order which contains (total_price and product) columns
now I want what all products ID which are selected (added to cart) separated by comma and be saved into
$model= new orders ()
$model->product (product id added in cart separated by comma)in db
I've saved total_price
in db through controller though.
Thanks in advance