Subversion Repositories SmartDukaan

Rev

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

Rev 14346 Rev 14387
Line 50... Line 50...
50
 * add method
50
 * add method
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
		if(!empty($userId) && !empty($storeProductId)){
56
		if(!empty($userId) && !empty($storeProductId)){
56
			$url = $this->request->query('url');
57
			$url = $this->request->query('url');
57
			$available_price = $this->request->query('price');
58
			$available_price = $this->request->query('price');
58
			//Get StoreProduct Info
59
			//Get StoreProduct Info
59
			$this->loadModel('Store');
60
			$this->loadModel('Store');