Subversion Repositories SmartDukaan

Rev

Rev 17947 | Rev 18260 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 17947 Rev 18039
Line 152... Line 152...
152
	public function add($user_name = null, $user_contact = null) {
152
	public function add($user_name = null, $user_contact = null) {
153
		$this->layout = 'cartinnerpages';
153
		$this->layout = 'cartinnerpages';
154
		
154
		
155
		$totalPayable = $_SESSION ['totalPayable'];
155
		$totalPayable = $_SESSION ['totalPayable'];
156
		$codAvailable = $_SESSION ['cod'];
156
		$codAvailable = $_SESSION ['cod'];
157
		$pinval = base64_decode ( $_COOKIE ['s_pincode'] );
157
		//$pinval = base64_decode ( $_COOKIE ['s_pincode'] );
-
 
158
		$pinval='';
158
		$suserId = base64_decode ( $_COOKIE ['s_id'] );
159
		$suserId = base64_decode ( $_COOKIE ['s_id'] );
159
		$scart = base64_decode ( $_COOKIE ['s_cart'] );
160
		$scart = base64_decode ( $_COOKIE ['s_cart'] );
160
		
161
		
161
		if ($this->request->is ( 'post' )) {
162
		if ($this->request->is ( 'post' )) {
162
			$data = $this->request->data;
163
			$data = $this->request->data;