HTML unter we:makeMail/

Hier können Sie Fragen bezüglich des Shop Moduls stellen.
chw
Senior Member
Beiträge: 164
Registriert: Do 1. Jan 1970, 02:00
Kontaktdaten:

Beitragvon chw » Mi 30. Okt 2002, 16:24

hallo,
ist es möglich eine bestätigungsmail, unter dem tag we:makeMail/, mit html zu gestalten und versenden? sobald ich jetzt html-code verwende, kommt es zu fehlermeldungen.

<font size=-1>[ Diese Nachricht wurde ge<auml;ndert von: chw am 2002-10-30 15:24 ]</font>

maspohl

Beitragvon maspohl » Do 5. Dez 2002, 10:50

Ja, klar. Ich habe hier mal ein Beispiel von mir:

<we:makeMail />
<we:createShop shopname="shopers"/><we:addDelShopItem shopname="shopers"/>
<html>
<head>
<title>ANDA - Zeitschrift für Flamenco | Bestellung</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<style type="text/css">

a {font-family: Verdana, Arial, Helvetica, sans-serif; color:#005e5e; text-decoration:none; }
a:hover {text-decoration:underline; color:#005e5e; }

body { margin-top: 0px; margin-right: 0px; margin-left: 0px; scrollbar-3d-light-color: #CCCCCC
; scrollbar-arrow-color: #005e5e; scrollbar-base-color: #c4d7d7; scrollbar-dark-shadow-color: #CCCCCC; scrollbar-face-color: #d3d3d3; scrollbar-highlight-color: #ffffff; scrollbar-shadow-color: #cccccc ; scrollbar-track-color: #c4d7d7 }


.f { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; line-height: normal; }
.p_10_10 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; line-height: normal; padding-left: 10px; padding-right: 10px;}
.p_20_0 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; line-height: normal; padding-left: 20px}
.p_20_10 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; line-height: normal; padding-left: 20px; padding-right: 10px;}
.h1 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; text-decoration: none}
.h2 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px; text-decoration: none; }
.h3 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; text-decoration: none; color: #FFFFFF}
.submenue { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 9px; text-decoration: none}

.fuss { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 9px; text-decoration: none; color: #005e5e;}
.t2_20_0 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: normal; color: #FFFFFF; padding-left: 20px}
.t2_20_10 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: normal; color: #FFFFFF; padding-left: 20px; padding-right: 10px}
.t2_10_10 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: normal; color: #FFFFFF; padding-left: 10px; padding-right: 10px}
.t3_10_10 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: normal; color: #005e5e; padding-left: 10px; padding-right: 10px}

</style>

</head>

<body bgcolor="#FFFFFF" text="#000000">





<blockquote>
<span class="h2">Neue Bestellung</span>



<span class="f">
<hr noshade size="1">
Persönliche Angaben:
<hr noshade size="1">


<we:sessionField name="Adresse_Anrede" type="print"/> <we:sessionField name="Forename" type="print"/> <we:sessionField name="Surname" type="print"/>

Username: <we:sessionField name="Username" type="print"/>

<we:sessionField name="Adresse_Adresszusatz" type="print"/>

<we:sessionField name="Adresse_Straße" type="print"/>

<we:sessionField name="Adresse_PLZ" type="print"/> <we:sessionField name="Adresse_Ort" type="print"/>

<we:sessionField name="Adresse_Land" type="print"/>

Tel. <we:sessionField name="Adresse_Telefon" type="print"/>

E-Mail: <we:sessionField name="Adresse_Email" type="print"/>



<hr noshade size="1">
Bankverbindung:
<hr noshade size="1">


KontoNummer:<we:sessionField name="Bankverbindung_KontoNummer" type="print"/>

Bankleitzahl: <we:sessionField name="Bankverbindung_BLZ" type="print"/>

Geldinstitut: <we:sessionField name="Bankverbindung_Bank" type="print"/>



<hr noshade size="1">
Abweichende Lieferadresse:
<hr noshade size="1">


<we:sessionField name="Lieferadresse_Anrede" type="print"/>

<we:sessionField name="Lieferadresse_Vorname" type="print"/> <we:sessionField name="Lieferadresse_Nachname" type="print"/>

<we:sessionField name="Lieferadresse_Adresszusatz" type="print"/>

<we:sessionField name="Lieferadresse_Straße" type="print"/>

<we:sessionField name="Lieferadresse_PLZ" type="print"/> <we:sessionField name="Lieferadresse_Ort" type="print"/>

<we:sessionField name="Lieferadresse_Land" type="print"/>

Tel. <we:sessionField name="Lieferadresse_Telefon" type="print"/>



<hr noshade size="1">
Folgende Artikel werden bestellt:
<hr noshade size="1">
<we:createShop shopname="shopers"/>

<we:repeatShopItem shopname="shopers">
Artikel: <we:field name="Headline" alt="we_path/> <we:field name="Subtitle" alt="we_text/>

Anzahl:  <we:showShopItemNumber shopname="shopers"/>

Preis: <we:calculate sum="mailsum" num_format="german"><we:showShopItemNumber shopname="shopers">*<we:field name="Preis"/></we:calculate>  EURO (inklusive
<we:field name="MwSt"/> % MwSt.)



<hr noshade size="1">


</we:repeatShopItem>
Summe: <we:sum name="mailsum" num_format="german"/> EURO (inklusive
<we:calculate name="MwSt_Artikel" num_format="german" print="on">
(<we:field name="Preis"/>/100)*(<we:showShopItemNumber shopname="shopers">)-
(<we:field name="Preis"/>/100)*(<we:showShopItemNumber shopname="shopers">)/
(1+<we:field name="MwSt"/>/100)</we:calculate> Euro MwSt.)



<hr noshade size="1">
Bemerkungen:
<hr noshade size="1">
<we:sessionField name="Bemerkungen" type="print"/>



<hr noshade size="1">
Erklärung:
<hr noshade size="1">
Ich habe die Allgemeinen Geschäftsbedingungen gelesen und erkläre mich mit den AGBs der ANDA Verlag GmbH einverstanden.



<hr noshade size="1">
Datum:
<hr noshade size="1">
Die Bestellung erfolgte am <?PHP
setlocale('LC_TIME', 'de_DE');
echo strftime('%A').', den '.date('d.m.Y H:i:s').' Uhr.';
?>


</span>
</blockquote>
</body>
</html>

Probleme habe ich noch mit der MwSt.-Berechnung. Die muss noch geändert werden.
Was ich gar nicht hinbekomme ist, Befehle wie <we:ifEmpty> etc. einzusetzen. Falls jemdand z.B. keine Lieferadresse angibt sollte der Bereich komplett ausgeblendet werden, was in WebEdition-Seiten ja geht. Wenn da jemdand einen Tipp hat...


Zurück zu „Shop Modul“

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 3 Gäste