Subversion Repositories SmartDukaan

Rev

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

Rev 19325 Rev 19992
Line 274... Line 274...
274
		// if(empty($products)) {
274
		// if(empty($products)) {
275
		session_write_close();
275
		session_write_close();
276
		$result = array();
276
		$result = array();
277
		$this->response->type('json');
277
		$this->response->type('json');
278
		$this->layout = 'ajax';
278
		$this->layout = 'ajax';
-
 
279
		$dealpin = $this->getpin();
279
		$url = $this->livepriceurl."?skuBundleId=$bundleId&source_id=$storeId";
280
		$url = $this->livepriceurl."?skuBundleId=$bundleId&source_id=$storeId";
-
 
281
		$url = $url."&pin=".$dealpin;
280
		$products = $this->make_request($url,null);
282
		$products = $this->make_request($url,null);
281
			// Cache::write($cachekey,$products,'fivemin');			
283
			// Cache::write($cachekey,$products,'fivemin');			
282
		// }
284
		// }
283
		if(!empty($products)){
285
		if(!empty($products)){
284
			$result['products'] = array();
286
			$result['products'] = array();