Subversion Repositories SmartDukaan

Rev

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

Rev 17672 Rev 17711
Line 20... Line 20...
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
 
22
 
23
					$showmrp=array(0=>"False",1=>"True");
23
					$showmrp=array(0=>"False",1=>"True");
24
    				echo $this->Form->input('showMrp', array('options'=>$showmrp, 'selected'=>'False'));
24
    				echo $this->Form->input('showMrp', array('options'=>$showmrp, 'selected'=>'False'));
25
					
25
 
26
					echo $this->Form->input('maxPrice',array('value'=>0));
26
					echo $this->Form->input('maxPrice',array('value'=>0));
27
					echo $this->Form->input('product_name');
27
					echo $this->Form->input('product_name');
28
					echo $this->Form->input('rank');					
28
					echo $this->Form->input('rank');					
29
					echo $this->Form->input('source_id');
29
					echo $this->Form->input('source_id');
30
					echo $this->Form->input('source',array('type'=>'text','value'=>'Amazon'));
30
					echo $this->Form->input('source',array('type'=>'text','value'=>'Amazon'));
Line 38... Line 38...
38
					echo $this->Form->input('stock_status',array('type'=>'text','value'=>'OOS'));
38
					echo $this->Form->input('stock_status',array('type'=>'text','value'=>'OOS'));
39
					echo $this->Form->input('thumbnail');
39
					echo $this->Form->input('thumbnail');
40
					echo $this->Form->input('url');
40
					echo $this->Form->input('url');
41
 
41
 
42
					echo $this->Form->input('quantity',array('type'=>'number','value'=>1));
42
					echo $this->Form->input('quantity',array('type'=>'number','value'=>1));
-
 
43
					echo $this->Form->input('shippingCost');
-
 
44
 
43
					echo $this->Form->input('videoLink');
45
					echo $this->Form->input('videoLink');
44
					$arrCategory=array(0=>"False",1=>"True");
46
					$arrCategory=array(0=>"False",1=>"True");
45
    				echo $this->Form->input('showVideo', array('options'=>$arrCategory, 'selected'=>0));
47
    				echo $this->Form->input('showVideo', array('options'=>$arrCategory, 'selected'=>0));
-
 
48
 
-
 
49
 
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');
50
    				$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',18=>'Adapter', 19=>'Cases',20=>'Screen Guard',21=>'Headphone',22=>'Card Reader',23=>'Mobile Holder' );
-
 
51
 
-
 
52
    				
47
    				echo $this->Form->input('subCategoryId', array('options'=>$arrSubCategory, 'selected'=>$data['subCategoryId']));
53
    				echo $this->Form->input('subCategoryId', array('options'=>$arrSubCategory, 'selected'=>$data['subCategoryId']));
48
 
54
 
49
					echo $this->Form->input('offer',array('type'=>'textarea'));
55
					echo $this->Form->input('offer',array('type'=>'textarea'));
50
					echo $this->Form->input('tagline',array('type'=>'textarea'));
56
					echo $this->Form->input('tagline',array('type'=>'textarea'));
51
					echo $this->Form->input('is_shortage',array('type'=>'select','options'=>$shortage_status));
57
					echo $this->Form->input('is_shortage',array('type'=>'select','options'=>$shortage_status));