//add options to row
$item["options"] = array("color" => "blue", "avaliable" => "si");
//add row to cart
Simplecart::insert($item);
<h2>Update a product</h2>
```php
$update = array(
'id' => 5,
'rowid' => "e4da3b7fbbce2345d7772b0674a318d5",
'qty' => 25,
'price' => $price,
'name' => "shirt",
'medida' => "xl"
);
Simplecart::update($update);
//add options to row
$item["options"] = array("color" => "orange", "avaliable" => "yes");
//add row to cart
Simplecart::insert($item);
});
<h3>Then create the next view and visit the route show</h3>
```php
Route::get("show", function()
{
$cart = Simplecart::get_content();
$totalcart = Simplecart::total_cart();
$totalitems = Simplecart::total_articles();
return View::make("cart", array("cart" => $cart, "total_cart" => $totalcart, "total_items" => $totalitems));
});