5824 |
thomas |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
/**
|
|
|
4 |
* Dieses Template wird für die HTML Mail beim Erreichen des Mindestlagerbestandes eines Produktes verwendet
|
|
|
5 |
*/
|
|
|
6 |
|
|
|
7 |
$this->htmlMail = true;
|
|
|
8 |
|
7096 |
florian |
9 |
include(WPSG_PATH_VIEW . 'mailtemplates/html/logo.phtml');
|
|
|
10 |
|
5824 |
thomas |
11 |
?>
|
|
|
12 |
|
7096 |
florian |
13 |
<p><?php echo __('Hallo ', 'wpsg').$GLOBALS['stockemail_prodvariant']['admin_name'].','; ?></p>
|
5824 |
thomas |
14 |
|
7096 |
florian |
15 |
<?php
|
|
|
16 |
if(isset($GLOBALS['stockemail_prodvariant']) && wpsg_isSizedArray($GLOBALS['stockemail_prodvariant']))
|
|
|
17 |
{
|
5824 |
thomas |
18 |
|
7096 |
florian |
19 |
echo wpsg_translate(__('Eine Produktvariation hat das Erreichen des minimalen Lagerbestands am #1# um #2# Uhr gemeldet.', 'wpsg'), date('d.m.Y'), date('H:i'));
|
7457 |
daniel |
20 |
echo '<br />';
|
|
|
21 |
echo __("Produkt").': '.$GLOBALS['stockemail_prodvariant']['produkt']['id'].' '.$GLOBALS['stockemail_prodvariant']['produkt']['name'].' ';
|
|
|
22 |
echo '<br />';
|
7096 |
florian |
23 |
echo __("Produktvariation").': '.$GLOBALS['stockemail_prodvariant']['variant']['id'].' '.$GLOBALS['stockemail_prodvariant']['variant']['name'];
|
|
|
24 |
|
|
|
25 |
}
|
|
|
26 |
else
|
|
|
27 |
{
|
|
|
28 |
|
|
|
29 |
echo wpsg_translate(__('Ein Produkt hat das Erreichen des minimalen Lagerbestand am #1# um #2# Uhr gemeldet.', 'wpsg'), date('d.m.Y'), date('H:i'));
|
|
|
30 |
echo ('<br />');
|
|
|
31 |
foreach ((array)$this->basket->arProdukte as $p)
|
|
|
32 |
$id = $p['id'];
|
|
|
33 |
echo ('<br />');
|
|
|
34 |
echo __('Produkt').': '.$p['id'].' '.$p['name'];
|
|
|
35 |
|
|
|
36 |
}
|
6335 |
hartmut |
37 |
?>
|
|
|
38 |
|
5824 |
thomas |
39 |
<p><?php echo __('Mit freundlichen Grüßen', 'wpsg'); ?></p>
|
|
|
40 |
|
6335 |
hartmut |
41 |
<p><?php echo __($this->get_option('wpsg_shopdata_name'), 'wpsg'); ?> - <?php echo __('Team', 'wpsg'); ?></p>
|