[eluser]EdgeTube[/eluser]
Hi all,
I am currently using the Cart class to add all my items to the shopping cart.
The problem is, I am having trouble placing all the product descriptions into an array when the user clicks "Check Out." (Basically after the order is completed, the administrator needs to know what was ordered.)
I know that
Code:
$contents = $this->cart->contents();
used with a foreach loop will return an array, but inserting a new row in my database through each loop seems rather inefficient.
Some examples or tips would be appreciated.
Thank you!