Line 35... |
Line 35... |
35 |
<th class="col1"><?php echo __('Name', 'wpsg'); ?></th>
|
35 |
<th class="col1"><?php echo __('Name', 'wpsg'); ?></th>
|
36 |
<th class="col_shortname"><?php echo __('Kurzname'); ?></th>
|
36 |
<th class="col_shortname"><?php echo __('Kurzname'); ?></th>
|
37 |
<?php $colspan += 3; ?>
|
37 |
<?php $colspan += 3; ?>
|
38 |
|
38 |
|
39 |
<?php if (wpsg_isSizedInt($this->view['product_id'])) { $colspan += 2; ?>
|
39 |
<?php if (wpsg_isSizedInt($this->view['product_id'])) { $colspan += 2; ?>
|
40 |
<th class="col_artnr"><?php echo __('Artikelnummer', 'wpsg'); ?></th>
|
40 |
<!--<th class="col_artnr"><?php echo __('Artikelnummer', 'wpsg'); ?></th>-->
|
41 |
<th class="col_price"><?php echo __('Preis', 'wpsg'); ?></th>
|
41 |
<th class="col_price"><?php echo __('Preis', 'wpsg'); ?></th>
|
42 |
|
42 |
|
43 |
<?php if ($this->hasMod('wpsg_mod_stock')) { ?>
|
43 |
<?php if ($this->hasMod('wpsg_mod_stock')) { ?>
|
44 |
<th class="col_stock"><?php echo __('Lagerbestand', 'wpsg'); $colspan ++; ?></th>
|
44 |
<th class="col_stock"><?php echo __('Lagerbestand', 'wpsg'); $colspan ++; ?></th>
|
45 |
<th class="col_stock col_min_stock"><?php echo __('Minimallagerbestand', 'wpsg'); $colspan ++; ?></th>
|
45 |
<th class="col_stock col_min_stock"><?php echo __('Minimallagerbestand', 'wpsg'); $colspan ++; ?></th>
|
Line 168... |
Line 168... |
168 |
<input type="hidden" id="productvariation_iid_<?php echo $vari['id']; ?>" value="<?php echo wpsg_getStr($vari['iid']); ?>" />
|
168 |
<input type="hidden" id="productvariation_iid_<?php echo $vari['id']; ?>" value="<?php echo wpsg_getStr($vari['iid']); ?>" />
|
169 |
</td>
|
169 |
</td>
|
170 |
<td class="col_shortname"><span class="wpsg_editable" id="productvariation_shortname_<?php echo $vari['id']; ?>"><?php echo wpsg_hspc($vari['shortname']); ?></span></td>
|
170 |
<td class="col_shortname"><span class="wpsg_editable" id="productvariation_shortname_<?php echo $vari['id']; ?>"><?php echo wpsg_hspc($vari['shortname']); ?></span></td>
|
171 |
|
171 |
|
172 |
<?php if (wpsg_isSizedInt($this->view['product_id'])) { ?>
|
172 |
<?php if (wpsg_isSizedInt($this->view['product_id'])) { ?>
|
173 |
<td class="col_artnr"><span class="wpsg_editable" id="productvariation_anr_<?php echo $vari['id']; ?>"><?php echo wpsg_hspc($vari['anr']); ?></span></td>
|
173 |
<!--<td class="col_artnr"><span class="wpsg_editable" id="productvariation_anr_<?php echo $vari['id']; ?>"><?php echo wpsg_hspc($vari['anr']); ?></span></td>-->
|
174 |
<td class="col_price"><span class="wpsg_editable" id="productvariation_price_<?php echo $vari['id']; ?>"><?php echo wpsg_hspc(wpsg_ff($vari['price'], $this->get_option('wpsg_currency'))); ?></span></td>
|
174 |
<td class="col_price"><span class="wpsg_editable" id="productvariation_price_<?php echo $vari['id']; ?>"><?php echo wpsg_hspc(wpsg_ff($vari['price'], $this->get_option('wpsg_currency'))); ?></span></td>
|
175 |
|
175 |
|
176 |
<?php if ($this->hasMod('wpsg_mod_stock')) { ?>
|
176 |
<?php if ($this->hasMod('wpsg_mod_stock')) { ?>
|
177 |
<td class="col_stock"><span class="wpsg_editable" id="productvariation_stock_<?php echo $vari['id']; ?>"><?php echo wpsg_hspc($vari['stock']); ?></span></td>
|
177 |
<td class="col_stock"><span class="wpsg_editable" id="productvariation_stock_<?php echo $vari['id']; ?>"><?php echo wpsg_hspc($vari['stock']); ?></span></td>
|
178 |
<td class="col_stock"><span class="wpsg_editable" id="productvariation_min_stock_<?php echo $vari['id']; ?>"><?php echo wpsg_hspc($vari['min_stock']); ?></span></td>
|
178 |
<td class="col_stock"><span class="wpsg_editable" id="productvariation_min_stock_<?php echo $vari['id']; ?>"><?php echo wpsg_hspc($vari['min_stock']); ?></span></td>
|
Line 314... |
Line 314... |
314 |
<?php } ?>
|
314 |
<?php } ?>
|
315 |
|
315 |
|
316 |
</div>
|
316 |
</div>
|
317 |
<?php } ?>
|
317 |
<?php } ?>
|
318 |
|
318 |
|
319 |
<?php if (wpsg_isSizedInt($this->view['product_id'])) { ?>
|
319 |
<?php /* if (wpsg_isSizedInt($this->view['product_id'])) { ?>
|
320 |
<div style="margin-top:0.25rem;">
|
320 |
<div style="margin-top:0.25rem;">
|
321 |
<span>EAN:
|
321 |
<span>EAN:
|
322 |
<span title="<?php echo __('EAN der Produktvariation', 'wpsg'); ?>" class="wpsg_editable" id="productvariation_ean_<?php echo $vari['id']; ?>"><?php echo $vari['ean']??''; ?></span>
|
322 |
<span title="<?php echo __('EAN der Produktvariation', 'wpsg'); ?>" class="wpsg_editable" id="productvariation_ean_<?php echo $vari['id']; ?>"><?php echo $vari['ean']??''; ?></span>
|
323 |
</span>
|
323 |
</span>
|
324 |
<script>
|
324 |
<script>
|
Line 331... |
Line 331... |
331 |
}
|
331 |
}
|
332 |
});
|
332 |
});
|
333 |
|
333 |
|
334 |
</script>
|
334 |
</script>
|
335 |
</div>
|
335 |
</div>
|
336 |
<?php } ?>
|
336 |
<?php } */ ?>
|
337 |
|
337 |
|
338 |
<script>
|
338 |
<script>
|
339 |
|
339 |
|
340 |
function wpsg_mod_downloadplus_setProducts(vari_id, active) {
|
340 |
function wpsg_mod_downloadplus_setProducts(vari_id, active) {
|
341 |
|
341 |
|