Subversion Repositories SmartDukaan

Rev

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

Rev 18834 Rev 18862
Line 288... Line 288...
288
		// }
288
		// }
289
		$cartskus = $this->post_cartinfo_request ( $url, $params );
289
		$cartskus = $this->post_cartinfo_request ( $url, $params );
290
		$checkestimate = $response ['defaultAddress'];
290
		$checkestimate = $response ['defaultAddress'];
291
		if ($cartskus ['maxEstimate'] == - 1) {
291
		if ($cartskus ['maxEstimate'] == - 1) {
292
			$checkestimate = '';
292
			$checkestimate = '';
-
 
293
		} 
-
 
294
		else if ($cartskus ['maxEstimate'] == - 2) {
-
 
295
			$checkestimate = 'non_service';
293
		} else {
296
		} else {
294
			for($i = 0; $i < count ( $cartskus ['cartItems'] ); $i ++) {
297
			for($i = 0; $i < count ( $cartskus ['cartItems'] ); $i ++) {
295
				if(array_key_exists('estimate',$cartskus ['cartItems'] [$i])){
298
				if(array_key_exists('estimate',$cartskus ['cartItems'] [$i])){
296
					continue;
299
					continue;
297
				}
300
				}