Shop Hosting
Neuigkeiten
  • Die modified eCommerce Shopsoftware ist kostenlos, aber nicht umsonst.
    Spenden
  • Damit wir die modified eCommerce Shopsoftware auch zukünftig kostenlos anbieten können:
    Spenden
  • Thema: ANLEITUNG: Zwei getrennte E-Mails an Admin und Kunde

    Tomcraft

    • modified Team
    • Gravatar
    • Beiträge: 46.369
    • Geschlecht:
    ANLEITUNG: Zwei getrennte E-Mails an Admin und Kunde
    am: 27. September 2010, 19:02:45
    Hier eine Anleitung:

    Hier die Anleitung und die Dateien für zwei separate E-Mail für den Kunden und den Admin. Die Admin Mail erhält zusätzliche Angaben (Geburtsdatum und Telefon).

    Zunächst die "/templates/xtc5/mail/german/order_mail.html" in

    "order_mail_admin.html"
    "order_mail_customer.html"

    ändern

    In die "order_mail_admin.html" nach

    Code: PHP  [Auswählen]
    <strong>Ihre E-Mail Adresse:</strong> {$EMAIL}<br /><br />

    einfügen

    Code: PHP  [Auswählen]
    <strong>Geburtsdatum:</strong>{$CUSTOMER_DOB}<br /><br />
    <strong>Tel.-Nr.:</strong>{$PHONE}<br /><br />

    und ganz unten

    Code: PHP  [Auswählen]
    [SIGNATUR]
    [WIDERRUF]

    löschen

    Die beiden Dateien hoch laden, bzw. die "send_order.php" anpassen.

    Quelle: Bestell E-Mail Inhalte Angaben zum Kunden und Bestellung

    Anleitung für die Überarbeitung der "send_order.php":

    Suche

    Code: PHP  [Auswählen]
    $html_mail = $smarty->fetch(CURRENT_TEMPLATE.'/mail/'.$_SESSION['language'].'/order_mail.html');
    $txt_mail = $smarty->fetch(CURRENT_TEMPLATE.'/mail/'.$_SESSION['language'].'/order_mail.txt');

    Ersetze mit

    Code: PHP  [Auswählen]
    // Admin und Customer Emails getrennt - auch unten bei "send mail to admin bzw customer" angepasst
    $html_mail_admin = $smarty->fetch(CURRENT_TEMPLATE.'/mail/'.$_SESSION['language'].'/order_mail_admin.html');
    $txt_mail_admin = $smarty->fetch(CURRENT_TEMPLATE.'/mail/'.$_SESSION['language'].'/order_mail_admin.txt');
    $html_mail_customer = $smarty->fetch(CURRENT_TEMPLATE.'/mail/'.$_SESSION['language'].'/order_mail_customer.html');
    $txt_mail_customer = $smarty->fetch(CURRENT_TEMPLATE.'/mail/'.$_SESSION['language'].'/order_mail_customer.txt');

    Suche

    Code: PHP  [Auswählen]
    // send mail to admin

    und suche dort

    Code: PHP  [Auswählen]
    $html_mail,
    $txt_mail);

    und ersetze dort mit

    Code: PHP  [Auswählen]
    $html_mail_admin,
    $txt_mail_admin);

    Und suche dann

    Code: PHP  [Auswählen]
    // send mail to customer

    und suche dort

    Code: PHP  [Auswählen]
    $html_mail,
    $txt_mail);

    und ersetze mit

    Code: PHP  [Auswählen]
    $html_mail_customer,
    $txt_mail_customer);

    Grüße

    Torsten

    [EDIT Tomcraft 20.09.2011: Anleitung für die manuelle Anpassung der "send_order.php" von Eichenhorn eingefügt.]

    Linkback: https://www.modified-shop.org/forum/index.php?topic=8321.0
    Templateshop - Eine große Auswahl an neuen und modernen Templates für die modified eCommerce Shopsoftware

    albersmann

    • Fördermitglied
    • Beiträge: 786
    • Geschlecht:
    ANLEITUNG: Zwei getrennte E-Mails an Admin und Kunde
    Antwort #1 am: 27. September 2010, 19:08:38
    :thx:

    Thomas

    • Fördermitglied
    • Beiträge: 1.587
    ANLEITUNG: Zwei getrennte E-Mails an Admin und Kunde
    Antwort #2 am: 27. September 2010, 20:24:31
    Super Sache! Vielen Dank.

    joachimott

    • Neu im Forum
    • Beiträge: 23
    ANLEITUNG: Zwei getrennte E-Mails an Admin und Kunde
    Antwort #3 am: 29. September 2010, 08:20:31
    Ich habe das eingebaut und getestet: Klappt auf Anhieb, auch der Einbau ist kinderleicht und problemlos. Vielen Dank!

    speedy

    • Viel Schreiber
    • Beiträge: 3.214
    ANLEITUNG: Zwei getrennte E-Mails an Admin und Kunde
    Antwort #4 am: 29. September 2010, 23:56:11
    Wäre tatsächlich sinnvoll Admins nicht immer einfach nur 1:1 die Kunden-Mails zuzustellen.

    Tomcraft

    • modified Team
    • Gravatar
    • Beiträge: 46.369
    • Geschlecht:
    ANLEITUNG: Zwei getrennte E-Mails an Admin und Kunde
    Antwort #5 am: 30. September 2010, 09:14:21
    Ja, man könnte das Widerrufsrecht bei den Admin-E-Mails weg lassen, obwohl andere das unbedingt haben wollen aus "Beweisführungs-Gründen".

    Grüße

    Torsten

    ideeos.de

    • Mitglied
    • Beiträge: 190
    • Geschlecht:
    ANLEITUNG: Zwei getrennte E-Mails an Admin und Kunde
    Antwort #6 am: 30. September 2010, 11:01:18
    Signatur und Widerruf können beim Admin weg. Interessant ist es, wenn die Adminmail Inhalte für die Weiterverarbeitung in der WaWi enthält. Also Geb. Tel. PLZ. Diese Angaben sind für den Kunden irrelevant und erleichtern die weitere Arbeit.

    webmaster-uk

    • Mitglied
    • Beiträge: 238
    ANLEITUNG: Zwei getrennte E-Mails an Admin und Kunde
    Antwort #7 am: 05. Oktober 2010, 15:16:33
    ich habe ein Problem. Habe das so eingefügt aber bekomme in der E-Mail nun folgende Fehlermeldung und auch nur an die E-Mail Adresse des Bestellers, und nicht an beide

    Code: PHP  [Auswählen]
    Warning: Smarty error: unable to read resource: "xtc5/mail/german/order_mail.html" in /home/httpd/html/iko-import.de/www/shop/includes/classes/Smarty_2.6.26/Smarty.class.php on line 1097

    Warning: Smarty error: unable to read resource: "xtc5/mail/german/order_mail.html" in /home/httpd/html/iko-import.de/www/shop/includes/classes/Smarty_2.6.26/Smarty.class.php on line 1097

    wo liegt das Problem?

    Tomcraft

    • modified Team
    • Gravatar
    • Beiträge: 46.369
    • Geschlecht:
    ANLEITUNG: Zwei getrennte E-Mails an Admin und Kunde
    Antwort #8 am: 05. Oktober 2010, 18:13:42
    Die Datei "xtc5/mail/german/order_mail.html" wird bei dir nicht gefunden, überprüfe bitte, dass sie an richtiger Stelle liegt.

    Grüße

    Torsten

    Eichenhorn

    • Fördermitglied
    • Beiträge: 503
    Re: ANLEITUNG: Zwei getrennte E-Mails an Admin und Kunde
    Antwort #9 am: 19. September 2011, 23:34:51
    Hier die angepasste Version der "send_order.php" für modified eCommerce Shopsoftware 1.05 SP1a:

    Code: PHP  [Auswählen]
    <?php
    /* -----------------------------------------------------------------------------------------
       $Id: send_order.php 1510 2010-11-22 13:24:04Z dokuman $

       modified eCommerce Shopsoftware - community made shopping
       http://www.modified eCommerce Shopsoftware.org

       Copyright (c) 2010 modified eCommerce Shopsoftware
       -----------------------------------------------------------------------------------------
       based on:
       (c) 2000-2001 The Exchange Project  (earlier name of osCommerce)
       (c) 2002-2003 osCommerce; www.oscommerce.com
       (c) 2003      nextcommerce; www.nextcommerce.org
       (c) 2006      xt:Commerce; www.(( Wir dulden keine kommerziellen Werbelinks - Bitte Forenregeln beachten! ))

       Released under the GNU General Public License
       ---------------------------------------------------------------------------------------*/


    require_once (DIR_FS_INC.'xtc_get_order_data.inc.php');
    require_once (DIR_FS_INC.'xtc_get_attributes_model.inc.php');
    // check if customer is allowed to send this order!
    $order_query_check = xtc_db_query("SELECT
                                            customers_id
                                            FROM "
    .TABLE_ORDERS."
                                            WHERE orders_id='"
    .$insert_id."'");

    $order_check = xtc_db_fetch_array($order_query_check);
    //BOF - web28 - 2010-03-20 - Send Order by Admin
    //if ($_SESSION['customer_id'] == $order_check['customers_id'] ) {
    if ($_SESSION['customer_id'] == $order_check['customers_id'] || $send_by_admin) {
    //EOF - web28 - 2010-03-20 - Send Order by Admin

            $order = new order($insert_id);

      //BOF - web28 - 2010-03-20 - Send Order by Admin
            if (isset($send_by_admin)) {//DokuMan - 2010-09-18 - Undefined variable: send_by_admin
                    $xtPrice = new xtcPrice($order->info['currency'], $order->info['status']);
            }
      //EOF - web28 - 2010-03-20 - Send Order by Admin

            $smarty->assign('address_label_customer', xtc_address_format($order->customer['format_id'], $order->customer, 1, '', '<br />'));
            $smarty->assign('address_label_shipping', xtc_address_format($order->delivery['format_id'], $order->delivery, 1, '', '<br />'));
        if (!isset($_SESSION['credit_covers']) || $_SESSION['credit_covers'] != '1') {
                    $smarty->assign('address_label_payment', xtc_address_format($order->billing['format_id'], $order->billing, 1, '', '<br />'));
            }
            $smarty->assign('csID', $order->customer['csID']);

            $order_total = $order->getTotalData($insert_id); //ACHTUNG für Bestellbestätigung  aus Admin Funktion in admin/includes/classes/order.php
            $smarty->assign('order_data', $order->getOrderData($insert_id)); //ACHTUNG für Bestellbestätigung  aus Admin Funktion in admin/includes/classes/order.php
            $smarty->assign('order_total', $order_total['data']);

            // assign language to template for caching
            $smarty->assign('language', $_SESSION['language']);
           
            $smarty->assign('tpl_path','templates/'.CURRENT_TEMPLATE.'/');
           
            $smarty->assign('logo_path', HTTP_SERVER.DIR_WS_CATALOG.'templates/'.CURRENT_TEMPLATE.'/img/');
            $smarty->assign('oID', $insert_id);
            if ($order->info['payment_method'] != '' && $order->info['payment_method'] != 'no_payment') {
            //BOF - web28 - 2010-03-20 - Send Order by Admin
            if (isset($send_by_admin)) include (DIR_FS_LANGUAGES.$_SESSION['language'].'/modules/payment/'.$order->info['payment_method'].'.php'); //DokuMan - 2010-09-18 - Undefined variable: send_by_admin
                    else
            //EOF - web28 - 2010-03-20 - Send Order by Admin
                    include (DIR_WS_LANGUAGES.$_SESSION['language'].'/modules/payment/'.$order->info['payment_method'].'.php');
                    $payment_method = constant(strtoupper('MODULE_PAYMENT_'.$order->info['payment_method'].'_TEXT_TITLE'));
            }
            $smarty->assign('PAYMENT_METHOD', $payment_method);
            $smarty->assign('DATE', xtc_date_long($order->info['date_purchased']));

            $smarty->assign('NAME', $order->customer['name']);

            //BOF - web28 - 2010-08-20 - Anrede {$GENDER} in Bestätigungsmail verfügbar machen
            $gender_query = xtc_db_query("SELECT customers_gender FROM " . TABLE_CUSTOMERS . " WHERE customers_id = '" . $order->customer['id'] . "'");
            $gender = xtc_db_fetch_array($gender_query);
            if ($gender['customers_gender']=='f') {
                    $smarty->assign('GENDER', FEMALE);
            } elseif ($gender['customers_gender']=='m') {
                    $smarty->assign('GENDER', MALE);
            } else {
                    $smarty->assign('GENDER', '');
            }
            //EOF - web28 - 2010-08-20 - Anrede {$GENDER} in Bestätigungsmail verfügbar machen

            //BOF - web28 - 2010-08-20 - Erweiterung Variablen für Bestätigungsmail
            $smarty->assign('CITY', $order->customer['city']);
            $smarty->assign('POSTCODE', $order->customer['postcode']);
            $smarty->assign('STATE', $order->customer['state']);
            $smarty->assign('COUNTRY', $order->customer['country']);
            $smarty->assign('COMPANY', $order->customer['company']);
            $smarty->assign('STREET', $order->customer['street_address']);
            $smarty->assign('FIRSTNAME', $order->customer['firstname']);
        $smarty->assign('LASTNAME', $order->customer['lastname']);
            //EOF - web28 - 2010-08-20 - Erweiterung Variablen für Bestätigungsmail

            $smarty->assign('COMMENTS', $order->info['comments']);
            $smarty->assign('EMAIL', $order->customer['email_address']);
            $smarty->assign('PHONE',$order->customer['telephone']);

            //BOF  - web28 - 2010-03-27 PayPal Bezahl-Link
            unset ($_SESSION['paypal_link']);
        if ($order->info['payment_method'] == 'paypal_ipn') {

                    //BOF - web28 - 2010-06-11 - Send Order  by Admin Paypal IPN
                if(isset($send_by_admin)) { //DokuMan - 2010-09-18 - Undefined variable: send_by_admin
                            require (DIR_FS_CATALOG_MODULES.'payment/paypal_ipn.php');
                            include(DIR_FS_LANGUAGES.$_SESSION['language'].'/modules/payment/paypal_ipn.php');
                            $payment_modules = new paypal_ipn;
                    }
                    //EOF - web28 - 2010-06-11 - Send Order  by Admin Paypal IPN

                $order_id= $insert_id;
                    $paypal_link = array();
            $payment_modules->create_paypal_link();

                    $smarty->assign('PAYMENT_INFO_HTML', $paypal_link['html']);
                    $smarty->assign('PAYMENT_INFO_TXT',  MODULE_PAYMENT_PAYPAL_IPN_TXT_EMAIL . $paypal_link['text']);
            $_SESSION['paypal_link']= $paypal_link['checkout'];

        }
            //EOF  - web28 - 2010-03-27 PayPal Bezahl-Link

            // PAYMENT MODUL TEXTS
            // EU Bank Transfer
            if ($order->info['payment_method'] == 'eustandardtransfer') {
                    $smarty->assign('PAYMENT_INFO_HTML', MODULE_PAYMENT_EUTRANSFER_TEXT_DESCRIPTION);
                    $smarty->assign('PAYMENT_INFO_TXT', str_replace("<br />", "\n", MODULE_PAYMENT_EUTRANSFER_TEXT_DESCRIPTION));
            }

            // MONEYORDER
            if ($order->info['payment_method'] == 'moneyorder') {
                    $smarty->assign('PAYMENT_INFO_HTML', MODULE_PAYMENT_MONEYORDER_TEXT_DESCRIPTION);
                    $smarty->assign('PAYMENT_INFO_TXT', str_replace("<br />", "\n", MODULE_PAYMENT_MONEYORDER_TEXT_DESCRIPTION));
            }

            // dont allow cache
            $smarty->caching = 0;


            // EICHENHORN: Admin und Customer Emails getrennt - auch unten bei "send mail to admin bzw customer" angepasst
            $html_mail_admin = $smarty->fetch(CURRENT_TEMPLATE.'/mail/'.$_SESSION['language'].'/order_mail_admin.html');
            $txt_mail_admin = $smarty->fetch(CURRENT_TEMPLATE.'/mail/'.$_SESSION['language'].'/order_mail_admin.txt');
            $html_mail_customer = $smarty->fetch(CURRENT_TEMPLATE.'/mail/'.$_SESSION['language'].'/order_mail_customer.html');
            $txt_mail_customer = $smarty->fetch(CURRENT_TEMPLATE.'/mail/'.$_SESSION['language'].'/order_mail_customer.txt');

            // create subject
            $order_subject = str_replace('{$nr}', $insert_id, EMAIL_BILLING_SUBJECT_ORDER);
            $order_subject = str_replace('{$date}', strftime(DATE_FORMAT_LONG), $order_subject);
            $order_subject = str_replace('{$lastname}', $order->customer['lastname'], $order_subject);
            $order_subject = str_replace('{$firstname}', $order->customer['firstname'], $order_subject);

            // send mail to admin
      //BOF Dokuman - 2009-08-19 - BUGFIX: #0000227 customers surname in reply address in orders mail to admin
      //xtc_php_mail(EMAIL_BILLING_ADDRESS, EMAIL_BILLING_NAME, EMAIL_BILLING_ADDRESS, STORE_NAME, EMAIL_BILLING_FORWARDING_STRING, $order->customer['email_address'], $order->customer['firstname'], '', '', $order_subject, $html_mail_admin, $txt_mail_admin);
            xtc_php_mail(EMAIL_BILLING_ADDRESS,
                                     EMAIL_BILLING_NAME,
                                     EMAIL_BILLING_ADDRESS,
                                     STORE_NAME,
                                     EMAIL_BILLING_FORWARDING_STRING,
                                     $order->customer['email_address'],
                                     $order->customer['firstname'].' '.$order->customer['lastname'], '', '',
                                     $order_subject,
                                     $html_mail_admin,
                                     $txt_mail_admin);
      //EOF Dokuman - 2009-08-19 - BUGFIX: #0000227 customers surname in reply address in orders mail to admin

            // send mail to customer
      //BOF - Dokuman - 2009-10-17 - Send emails to customer only, when set to "true" in admin panel
      //BOF - web28 - 2010-03-20 - Send Order by Admin
      //if (SEND_EMAILS == 'true') {
            if (SEND_EMAILS == 'true' || $send_by_admin) {
      //BOF - web28 - 2010-03-20 - Send Order by Admin
      //EOF - Dokuman - 2009-10-17 - Send emails to customer only, when set to "true" in admin panel
            xtc_php_mail(EMAIL_BILLING_ADDRESS,
                                     EMAIL_BILLING_NAME,
                                     $order->customer['email_address'],
                                     $order->customer['firstname'].' '.$order->customer['lastname'], '',
                                     EMAIL_BILLING_REPLY_ADDRESS,
                                     EMAIL_BILLING_REPLY_ADDRESS_NAME, '', '',
                                     $order_subject,
                                     $html_mail_customer,
                                     $txt_mail_customer);
      //BOF - Dokuman - 2009-10-17 - Send emails to customer only, when set to "true" in admin panel
      }
      //EOF - Dokuman - 2009-10-17 - Send emails to customer only, when set to "true" in admin panel

            if (AFTERBUY_ACTIVATED == 'true') {
                    require_once (DIR_WS_CLASSES.'afterbuy.php');
                    $aBUY = new xtc_afterbuy_functions($insert_id);
                    if ($aBUY->order_send())
                            $aBUY->process_order();
            }
      //BOF - web28 - 2010-03-20 - Send Order by Admin
            if(isset($send_by_admin)) { //DokuMan - 2010-09-18 - Undefined variable: send_by_admin
                $customer_notified = '1';
                    $orders_status_id = '1';

                    xtc_db_query("insert into ".TABLE_ORDERS_STATUS_HISTORY." (orders_id, orders_status_id, date_added, customer_notified, comments) values ('".xtc_db_input($insert_id)."', '".xtc_db_input($orders_status_id)."', now(), '".$customer_notified."', '".COMMENT_SEND_ORDER_BY_ADMIN."')");

                    $messageStack->add_session(SUCCESS_ORDER_SEND, 'success');

                    if (isset($_GET['site']) && $_GET['site'] == 1) { //DokuMan - 2010-09-18 - Undefined variable
                            xtc_redirect(xtc_href_link(FILENAME_ORDERS, 'oID='.$_GET['oID'].'&action=edit'));
                    } else xtc_redirect(xtc_href_link(FILENAME_ORDERS, 'oID='.$_GET['oID']));
            }
      //EOF - web28 - 2010-03-20 - Send Order by Admin

    } else {
            $smarty->assign('ERROR', 'You are not allowed to view this order!');
            $smarty->display(CURRENT_TEMPLATE.'/module/error_message.html');
    }
    ?>

    Meine Änderung ist mit EICHENHORN gekennzeichnet.

    Tomcraft

    • modified Team
    • Gravatar
    • Beiträge: 46.369
    • Geschlecht:
    Re: ANLEITUNG: Zwei getrennte E-Mails an Admin und Kunde
    Antwort #10 am: 20. September 2011, 00:30:28
    Ist es nicht sinnvoller die Anleitung in der Art mal aufzumotzen, dass man sagt:

    Suche:

    Code: PHP  [Auswählen]
            $html_mail = $smarty->fetch(CURRENT_TEMPLATE.'/mail/'.$_SESSION['language'].'/order_mail.html');
            $txt_mail = $smarty->fetch(CURRENT_TEMPLATE.'/mail/'.$_SESSION['language'].'/order_mail.txt');

    ersetze mit:

    Code: PHP  [Auswählen]
            // Admin und Customer Emails getrennt - auch unten bei "send mail to admin bzw customer" angepasst
            $html_mail_admin = $smarty->fetch(CURRENT_TEMPLATE.'/mail/'.$_SESSION['language'].'/order_mail_admin.html');
            $txt_mail_admin = $smarty->fetch(CURRENT_TEMPLATE.'/mail/'.$_SESSION['language'].'/order_mail_admin.txt');
            $html_mail_customer = $smarty->fetch(CURRENT_TEMPLATE.'/mail/'.$_SESSION['language'].'/order_mail_customer.html');
            $txt_mail_customer = $smarty->fetch(CURRENT_TEMPLATE.'/mail/'.$_SESSION['language'].'/order_mail_customer.txt');

    Das hat den klaren Vorteil, dass es in jede Version eingebaut werden kann. ;-)

    Vielleicht kann sich ja mal jemand bereit erklären und die Anleitung entsprechend überarbeiten. ;-)

    Grüße

    Torsten

    Eichenhorn

    • Fördermitglied
    • Beiträge: 503
    Re: ANLEITUNG: Zwei getrennte E-Mails an Admin und Kunde
    Antwort #11 am: 20. September 2011, 09:18:51
    Anleitung für die Überarbeitung der "send_order.php":

    Suche

    Code: PHP  [Auswählen]
    $html_mail = $smarty->fetch(CURRENT_TEMPLATE.'/mail/'.$_SESSION['language'].'/order_mail.html');
    $txt_mail = $smarty->fetch(CURRENT_TEMPLATE.'/mail/'.$_SESSION['language'].'/order_mail.txt');

    Ersetze mit

    Code: PHP  [Auswählen]
    // Admin und Customer Emails getrennt - auch unten bei "send mail to admin bzw customer" angepasst
    $html_mail_admin = $smarty->fetch(CURRENT_TEMPLATE.'/mail/'.$_SESSION['language'].'/order_mail_admin.html');
    $txt_mail_admin = $smarty->fetch(CURRENT_TEMPLATE.'/mail/'.$_SESSION['language'].'/order_mail_admin.txt');
    $html_mail_customer = $smarty->fetch(CURRENT_TEMPLATE.'/mail/'.$_SESSION['language'].'/order_mail_customer.html');
    $txt_mail_customer = $smarty->fetch(CURRENT_TEMPLATE.'/mail/'.$_SESSION['language'].'/order_mail_customer.txt');

    Suche

    Code: PHP  [Auswählen]
    // send mail to admin

    und suche dort

    Code: PHP  [Auswählen]
    $html_mail,
    $txt_mail);

    und ersetze dort mit

    Code: PHP  [Auswählen]
    $html_mail_admin,
    $txt_mail_admin);

    Und suche dann

    Code: PHP  [Auswählen]
    // send mail to customer

    und suche dort

    Code: PHP  [Auswählen]
    $html_mail,
    $txt_mail);

    und ersetze mit

    Code: PHP  [Auswählen]
    $html_mail_customer,
    $txt_mail_customer);

    [EDIT Tomcraft 20.09.2011: Anleitung in Beitrag 1 mit eingefügt.]

    Tomcraft

    • modified Team
    • Gravatar
    • Beiträge: 46.369
    • Geschlecht:
    Re: ANLEITUNG: Zwei getrennte E-Mails an Admin und Kunde
    Antwort #12 am: 20. September 2011, 09:45:25
    Perfekt, ich danke dir! :thx:

    Grüße

    Torsten

    f.it.s

    • Neu im Forum
    • Beiträge: 11
    • Geschlecht:
    Re: ANLEITUNG: Zwei getrennte E-Mails an Admin und Kunde
    Antwort #13 am: 03. April 2012, 10:08:58
    Auch wenn Spät baue eben auf XTC Modified um und Sage Nochmal Vielen Dank für die ganzen Infos..
    eben die E-Mails nach dieser Anleitung umgesetzt und Funktioniert einwandfrei ...

    Besten Dank

    Hier für die Nachwelt die fertigen Dateien

    im shop root Verzeichnis ersetzten der Datei send_order.php

    in eurem Template Verzeichniss in den Ordner MAIL/german einfügen dieser Dateien:
    - order_mail_admin.html
    - order_mail_customer.html
    - order_mail_admin.txt
    - order_mail_customer.txt

    [ Für Gäste sind keine Dateianhänge sichtbar ]
    [ Für Gäste sind keine Dateianhänge sichtbar ]

    ronnyh71

    • Neu im Forum
    • Beiträge: 7
    Re: ANLEITUNG: Zwei getrennte E-Mails an Admin und Kunde
    Antwort #14 am: 20. November 2012, 21:57:07
    Hallo,  ich hätte da eine "knifflige" Frage.
    Kunde bestellt: Admin und Kunde bekommen eine Mail.... soweit klar.
    Kann man einen dritten Bestellmailempfänger hinzufügen?

    Hintergrund ist:
    Der Shop wird in der "Großstadt" betrieben, sagen wir durch mich allein.
    Das Packlager ist jedoch in einem 10km entfernten Dorf....
    Ich möchte nicht, dass im Packlager jemand in den Shop Admin rein kommt um dort nach neuen Bestellungen zu gucken.....   Sicherlich könnte man dass mit einer einfachen Emailweiterleitung beim Provider hinbekommen, nur da steht ja dann alles drin.....
    Mir würde es genügen, wenn die Bestell-Mail fürs Packlager nur Name, Anschrift, Bestellnummer, Artikelnummer und Menge enthält.  Geht so was?

    Danke.
    Lg Ronny
    5 Antworten
    5039 Aufrufe
    31. Oktober 2012, 21:28:50 von JZ_Aqua
    3 Antworten
    3114 Aufrufe
    21. Juli 2015, 20:51:01 von web28