diff options
| author | Daniel Schmitzer <noreply@maennchen1.de> | 2017-03-10 13:00:27 +0000 |
|---|---|---|
| committer | Daniel Schmitzer <noreply@maennchen1.de> | 2017-03-10 13:00:27 +0000 |
| commit | 90f899dfd347a8099d126f4f73888662a28a38e4 (patch) | |
| tree | 199a6a11d991abfe5c3d76ed79a9609c4c9341cf /views/mods | |
| parent | e24fede1a415bf8933b502fd5f683509db91eb07 (diff) | |
- Mechanismus für "ausverkauf.phtml" entfernt.
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6117 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods')
| -rw-r--r-- | views/mods/mod_stock/settings_edit.phtml | 32 |
1 files changed, 1 insertions, 31 deletions
diff --git a/views/mods/mod_stock/settings_edit.phtml b/views/mods/mod_stock/settings_edit.phtml index 60f55db..1cff2d6 100644 --- a/views/mods/mod_stock/settings_edit.phtml +++ b/views/mods/mod_stock/settings_edit.phtml @@ -5,13 +5,7 @@ */
?>
-<?php
- $arTemp = wpsg_array_merge(array('-1' => __('Wie Produkttemplate', 'wpsg')), $this->view['arTemplates']);
-?>
-<?php echo wpsg_drawForm_Select('wpsg_mod_stock_template', __('Template für ausverkaufte Produkte', 'wpsg'),
- $arTemp, @$this->get_option('wpsg_mod_stock_template')); ?>
-<?php echo wpsg_drawForm_Checkbox('wpsg_mod_stock_notemplateswitch', __('Template nicht wechseln', 'wpsg'), $this->get_option('wpsg_mod_stock_notemplateswitch'), array('help' => 'wpsg_mod_stock_notemplateswitch')); ?>
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_stock_allow', __('Bestellungen bei negativen Bestand verhindern', 'wpsg'), $this->get_option('wpsg_mod_stock_allow'), array('help' => 'wpsg_mod_stock_allow')); ?>
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_stock_showBackendStock', __('Bestand in Produktübersicht (Backend) anzeigen', 'wpsg'), $this->get_option('wpsg_mod_stock_showBackendStock'), array('help' => 'wpsg_mod_stock_showBackendStock')); ?>
<?php if ($this->hasMod('wpsg_mod_productindex')) { ?>
@@ -22,28 +16,4 @@ <br />
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_stock_minstockproduct', __('Minimalbestand im Produkt hinterlegen', 'wpsg'), $this->get_option('wpsg_mod_stock_minstockproduct'), array('help' => 'wpsg_mod_stock_minstockproduct')); ?>
-
-<script type="text/javascript">/* <![CDATA[ */ - - jQuery(document).ready(function() {
-
- jQuery('#wpsg_mod_stock_notemplateswitch').bind('change', function() {
-
- if (jQuery(this).attr("checked"))
- {
-
- jQuery('#wpsg_mod_stock_template').attr('disabled', true);
-
- }
- else
- {
-
- jQuery('#wpsg_mod_stock_template').attr('disabled', false);
-
- }
-
- } ).change();
-
- } ); - -/* ]]> */</script>
\ No newline at end of file +
\ No newline at end of file |
