public static function removeAllFromCart($cartId) { $cartItem = new self(); $cart = $cartItem->getCart(); $cart->setItems(null); $cart->save(); }
public static function removeAllFromCart($cartId) { $checkoutDataItem = new self(); $checkoutDataItem->getCart()->checkoutData = array(); }