summaryrefslogtreecommitdiff
path: root/views/mods/mod_export/profil.phtml
diff options
context:
space:
mode:
authorkarl <noreply@maennchen1.de>2023-07-14 07:42:17 +0000
committerkarl <noreply@maennchen1.de>2023-07-14 07:42:17 +0000
commitd0edbfe089466c4937b50b3a4178ba9ad955130b (patch)
treec177854ded9581b4d1c730e34fbd2d0d542345e1 /views/mods/mod_export/profil.phtml
parentb7ffbde9e41f9d346c0da6b53097a6c3bc3f40bd (diff)
- Feature: Modul Exportprofile: Jede mögliche Produktvariantenkombination kann nun als gesondertes Produkt (im CSV-Export) exportiert werden
- Feature: Modul Exportprofile: Produktdetailname ist nun exportierbar git-svn-id: https://[internal]/wordpress/plugins/wpsg4@8317 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods/mod_export/profil.phtml')
-rw-r--r--views/mods/mod_export/profil.phtml12
1 files changed, 11 insertions, 1 deletions
diff --git a/views/mods/mod_export/profil.phtml b/views/mods/mod_export/profil.phtml
index 9284f71..869d2b1 100644
--- a/views/mods/mod_export/profil.phtml
+++ b/views/mods/mod_export/profil.phtml
@@ -66,13 +66,23 @@
</div>
<?php } ?>
+
+ <?php if ($this->view['profil']['export_type'] === wpsg_mod_export::TYPE_PRODUCT) { ?>
+
+ <div class="wpsg_mod_export_format wpsg_mod_export_format_<?php echo wpsg_mod_export::FORMAT_CSV; ?>" style="display:<?php echo (($this->view['profil']['format'] == wpsg_mod_export::FORMAT_CSV)?'block':'none'); ?>">
+
+ <?php echo wpsg_drawForm_Checkbox('csv_pvariants_separated', __('Produkte variantengetrennt exportieren', 'wpsg'), $this->view['profil']['csv_pvariants_separated'], array('label' => __('Optionen', 'wpsg'), 'inlineEdit' => true, 'inlineEdit_url' => $inlineEdit_url)); ?>
+
+ </div>
+
+ <?php } ?>
<div class="wpsg_mod_export_format wpsg_mod_export_format_<?php echo wpsg_mod_export::FORMAT_CSV; ?>" style="display:<?php echo (($this->view['profil']['format'] == wpsg_mod_export::FORMAT_CSV)?'block':'none'); ?>">
<?php echo wpsg_drawForm_Checkbox('csv_fieldnames', __('Spaltennamen in erster Zeile', 'wpsg'), $this->view['profil']['csv_fieldnames'], array('inlineEdit' => true, 'inlineEdit_url' => $inlineEdit_url)); ?>
</div>
-
+
</div>
<div id="tab2" role="tabpanel" class="tab-pane">