Subversion Repositories wpShopGermany4

Rev

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

Rev 6467 Rev 6891
Line 13... Line 13...
13
 
13
 
14
	<table class="table wpsg_mod_productvariants_table_variation">
14
	<table class="table wpsg_mod_productvariants_table_variation">
15
    	<thead>
15
    	<thead>
16
      		<tr>
16
      		<tr>
17
      		
17
      		
18
      			<?php $colspan = 2; if (wpsg_isSizedInt($this->view['product_id'])) { $colspan ++; ?>
18
      			<?php $colspan = 0; if (wpsg_isSizedInt($this->view['product_id'])) { ?>
19
      			<th class="col_active"><?php echo __('Aktiv', 'wpsg'); ?></th>
19
      			<th class="col_active"><?php echo __('Aktiv', 'wpsg'); ?></th>
20
      			<?php } ?>
-
 
21
      		
20
      		
22
      			<th class="col_id"><?php echo __('Id', 'wpsg'); ?></th>
21
      			<th class="col_id"><?php echo __('Id', 'wpsg'); ?></th>
23
        		<th class="col1"><?php echo __('Name', 'wpsg'); ?></th> 
22
        		<th class="col1"><?php echo __('Name', 'wpsg'); ?></th> 
24
        		<th class="col_shortname"><?php echo __('Kurzname'); ?></th>
23
        		<th class="col_shortname"><?php echo __('Kurzname'); ?></th>
-
 
24
      			<?php $colspan += 3; } ?>
25
        		
25
        		
26
        		<?php if (wpsg_isSizedInt($this->view['product_id'])) { $colspan += 3; ?>
26
        		<?php if (wpsg_isSizedInt($this->view['product_id'])) { $colspan += 2; ?>
27
        		<th class="col_artnr"><?php echo __('Artikelnummer', 'wpsg'); ?></th>
27
        		<th class="col_artnr"><?php echo __('Artikelnummer', 'wpsg'); ?></th>
28
        		<th class="col_price"><?php echo __('Preis', 'wpsg'); ?></th>
28
        		<th class="col_price"><?php echo __('Preis', 'wpsg'); ?></th>
29
        		
29
        		
30
				<?php if ($this->hasMod('wpsg_mod_stock')) { ?>
30
				<?php if ($this->hasMod('wpsg_mod_stock')) { ?>
31
        		<th class="col_stock"><?php echo __('Lagerbestand', 'wpsg'); ?></th>
31
        		<th class="col_stock"><?php echo __('Lagerbestand', 'wpsg'); $colspan ++; ?></th>
32
        		<?php } ?>
32
        		<?php } ?>
33
 
33
 
34
				<?php if ($this->hasMod('wpsg_mod_weight')) { ?>
34
				<?php if ($this->hasMod('wpsg_mod_weight')) { ?>
35
        		<th class="col_stock"><?php echo __('Gewicht', 'wpsg'); ?></th>
35
        		<th class="col_stock"><?php echo __('Gewicht', 'wpsg'); $colspan ++; ?></th>
36
        		<?php } ?>
36
        		<?php } ?>
37
 
37
 
38
				<?php if ($this->hasMod('wpsg_mod_fuellmenge')) { ?>
38
				<?php if ($this->hasMod('wpsg_mod_fuellmenge')) { ?>
39
        		<th class="col_stock"><?php echo __('Füllmenge', 'wpsg'); ?></th>
39
        		<th class="col_stock"><?php echo __('Füllmenge', 'wpsg'); $colspan ++; ?></th>
40
        		<?php } ?>
40
        		<?php } ?>
41
 
41
 
42
        		<?php } ?>
42
        		<?php } ?>
43
 
43
 
44
		        <?php if (!wpsg_isSizedInt($this->view['product_id']) || wpsg_isSizedInt($this->view['variant']['product_id'])) { $colspan ++; ?>
44
		        <?php if (!wpsg_isSizedInt($this->view['product_id']) || wpsg_isSizedInt($this->view['variant']['product_id'])) { $colspan ++; ?>
Line 170... Line 170...
170
    			
170
    			
171
    		</tr>
171
    		</tr>
172
    		 
172
    		 
173
			<?php if (wpsg_isSizedInt($this->view['product_id'])) { ?>
173
			<?php if (wpsg_isSizedInt($this->view['product_id'])) { ?>
174
    		<tr class="wpsg_mod_productvariants_productimage_row">
174
    		<tr class="wpsg_mod_productvariants_productimage_row">
175
    			<td class="col_id">&nbsp;</td>
175
    			<td class="col_active">&nbsp;</td>
176
   				<?php 
176
   				<?php 
177
				 
177
				 
178
					$arAttachmentIDs = $this->imagehandler->getAttachmentIDs($this->view['product_id'], $vari['id'], true);
178
					$arAttachmentIDs = $this->imagehandler->getAttachmentIDs($this->view['product_id'], $vari['id'], true);
179
					
179
					
180
				?>
180
				?>