Update error
tecnoweb opened this issue · comments
Hello,
i have try to add update of product not quantity but attribute
I use Ajax
$poscart->update(5, 2, [ 'price' => 8.00,'name'=>'New name']);
but not work ... where I make error ?
Change your attributes data to a string:
$poscart->update(5, 2, [ 'price' =>strval(8.00),'name'=>'New name']);