Subversion Repositories SmartDukaan

Rev

Rev 15403 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 15403 Rev 15461
Line 51... Line 51...
51
 *
51
 *
52
 * @return void
52
 * @return void
53
 */
53
 */
54
	public function add($userId=null,$storeProductId=null,$storeId=null) {
54
	public function add($userId=null,$storeProductId=null,$storeId=null) {
55
		session_write_close();
55
		session_write_close();
56
		
-
 
-
 
56
		$this->Click->setDatabase('mobilehotdtr');
57
		$url = $this->request->query('url');
57
		$url = $this->request->query('url');
58
		$available_price = $this->request->query('price');
58
		$available_price = $this->request->query('price');
59
		//Get StoreProduct Info
59
		//Get StoreProduct Info
60
		$this->loadModel('Store');
60
		$this->loadModel('Store');
61
		// $options = array('conditions'=>array('id'=>$storeProductId),'fields'=>array('source_id','available_price','url'),'recursive'=>-1);
61
		// $options = array('conditions'=>array('id'=>$storeProductId),'fields'=>array('source_id','available_price','url'),'recursive'=>-1);