ich möchte gerne den Kunden, die im Online-Shop bestellt haben, automatisierte und manuelle Benachrichtungsmails zusenden. In der aktuellen Betaversion 6.1.0.3 kann das Shop-Modul (angeblich) dies.
Ich habe mich bei der automatischen Mail nach Bestellung an der Anleitung in der Documentation (Beispiel 2) gehalten: http://documentation.webedition.org/wik ... ence/order
Mein Template sieht nun so aus:
Code: Alles auswählen
Auftragsbestätigung
<we:order>
<we:field type="text" name="CustomerID" to="global" nameto="KundenID"/>
<we:customer id="\$KundenID">
Liebe/r <we:field type="text" name="Forename">,
vielen Dank für deine Bestellung im Online Store.
</we:customer>
Einzelheiten zu deiner Bestellung
<we:ifFieldNotEmpty match="shop_Billing_Forename">
Rechnungsadresse
<we:field type="text" name="shop_Billing_Forename" /> <we:field type="text" name="shop_Billing_Surname" />
<we:field type="text" name="shop_Billing_Tel1" />
<we:field type="text" name="shop_Billing_Company" />
<we:field type="text" name="shop_Billing_Adress1" />
<we:field type="text" name="shop_Billing_Adress2" />
<we:field type="text" name="shop_Billing_Zip" /> <we:field type="text" name="shop_Billing_City" />
<we:field type="text" name="shop_Billing_Country" />
</we:ifFieldNotEmpty>
-------------------------------------------------------------------------
Lieferadresse
<we:field type="text" name="Customer_Forename"> <we:field type="text" name="Customer_Surname"><br/>
<we:field type="text" name="Customer_Contact_Tel1">
<we:field type="text" name="Customer_Contact_Company">
<we:field type="text" name="Customer_Contact_Address1">
<we:field type="text" name="Customer_Contact_Address2">
<we:field type="text" name="Customer_Contact_Zip"> <we:field type="text" name="Customer_Contact_City">
<we:field type="text" name="Customer_Contact_Country">
-------------------------------------------------------------------------
Zahlungsart
<we:ifFieldNotEmpty match="shop_ipaymentCCType">
<we:field type="text" name="shop_ipaymentCCType" />
<we:else/>
<we:field type="text" name="shop_paymentMethod" />
</we:ifFieldNotEmpty>
#########################################################################
<we:field type="text" name="OrderID" to="global" nameto="BestellID"/>
<we:listview type="orderitem" orderid="\$BestellID"><we:repeat>
Artikel: <we:field type="text" name="shoptitle" />
Anzahl: <we:field type="text" name="Quantity" />
Einzelpreis: <we:field type="text" name="Price" />
Versandkosten: <we:field type="text" name="Shipping_costs" />
enthaltene MwSt.: <we:field type="text" name="Shipping_vatRate" /> %
Gesamtpreis inkl. <we:field type="text" name="Price" />
</we:repeat></we:listview>
</we:order>
#########################################################################
Widerrufsrecht
-------------------------------------------------------------------------
Widerrufsfolgen
-------------------------------------------------------------------------
Hat hier jemand schon Erfahrungen sammeln können bzw. eine Idee für mich?
Grüße
Andreas