summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2017-09-04 07:29:57 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2017-09-04 07:29:57 +0000
commit10d29b89cc400374cf31a034344e8554ed528e97 (patch)
tree9975441b5362da42ea0d6809b4fcdc6887d519a7
parent73f68f75e2d884e0184eb305f47b3dcc3308d756 (diff)
Möglichkeit Produkte zu deaktivieren, die dann auch aus der Suche ausgeschlossen werden
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6443 0d5edaf7-2b12-4e95-93f4-047927463d4b
-rw-r--r--views/produkt/addedit_general.phtml5
1 files changed, 4 insertions, 1 deletions
diff --git a/views/produkt/addedit_general.phtml b/views/produkt/addedit_general.phtml
index c39b608..d45d3ee 100644
--- a/views/produkt/addedit_general.phtml
+++ b/views/produkt/addedit_general.phtml
@@ -7,7 +7,10 @@
?>
<?php echo wpsg_drawForm_AdminboxStart(__('Allgemein', 'wpsg')); ?>
- <?php echo wpsg_drawForm_Input('name', __('Produktname', 'wpsg'), wpsg_getStr($this->view['data']['name']), array('placeholder' => __('Bitte hier den Produktnamen eingeben', 'wpsg'))); ?>
+ <?php echo wpsg_drawForm_Input('name', __('Produktname', 'wpsg'), wpsg_getStr($this->view['data']['name']), array('placeholder' => __('Bitte hier den Produktnamen eingeben', 'wpsg'))); ?>
+
+ <?php echo wpsg_drawForm_Select('disabled', __('Status', 'wpsg'), array('0' => __('Aktiv', 'wpsg'), '1' => __('Deaktiviert', 'wpsg')), wpsg_getStr($this->view['data']['disabled'])); ?>
+
<?php if ($this->isMultiLingual()) { ?>
<?php echo wpsg_drawForm_TextStart(); ?>
<?php foreach ($this->getStoreLanguages() as $a) { ?>