Subversion Repositories SmartDukaan

Rev

Rev 17672 | Rev 17743 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
14600 anikendra 1
<div class="container">
2
	<div class="row">
3
		<div class="col-lg-3">
4
			<?php echo $this->Element('adminactions');?>
5
		</div>
6
		<div class="col-lg-9">
7
			<?php echo $this->Form->create('MasterData'); ?>
8
				<fieldset>
9
					<legend><?php echo __('Add to existing Master Data bundle'); ?></legend>
10
				<?php
11
					echo $this->Form->input('skuBundleId');
12
					echo $this->Form->input('available_price');
16455 anikendra 13
					echo $this->Form->input('gross_price',array('value'=>0));
14600 anikendra 14
					echo $this->Form->input('brand');
15
					echo $this->Form->input('cashback', array('type' => 'hidden' ));
16
					echo $this->Form->input('category_id');
17
					echo $this->Form->input('category',array('type'=>'text','value'=>'Mobiles'));
18
					echo $this->Form->input('identifier',array('required'=>1));					
19
					echo $this->Form->input('marketPlaceUrl');
20
					echo $this->Form->input('model_name');
14706 anikendra 21
					echo $this->Form->input('mrp',array('value'=>0));
17672 naman 22
 
23
					$showmrp=array(0=>"False",1=>"True");
24
    				echo $this->Form->input('showMrp', array('options'=>$showmrp, 'selected'=>'False'));
17711 naman 25
 
14857 anikendra 26
					echo $this->Form->input('maxPrice',array('value'=>0));
14600 anikendra 27
					echo $this->Form->input('product_name');
28
					echo $this->Form->input('rank');					
29
					echo $this->Form->input('source_id');
30
					echo $this->Form->input('source',array('type'=>'text','value'=>'Amazon'));
31
					echo $this->Form->input('secondaryIdentifier');
32
					echo $this->Form->input('sourceCategoryId', array('type' => 'hidden' ));
33
					echo $this->Form->input('sourceProductId', array('type' => 'hidden' ));				
34
					echo $this->Form->input('source_product_name');
35
					echo $this->Form->input('source_url');
36
					echo $this->Form->input('status');
37
					echo $this->Form->input('in_stock',array('type'=>'select','options'=>$stock_statuses));					
38
					echo $this->Form->input('stock_status',array('type'=>'text','value'=>'OOS'));
39
					echo $this->Form->input('thumbnail');
40
					echo $this->Form->input('url');
17593 naman 41
 
42
					echo $this->Form->input('quantity',array('type'=>'number','value'=>1));
17711 naman 43
					echo $this->Form->input('shippingCost');
44
 
17593 naman 45
					echo $this->Form->input('videoLink');
46
					$arrCategory=array(0=>"False",1=>"True");
17638 naman 47
    				echo $this->Form->input('showVideo', array('options'=>$arrCategory, 'selected'=>0));
17711 naman 48
 
49
 
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
 
17638 naman 53
    				echo $this->Form->input('subCategoryId', array('options'=>$arrSubCategory, 'selected'=>$data['subCategoryId']));
17593 naman 54
 
16345 anikendra 55
					echo $this->Form->input('offer',array('type'=>'textarea'));
56
					echo $this->Form->input('tagline',array('type'=>'textarea'));
14600 anikendra 57
					echo $this->Form->input('is_shortage',array('type'=>'select','options'=>$shortage_status));
15250 anikendra 58
					echo $this->Form->input('buyBoxFlag',array('type'=>'select','options'=>$buyBoxFlag));
15884 anikendra 59
					echo $this->Form->input('coupon');
60
					echo $this->Form->input('codAvailable',array('type'=>'select','options'=>$buyBoxFlag,'value'=>1));
16497 anikendra 61
					echo $this->Form->input('ignorePricing',array('type'=>'select','options'=>$buyBoxFlag,'default'=>0));
17191 anikendra 62
					echo $this->Form->input('snapdealSpecialItem',array('type'=>'select','options'=>$buyBoxFlag,'default'=>0));
14600 anikendra 63
				?>
64
				</fieldset>
65
			<?php echo $this->Form->end(__('Submit')); ?>
66
			</div>
67
		</div>
68
	</div>
69
</div>
16376 anikendra 70
<script src="//cdn.ckeditor.com/4.5.2/full/ckeditor.js"></script>
16345 anikendra 71
<script type="text/javascript">
16376 anikendra 72
	CKEDITOR.replace( 'MasterDataOffer' );
73
	CKEDITOR.replace( 'MasterDataTagline' );
16345 anikendra 74
</script>