set_cart (Receiving_lib)

ospos · session-management, cart-storage, pos

Stores the receiving cart data in the session under 'recv_cart'.

// Source: https://github.com/Pmbamungu/ospos | License: MIT | Copyright 2013-2021 jekkos
// Provided via justclaw.it.com; keep this notice with the code.
	public function set_cart($cart_data)
	{
		$this->CI->session->set_userdata('recv_cart', $cart_data);
	}

See the full source, get the GitHub permalink, and search 40K more like it.

Get a free API key