update cart method name change for API
This commit is contained in:
parent
345f2fa3e7
commit
4761c64c6f
|
|
@ -129,7 +129,7 @@ class CartController extends Controller
|
|||
|
||||
Event::fire('checkout.cart.item.update.before', $itemId);
|
||||
|
||||
Cart::updateItem(['quantity' => $qty], $itemId);
|
||||
Cart::updateItems(request()->all());
|
||||
|
||||
Event::fire('checkout.cart.item.update.after', $item);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ class OnepageController extends Controller
|
|||
/**
|
||||
* Display a listing of the resource.
|
||||
*
|
||||
* @return \Illuminate\View\View
|
||||
* @return \Illuminate\View\View
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
|
|
@ -101,7 +101,7 @@ class OnepageController extends Controller
|
|||
/**
|
||||
* Return order short summary
|
||||
*
|
||||
* @return \Illuminate\View\View
|
||||
* @return \Illuminate\View\View
|
||||
*/
|
||||
public function summary()
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue