diff options
| -rw-r--r-- | views/mods/mod_productvariants/mail_row.phtml | 7 | ||||
| -rw-r--r-- | views/mods/mod_productvariants/mail_row_html.phtml | 16 | ||||
| -rw-r--r-- | views/mods/mod_productvariants/order_view_row.phtml | 18 |
3 files changed, 41 insertions, 0 deletions
diff --git a/views/mods/mod_productvariants/mail_row.phtml b/views/mods/mod_productvariants/mail_row.phtml new file mode 100644 index 0000000..35b0f1f --- /dev/null +++ b/views/mods/mod_productvariants/mail_row.phtml @@ -0,0 +1,7 @@ +<?php
+
+/**
+ * Template für die Variantenintegration in die Kunden- und Adminmail
+ */
+
+?><?php echo wpsg_pad_left(__('Variante:', 'wpsg').' ', 15); ?><?php echo $this->view['variante']['key']; ?>
diff --git a/views/mods/mod_productvariants/mail_row_html.phtml b/views/mods/mod_productvariants/mail_row_html.phtml new file mode 100644 index 0000000..e4f8864 --- /dev/null +++ b/views/mods/mod_productvariants/mail_row_html.phtml @@ -0,0 +1,16 @@ +<?php
+
+ /**
+ * Template für die Variantenintegration in die HTML Kunden- und Adminmail
+ */
+
+ $i = $this->view['i'];
+
+?>
+<tr class="productrow productrow2 <?php echo ((($i % 2) == 0)?'productrow_odd':'productrow_even'); ?>">
+ <td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_pos"> </td>
+ <td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_name"><?php echo __('Variante', 'wpsg'); ?>:</td>
+ <td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_name" colspan="<?php echo ((sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1')?'4':'3'); ?>">
+ <?php echo wpsg_hspc($this->view['variante']['key']); ?>
+ </td>
+</tr>
diff --git a/views/mods/mod_productvariants/order_view_row.phtml b/views/mods/mod_productvariants/order_view_row.phtml new file mode 100644 index 0000000..2ba41ef --- /dev/null +++ b/views/mods/mod_productvariants/order_view_row.phtml @@ -0,0 +1,18 @@ +<?php
+
+ /**
+ * Anzeige des Variantennamens in der Bestellverwaltung
+ */
+
+ $i = $this->view['i'];
+
+?>
+
+<tr class="wpsg_<?php echo (($i % 2 == 0)?'odd':'even'); ?>">
+ <td class="wpsg_cell_name">
+ <?php echo __('Variante', 'wpsg'); ?>:
+ </td>
+ <td class="wpsg_cell_gesamtpreis" colspan="<?php echo ((sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1')?4:3); ?>">
+ <?php echo $this->view['variante']['key']; ?>
+ </td>
+</tr>
|
