summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2019-10-02 05:14:13 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2019-10-02 05:14:13 +0000
commitd94de97f1deed3609d5ceee26f0be10372e78f3f (patch)
treea28b0ba02707452ada5ce569fc34233846707976
parent0f446662748751a7ffaca4688a5d01ad922570db (diff)
- Feature: Produktartikel - Positionsspalte in Backend sichtbar und sortierbar
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7579 0d5edaf7-2b12-4e95-93f4-047927463d4b
-rw-r--r--views/produkt/index.phtml14
1 files changed, 8 insertions, 6 deletions
diff --git a/views/produkt/index.phtml b/views/produkt/index.phtml
index c66703c..4ac4939 100644
--- a/views/produkt/index.phtml
+++ b/views/produkt/index.phtml
@@ -158,6 +158,9 @@
<tr>
<th class="manage-column column-title wpsg_pic_col"></th>
<th class="wpsg_order" data-order="name"><?php echo __("Name", 'wpsg'); ?></th>
+ <?php if ($this->hasMod('wpsg_mod_produktartikel')) { ?>
+ <th class="wpsg_order" data-order="pos"><?php echo __('Pos.', 'wpsg'); ?></th>
+ <?php } ?>
<th class="wpsg_order" data-order="anr"><?php echo __("Artikelnummer", 'wpsg'); ?></th>
<?php /* if ($this->hasMod('wpsg_mod_produktartikel') && $this->get_option('wpsg_mod_produktartikel_positionnumber') == '1') { ?>
@@ -255,12 +258,11 @@
<?php $this->callMods('produkt_index_editmenu', array(&$d)); ?>
</div>
</td>
- <td><?php echo wpsg_hspc($d['anr']); ?></td>
- <?php /* if ($this->hasMod('wpsg_mod_produktartikel') && $this->get_option('wpsg_mod_produktartikel_positionnumber') == '1') { ?>
- <td>
- <?php ?>
- </td>
- <?php } */ ?>
+ <?php if ($this->hasMod('wpsg_mod_produktartikel')) { ?>
+ <td class="wpsg_pos" data-order="pos">
+ <?php echo $oProduct->getMenuOrder(); ?>
+ </td>
+ <?php } ?>
<?php if ($this->hasMod('wpsg_mod_produktartikel') && $this->get_option('wpsg_mod_produktartikel_gtin') == '1') { ?>
<td><?php echo wpsg_hspc($d['gtin']); ?></td>
<?php } ?>