Subversion Repositories SmartDukaan

Rev

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

Rev 17650 Rev 17671
Line 16... Line 16...
16
					echo $this->Form->input('category',array('type'=>'text','value'=>'Mobiles'));
16
					echo $this->Form->input('category',array('type'=>'text','value'=>'Mobiles'));
17
					echo $this->Form->input('identifier',array('required'=>1));					
17
					echo $this->Form->input('identifier',array('required'=>1));					
18
					echo $this->Form->input('marketPlaceUrl');
18
					echo $this->Form->input('marketPlaceUrl');
19
					echo $this->Form->input('model_name');
19
					echo $this->Form->input('model_name');
20
					echo $this->Form->input('mrp',array('value'=>0));
20
					echo $this->Form->input('mrp',array('value'=>0));
-
 
21
 
-
 
22
					$showmrp=array(0=>"False",1=>"True");
-
 
23
    				echo $this->Form->input('showMrp', array('options'=>$showmrp, 'selected'=>'False'));
-
 
24
 
21
					echo $this->Form->input('maxPrice',array('value'=>0));
25
					echo $this->Form->input('maxPrice',array('value'=>0));
22
					echo $this->Form->input('product_name');
26
					echo $this->Form->input('product_name');
23
					echo $this->Form->input('rank');					
27
					echo $this->Form->input('rank');					
24
					echo $this->Form->input('source_id');
28
					echo $this->Form->input('source_id');
25
					echo $this->Form->input('source',array('type'=>'text','value'=>'Amazon'));
29
					echo $this->Form->input('source',array('type'=>'text','value'=>'Amazon'));
Line 37... Line 41...
37
					echo $this->Form->input('quantity',array('type'=>'number','value'=>1));
41
					echo $this->Form->input('quantity',array('type'=>'number','value'=>1));
38
					echo $this->Form->input('videoLink');
42
					echo $this->Form->input('videoLink');
39
					$arrCategory=array(0=>"False",1=>"True");
43
					$arrCategory=array(0=>"False",1=>"True");
40
    				echo $this->Form->input('showVideo', array('options'=>$arrCategory, 'selected'=>'False'));
44
    				echo $this->Form->input('showVideo', array('options'=>$arrCategory, 'selected'=>'False'));
41
 
45
 
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'=>0));
47
    				echo $this->Form->input('subCategoryId', array('options'=>$arrSubCategory, 'selected'=>0));
44
 
48
 
45
 
49
 
46
 
50
 
47
					echo $this->Form->input('offer',array('type'=>'textarea'));
51
					echo $this->Form->input('offer',array('type'=>'textarea'));