ich verzweifel langsam bei der Übergabe des Mekzettels an doform.
Das Merkzettel Modul aus http://www.redaxo.org/de/wiki/index.php?n=R3.Merkzettel funktioniert einwandtfrei.
Code des Warenkorb Inhaltes:
- Code: Alles auswählen
<div class="warenkorb">
<?php if (sizeof($_SESSION["shoppingcart"]) != 0) {
echo '<h1>Bisher in Ihrem Warenkorb:</h1>';
$db_korb = " SELECT * FROM rex_article_slice WHERE modultyp_id = '11'";
$prods = new rex_sql; $prods->setQuery($db_korb);
for ($i=0;$i<$prods->getRows();$i++) {
foreach ($_SESSION['shoppingcart'] as $pid => $id) {
if ($pid == $prods->getValue("id")) {
echo ' <div style="float:left;margin-right:10px; height:100px;"><img src="/index.php?rex_resize=100w__'.$prods->getValue("file1").'"></div>';
echo ' <p class="bestellen">Art.-Nr: '.$prods->getValue("value1").' <br> '.$prods->getValue("value2").'
<br>Menge:'.$id["menge"].' <br></a></p> <p><a class="entfernen" href="'.rex_getUrl($this->getValue(article_id), $REX["CUR_CLANG"], array('remove'=>$prods->getValue("id"))).'"> Artikel aus dem Warenkorb löschen</a><br><br style="clear:both;"></p>';
$products_mail .= $id["menge"]." x "; $products_mail .= $prods->getValue("value1")." - "; $products_mail .= $prods->getValue("value2")."\n";
$products_mail .= $prods->getValue("value3")." a "; $products_mail .= $prods->getValue("value4")."\n"; } }
$prods->next(); } ; } else { echo '<h1>Ihr Warenkorb ist leer</h1>'; }
$_SESSION["products_mail"] = $products_mail;
var_dump($_SESSION["shoppingcart"]);
?>
</div>
Bei doform habe ich als Bezeichnung für Sessionvariable:
shoppingcart
und im Formularfeld
shoppingcart|Warenkorb
eingetragen.
Leider erfolgt keine Ausgabe beim Mailversandt.
Auch die Versuche mit xform scheiterten -
Vielen Dank für Eure Hilfe
TTY

