Subversion Repositories SmartDukaan

Rev

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

Rev 17650 Rev 17672
Line 17... Line 17...
17
					echo $this->Form->input('category',array('type'=>'text','value'=>'Mobiles'));
17
					echo $this->Form->input('category',array('type'=>'text','value'=>'Mobiles'));
18
					echo $this->Form->input('identifier',array('required'=>1));					
18
					echo $this->Form->input('identifier',array('required'=>1));					
19
					echo $this->Form->input('marketPlaceUrl');
19
					echo $this->Form->input('marketPlaceUrl');
20
					echo $this->Form->input('model_name');
20
					echo $this->Form->input('model_name');
21
					echo $this->Form->input('mrp',array('value'=>0));
21
					echo $this->Form->input('mrp',array('value'=>0));
-
 
22
 
-
 
23
					$showmrp=array(0=>"False",1=>"True");
-
 
24
    				echo $this->Form->input('showMrp', array('options'=>$showmrp, 'selected'=>'False'));
-
 
25
					
22
					echo $this->Form->input('maxPrice',array('value'=>0));
26
					echo $this->Form->input('maxPrice',array('value'=>0));
23
					echo $this->Form->input('product_name');
27
					echo $this->Form->input('product_name');
24
					echo $this->Form->input('rank');					
28
					echo $this->Form->input('rank');					
25
					echo $this->Form->input('source_id');
29
					echo $this->Form->input('source_id');
26
					echo $this->Form->input('source',array('type'=>'text','value'=>'Amazon'));
30
					echo $this->Form->input('source',array('type'=>'text','value'=>'Amazon'));
Line 37... Line 41...
37
 
41
 
38
					echo $this->Form->input('quantity',array('type'=>'number','value'=>1));
42
					echo $this->Form->input('quantity',array('type'=>'number','value'=>1));
39
					echo $this->Form->input('videoLink');
43
					echo $this->Form->input('videoLink');
40
					$arrCategory=array(0=>"False",1=>"True");
44
					$arrCategory=array(0=>"False",1=>"True");
41
    				echo $this->Form->input('showVideo', array('options'=>$arrCategory, 'selected'=>0));
45
    				echo $this->Form->input('showVideo', array('options'=>$arrCategory, 'selected'=>0));
42
    				$arrSubCategory=array(0=>'None',7=>'Memory Card',8=>'Data Cable',9=>'USB Light',10=>'Screen Magnifier',11=>'Car Charger',12=>'Power Bank');
46
    				$arrSubCategory=array(0=>'None',7=>'Memory Card',8=>'Data Cable',9=>'USB Light',10=>'Screen Magnifier',11=>'Car Charger',12=>'Power Bank',13=>'Pendrive',14=>'Combo',15=>'Charger',16=>'Bluetooth Headset',17=>'Speaker');
43
    				echo $this->Form->input('subCategoryId', array('options'=>$arrSubCategory, 'selected'=>$data['subCategoryId']));
47
    				echo $this->Form->input('subCategoryId', array('options'=>$arrSubCategory, 'selected'=>$data['subCategoryId']));
44
 
48
 
45
					echo $this->Form->input('offer',array('type'=>'textarea'));
49
					echo $this->Form->input('offer',array('type'=>'textarea'));
46
					echo $this->Form->input('tagline',array('type'=>'textarea'));
50
					echo $this->Form->input('tagline',array('type'=>'textarea'));
47
					echo $this->Form->input('is_shortage',array('type'=>'select','options'=>$shortage_status));
51
					echo $this->Form->input('is_shortage',array('type'=>'select','options'=>$shortage_status));