Hallo,
habe einen Shop (niocht von mir gecodet) jetzt muss der Inhalt des Warenkorb per mailt versendet werden! Wenn ich es aber nur mit mailto mache, kommt der gesamte Seiteninhalt an und nicht nur der Inhalt der Textfelder, das ist Kacke Kann mir bitte jemand helfen?
Hab echt null Ahnung!!
habe einen Shop (niocht von mir gecodet) jetzt muss der Inhalt des Warenkorb per mailt versendet werden! Wenn ich es aber nur mit mailto mache, kommt der gesamte Seiteninhalt an und nicht nur der Inhalt der Textfelder, das ist Kacke Kann mir bitte jemand helfen?
Hab echt null Ahnung!!
HTML:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="expires" content="600">
<title>Checkout</title>
<style>
<!--
.req { font-weight: bold }
-->
</style>
<style>
<!--
body { background-color: #000000; font-family: BankGothic Md BT; font-weight: normal; font-style: normal; text-decoration: none; font-size: 10pt; color: #FFFFFF }
p, th, td { font-family: BankGothic Md BT; font-weight: normal; font-style: normal; text-decoration: none; font-size: 10pt; color: #FFFFFF }
a, a.navi { font-family: BankGothic Md BT; font-size: 10pt; color: #FFFFFF; text-decoration: underline }
.basket { background-color: #C0C0C0 }
h3 { font-family: BankGothic Md BT; font-weight: normal; font-style: normal; text-decoration: none; font-size: 10pt; color: #FFFFFF }
h2 { font-family: BankGothic Md BT; font-weight: normal; font-style: normal; text-decoration: none; font-size: 12pt; color: #FFFFFF }
h1, .title { font-family: BankGothic Md BT; font-weight: normal; font-style: normal; text-decoration: none; font-size: 14pt; color: #FFFFFF; font-weight: bold }
.nr, .no { font-family: BankGothic Md BT; font-weight: normal; font-style: normal; text-decoration: none; font-size: 8pt; color: #FFFFFF }
.article, .price, .price1 { font-weight: bold }
.pow { font-family: BankGothic Md BT; font-weight: normal; font-style: normal; text-decoration: none; font-size: 7pt; color: #FFFFFF }
-->
</style>
<script language="JavaScript" src="checkout.js" type="text/javascript"></script>
</head>
<body class="detail">
<h1>Ihre Bestellung</h1>
<table class="basket" border="0" width="100%" cellspacing="0">
<tr>
<td class="basket" width="13%" valign="top"><b>Menge</b></td>
<td class="basket" width="13%" valign="top"><b>Nummer</b></td>
<td class="basket" width="44%" valign="top"><b>Artikel</b></td>
<td class="basket" width="15%" align="right" valign="top"><b>Betrag Euro</b></td>
<td class="basket" width="15%" align="right" valign="top"><b>Total</b></td>
</tr>
<script language="JavaScript">
<!--
sArt=parent.getKorb();
if (sArt.length<1)
{
alert('Kein Artikel im Warenkorb!');
self.location.replace('start.htm');
}
aSumme=0.0;
for (sArti=0; sArti<sArt.length; sArti++)
{
putsArt(sArt[sArti]);
}
aVersandX=VerAdd[0];
calcTotal();
setAddText();
// --> </script>
<!--addition-->
<tr>
<td class="basket" width="13%" valign="top"> </td>
<td class="basket" width="13%" valign="top"> </td>
<td class="basket" width="44%" valign="top"><br></td>
<td class="basket" width="15%" align="right" valign="top"> </td>
<td class="basket" width="15%" align="right" valign="top"><br></td>
</tr>
<!--addition-->
<tr>
<td width="13%" valign="top">
</td>
<td class="basket" width="13%" valign="top"> </td>
<td class="basket" width="44%" valign="top"> </td>
<td class="basket" width="15%" align="right" valign="top"> </td>
<td class="basket" width="15%" align="right" valign="top">
<hr size="1" noshade>
<div id="gTotal"><script language="JavaScript"><!--
document.write('<b>Euro '+getBetr(gTotal));// --> </script></b></div>
<div id="gTotal2"><script language="JavaScript"><!--
document.write('<b> '+getBetr2(gTotal));// --> </script></b></div>
</td>
</tr>
</table>
<hr>
<b>Konditionen</b><br>Alle Preise inkl. MwSt.
<hr>
<form name="Formular" action="mailto:...." method="POST" onSubmit="return chkForm(this)">
<table border="0" width="76%" height="49">
<tr>
<td width="27%" height="30" valign="top"><b>Lieferung</b><br><select size="1" name="Delivery">
<option value="per Post">per Post</option>
<option value="wird abgeholt">wird abgeholt</option>
</select></td>
<td width="27%" height="30" valign="top"><b>Zahlung</b><br><select size="1" name="Payment" >
<option value="Rechnung">Rechnung</option>
<option value="Vorauszahlung">Vorauszahlung</option>
<option value="per Nachnahme">per Nachnahme</option>
</select></td>
<td width="21%" height="30" valign="top"></td>
</tr>
</table>
<h3> Kunde</h3>
<table border="0" width="98%" cellspacing="0">
<tr>
<td width="5%"> </td>
<td width="22%" valign="top"> </td>
<td width="73%"> </td>
</tr>
<tr>
<td width="5%"> </td>
<td width="22%" valign="top">Kunden Nr.</td>
<td width="73%"><input type="text" name="CustomerNo" size="30" value=""></td>
</tr>
<tr>
<td width="5%"> </td>
<td width="22%" valign="top">Firma</td>
<td width="73%"><input type="text" name="Company" size="30" value=""></td>
</tr>
<tr>
<td width="5%"> </td>
<td width="22%" valign="top">Anrede</td>
<td width="73%"><input type="text" name="AddrTitle" size="30" value=""></td>
</tr>
<tr>
<td width="5%"> </td>
<td width="22%" valign="top"><font class="req">Vorname</font></td>
<td width="73%"><input type="text" name="Firstname" size="30" value=""></td>
</tr>
<tr>
<td width="5%"> </td>
<td width="22%" valign="top"><font class="req">Name</font></td>
<td width="73%"><input type="text" name="Name" size="30" value=""></td>
</tr>
<tr>
<td width="5%"> </td>
<td width="22%" valign="top"><font class="req">Adresse</font></td>
<td width="73%"><input type="text" name="Address1" size="30" value=""></td>
</tr>
<tr>
<td width="5%"> </td>
<td width="22%" valign="top">Adresse</td>
<td width="73%"><input type="text" name="Address2" size="30" value=""></td>
</tr>
<tr>
<td width="5%"> </td>
<td width="22%" valign="top"><font class="req">PLZ</font></td>
<td width="73%"><input type="text" name="ZipCode" size="30" value=""></td>
</tr>
<tr>
<td width="5%"> </td>
<td width="22%" valign="top"><font class="req">Ort</font></td>
<td width="73%"><input type="text" name="Place" size="30" value=""></td>
</tr>
<tr>
<td width="5%"> </td>
<td width="22%" valign="top"><font class="req">Land</font></td>
<td width="73%"><input type="text" name="Country" size="30" value=""></td>
</tr>
<tr>
<td width="5%"> </td>
<td width="22%" valign="top">Tel. Privat</td>
<td width="73%"><input type="text" name="PhoneP" size="30" value=""></td>
</tr>
<tr>
<td width="5%"> </td>
<td width="22%" valign="top">Tel. Geschäft</td>
<td width="73%"><input type="text" name="PhoneB" size="30" value=""></td>
</tr>
<tr>
<td width="5%"> </td>
<td width="22%" valign="top">Fax</td>
<td width="73%"><input type="text" name="Fax" size="30" value=""></td>
</tr>
<tr>
<td width="5%"> </td>
<td width="22%" valign="top"><font class="req">EMail</font></td>
<td width="73%"><input type="text" name="EMail" size="30" value=""></td>
</tr>
<tr>
<td width="5%"> </td>
<td width="22%" valign="top">URL</td>
<td width="73%"><input type="text" name="URL" size="30" value=""></td>
</tr>
<tr>
<td width="5%"> </td>
<td width="22%" valign="top"> </td>
<td width="73%"> </td>
</tr>
</table>
<p>Bemerkung<br>
<textarea rows="5" name="Remark" cols="61"></textarea><br>
<a target="_blank" href="cond.htm">Ich akzeptiere die Allgemeinen Geschäftsbedingungen (AGB)</a></p>
<p><input type="submit" value="Bestellung senden" name="B1"></p>
<input type="hidden" name="To" "> <input type="hidden" name="Subject" value="Bestellung"> <input type="hidden" name="Param" value=""> <input type="hidden" name="Charset" value=""><input type="hidden" name="Shop" value=""> <input type="hidden" name="Currency" value="Euro"> <input type="hidden" name="DeliveryText" value="Lieferung"> <input type="hidden" name="DeliveryCharge" value=""> <input type="hidden" name="SupplementText" value=""> <input type="hidden" name="Supplement" value=""> <input type="hidden" name="TVAText" value=""> <input type="hidden" name="TVA" value=""> <input type="hidden" name="SubTotal" value=""> <input type="hidden" name="Total" value=""> <input type="hidden" name="Weight" value=""> <input type="hidden" name="Thanks" value="Besten Dank für Ihre Bestellung"> <input type="hidden" name="ArticleFields" value="Menge|Nummer|Artikel|Betrag|Total|MwSt"> <input type="hidden" name="OrderFields" value="Gewicht=Weight|Lieferung=Delivery|Zahlung=Payment|Kreditkarte=Credit|Kartennummer=CardNo|Verfall Datum (mm-jj)=CardExDate"> <input type="hidden" name="CustomerFields" value="Kunde|Kunden Nr.=CustomerNo|Firma=Company|Anrede=AddrTitle|Vorname=Firstname|Name=Name|Adresse=Address1|Adresse=Address2|PLZ=ZipCode|Ort=Place|Land=Country|Tel. Privat=PhoneP|Tel. Geschäft=PhoneB|Fax=Fax|EMail=EMail|URL=URL|Bemerkung=Remark"><input type="hidden" name="ZFields" value=""> <input type="hidden" name="Owner" value="
<script language="JavaScript">
<!--
if (sArt.length>0)
{
for (sArti=0; sArti<sArt.length; sArti++)
{
while (sArt[sArti].indexOf('"')>=0) sArt[sArti]=sArt[sArti].replace('"','"');
document.writeln('<input type="hidden" name="Article[]" value="'+sArt[sArti]+'">');
}
}
document.Formular.Total.value=getBetr(gTotal);
// --> </script>
</form>
</body>
</html>