diff options
| author | Daniel Schmitzer <noreply@maennchen1.de> | 2020-10-19 13:00:52 +0000 |
|---|---|---|
| committer | Daniel Schmitzer <noreply@maennchen1.de> | 2020-10-19 13:00:52 +0000 |
| commit | ff9d7b7273b5c17449a09cd63d691eba17e2efd2 (patch) | |
| tree | 0dd8b50204d7007076c0aa82ee6c4e3439666475 /views/admin | |
| parent | ee3ca1819f5b3df048f1d7342094b7f43cfeada7 (diff) | |
- Feature: Erinnerungsmail bei Unvollständigen Bestellungen
- Amazon V2 Commit
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7787 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/admin')
| -rw-r--r-- | views/admin/emailconf.phtml | 9 | ||||
| -rw-r--r-- | views/admin/extended.phtml | 1 | ||||
| -rw-r--r-- | views/admin/form/emailconf.phtml | 21 | ||||
| -rw-r--r-- | views/admin/wpml.phtml | 2 |
4 files changed, 30 insertions, 3 deletions
diff --git a/views/admin/emailconf.phtml b/views/admin/emailconf.phtml index f9644a6..8aade00 100644 --- a/views/admin/emailconf.phtml +++ b/views/admin/emailconf.phtml @@ -134,6 +134,15 @@ __('Statusänderung (Kunde)', 'wpsg'),
__('Diese Mail bekommt der Kunde bei der Änderung des Bestellstatus.', 'wpsg')); ?>
+ <?php echo wpsg_drawEMailConfig(
+ 'reminder',
+ __('Erinnerung bei Nichtabschluss', 'wpsg'),
+ __('Diese Mail bekommen Kunden die eine Bestellung nicht abgeschlossen haben.', 'wpsg'),
+ false,
+ false,
+ 'mailtemplates/reminder.phtml'
+ ); ?>
+
<?php $this->callMods('admin_emailconf'); ?>
<div class="wpsg_hinweis"><?php echo __('Klicken Sie auf die jeweilige Mail um die Einstellungen angezeigt zu bekommen bzw. zu ändern.', 'wpsg'); ?></div>
diff --git a/views/admin/extended.phtml b/views/admin/extended.phtml index bb46ba1..02427c1 100644 --- a/views/admin/extended.phtml +++ b/views/admin/extended.phtml @@ -50,6 +50,7 @@ <?php echo wpsg_drawForm_Checkbox('wpsg_autolineending', __('MAC Kompatibilität bei Dateiimporten', 'wpsg'), $this->get_option('wpsg_autolineending'), array('help' => 'wpsg_autolineending')); ?>
<?php echo wpsg_drawForm_Checkbox('wpsg_dontcopymedia', __('Produktbilder nicht kopieren', 'wpsg'), $this->get_option('wpsg_dontcopymedia'), ['help' => 'wpsg_dontcopymedia']); ?>
<?php echo wpsg_drawForm_Checkbox('wpsg_switchtolowestshippingafterproductremove', __('Nach dem entfernen eines Produktes auf die günstigste Zahlungsart wechseln', 'wpsg'), $this->get_option('wpsg_switchtolowestshippingafterproductremove'), ['help' => 'wpsg_switchtolowestshippingafterproductremove']); ?>
+ <?php echo wpsg_drawForm_Checkbox('wpsg_save_order_after_mail', __('Unvollständige Bestellung nach Eingabe einer E-Mail Adresse speichern', 'wpsg'), $this->get_option('wpsg_save_order_after_mail'), ['help' => 'wpsg_save_order_after_mail']); ?>
<?php echo wpsg_drawForm_Select('wpsg_geo_determination', __('Abfrage des Kundenstandortes (EU-Leistungsortregel)', 'wpsg'), $this->view['arGeoMode'], $this->get_option('wpsg_geo_determination'), array('help' => 'wpsg_geo_determination')); ?>
</div>
diff --git a/views/admin/form/emailconf.phtml b/views/admin/form/emailconf.phtml index 98fd45c..c8c0791 100644 --- a/views/admin/form/emailconf.phtml +++ b/views/admin/form/emailconf.phtml @@ -10,7 +10,14 @@ <?php echo wpsg_drawForm_Input('wpsg_'.$this->view['field_key'].'_cc', __('CC', 'wpsg'), $this->get_option('wpsg_'.$this->view['field_key'].'_cc')); ?>
<?php echo wpsg_drawForm_Input('wpsg_'.$this->view['field_key'].'_bcc', __('BCC', 'wpsg'), $this->get_option('wpsg_'.$this->view['field_key'].'_bcc')); ?>
-
+
+ <?php if ($this->view['field_key'] === 'reminder') { ?>
+
+ <?php echo wpsg_drawForm_Input('wpsg_reminder_hours', __('Automatischer Versand nach Bestellerstellung in Stunden', 'wpsg'), $this->get_option('wpsg_reminder_hours')); ?>
+ <?php echo wpsg_drawForm_Input(false, __('CRON URL', 'wpsg'), site_url().'/?wpsg_cron=1', ['readonly' => true]); ?>
+
+ <?php } ?>
+
<div class="form-group form-group-sm">
<label class="col-sm-6 control-label">
@@ -58,7 +65,17 @@ ?>
<br />
- <?php echo __('* Der restliche E-Mailtext kann nur im Mailtemplate verändert werden', 'wpsg'); ?>
+ <?php echo __('* Der restliche E-Mailtext kann nur im Mailtemplate verändert werden', 'wpsg'); ?>
+ <br />
+
+ <?php if (wpsg_isSizedString($this->view['strTemplate'])) { ?>
+
+ <br />
+
+ <strong><?php echo __('Template', 'wpsg'); ?>: </strong><?php echo $this->view['strTemplate']; ?>
+
+ <?php } ?>
+
<?php if (wpsg_isSizedString($notice)) { ?>
<br />
diff --git a/views/admin/wpml.phtml b/views/admin/wpml.phtml index 9ab858e..e1fb45d 100644 --- a/views/admin/wpml.phtml +++ b/views/admin/wpml.phtml @@ -1,7 +1,7 @@ <?php
/**
- * User: Daschmi (daschmi@daschmi.de)
+ * User: Daschmi (https://daschmi.de)
* Date: 01.06.2017
* Time: 13:53
*/
|
