You are here

public function CommerceCartProviderInterface::cartSave in Commerce Core 7

Saves an order ID.

Parameters

$order_id: The order ID to save to the array.

$completed: Boolean indicating whether or not the operation should save to the completed orders array instead of the active cart orders array.

1 method overrides CommerceCartProviderInterface::cartSave()
CommerceCartProviderSession::cartSave in modules/cart/plugins/cart_provider/CommerceCartProviderSession.class.php
Saves an order ID.

File

modules/cart/plugins/cart_provider/interface.inc, line 56
Interface for cart providers.

Class

CommerceCartProviderInterface
@file Interface for cart providers.

Code

public function cartSave($order_id, $completed = FALSE);