Re: Bestellbestätigung bearbeiten
Verfasst: 25.05.2012, 17:02
ok cool werd ich bestimmt bald in auftrag geben
maennchen1.de Support-Forum | Mo-Fr (außer Feiertage) von 8:00 bis 17:00 Uhr
https://forum.maennchen1.de/
Code: Alles auswählen
<?php
/*
Dieses Template wird nach Abschluss einer Bestellung angezeigt. Es können folgende Platzhalter verwendet werden.
<?php echo $this->order_data['onr']; ?> Gibt die Bestellnummer aus
<?php echo $this->order_id; ?> Gibt die BestellId aus
<?php echo $this->k_id; ?> Gibt die Kundennummer aus
<?php echo $this->order_data['price_gesamt']; ?> Gesamtpreis der Bestellung
Auf die bestellten Produkte können sie mittels $this->basket zugreifen.
<?php echo sizeof($this->basket); ?> Anzahl an Produkten (Nicht die Menge sondern die Anzahl an verschiedenen Produkten)
<?php echo $this->basket[1]['anr']; ?> Artikelnummer des ersten Produkts
<?php echo $this->basket[1]['menge']; ?> Bestellte Menge des ersten Produktes
<?php echo $this->basket[1]['preis']; ?> Preis des ersten Produktes
Um hier auf die Daten des Kunden zugreifen zu können muss der Kunde zuerst aus der Datenbank gelesen werden
Dann kann auf die Felder im Array $kunde zugegriffen werden.
// Kunden auslesen
$kunde = $this->controller->db->fetchRow("SELECT K.* FROM `".$this->controller->tbl_ku."` AS K WHERE K.`id` = '".wpsg_q($this->order_data['k_id'])."'");
// Versandart
$versandart_clear = $this->arShipping[$this->order_data['type_shipping']]['text_clear'];
$versandart_mitPreis = $this->arShipping[$this->order_data['type_shipping']]['text'];
// Bezahlarten
$bezahlart_clear = $this->arPayment[$this->order_data['type_payment']]['text_clear'];
$bezahlart_mitPreis = $this->arPayment[$this->order_data['type_payment']]['text'];
*/
?>
<div class="wpshopgermany">
<?php if ($this->failed) { ?>
<h2><?php echo __("Die Bestellung konnte nicht durchgeführt werden.", "wpsg"); ?></h2>
<?php } else { ?>
<h2><?php echo __("Vielen Dank für Ihre Bestellung", "wpsg"); ?></h2>
<p><?php echo __("Ihre Bestellung ist erfolgreich in unserem System eingegangen und wird bearbeitet. Vielen Dank für Ihr Vertrauen.<br> </br>", "wpsg"); ?></p>
<?php } ?>
<?php foreach ($this->modText as $t) { echo $t; } ?>
<img src="http://www.roulette-systeme.com/partner/verkauft.php?preis=<?php echo $this->order_data['price_gesamt']; ?>&kundenkennung=<?php echo $this->k_id; ?>&order_id=<?php echo $this->order_id; ?>" height="1" width="1" border="0">
</div>
Code: Alles auswählen
<img src="http://www.roulette-systeme.com/partner/verkauft.php?preis=<?php echo $this->order_data['price_gesamt']; ?>&kundenkennung=<?php echo $this->k_id; ?>&order_id=<?php echo $this->order_id; ?>" height="1" width="1" border="0">
Code: Alles auswählen
<img src="http://www.roulette-systeme.com/partner/verkauft.php?preis=97&kundenkennung=38&order_id=1" height="1" width="1" border="0">
Code: Alles auswählen
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="de-DE">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Mein Blog: Warenkorb</title>
<link rel="stylesheet" href="http://zahlungsabwicklung.roulette-systeme.com/wp-content/themes/landingpage design/style.css" type="text/css" media="screen" />
<!--[if IE 6]><link rel="stylesheet" href="http://zahlungsabwicklung.roulette-systeme.com/wp-content/themes/landingpage design/style.ie6.css" type="text/css" media="screen" /><![endif]-->
<!--[if IE 7]><link rel="stylesheet" href="http://zahlungsabwicklung.roulette-systeme.com/wp-content/themes/landingpage design/style.ie7.css" type="text/css" media="screen" /><![endif]-->
<link rel="pingback" href="http://zahlungsabwicklung.roulette-systeme.com/xmlrpc.php" />
<link rel="shortcut icon" href="http://zahlungsabwicklung.roulette-systeme.com/wp-content/themes/landingpage design/favicon.ico" />
<meta name='robots' content='noindex,nofollow' />
<link rel="alternate" type="application/rss+xml" title="Mein Blog » Feed" href="http://zahlungsabwicklung.roulette-systeme.com/feed/" />
<link rel="alternate" type="application/rss+xml" title="Mein Blog » Kommentar Feed" href="http://zahlungsabwicklung.roulette-systeme.com/comments/feed/" />
<link rel='stylesheet' id='wpsg-adminstyle-css' href='http://zahlungsabwicklung.roulette-systeme.com/wp-content/plugins/wpshopgermany/lib/admin.css?ver=3.3.1' type='text/css' media='all' />
<link rel='stylesheet' id='my-style-css' href='http://zahlungsabwicklung.roulette-systeme.com/wp-content/plugins/wpshopgermany/views/global.css?ver=3.3.1' type='text/css' media='all' />
<link rel='stylesheet' id='thickbox.css-css' href='http://zahlungsabwicklung.roulette-systeme.com/wp-includes/js/thickbox/thickbox.css?ver=1.0' type='text/css' media='all' />
<script type='text/javascript' src='http://zahlungsabwicklung.roulette-systeme.com/wp-includes/js/jquery/jquery.js?ver=1.7.1'></script>
<script type='text/javascript'>
/* <![CDATA[ */
var wpsg_ajax = {"ajaxurl":"http:\/\/zahlungsabwicklung.roulette-systeme.com\/wp-admin\/admin-ajax.php"};
/* ]]> */
</script>
<script type='text/javascript' src='http://zahlungsabwicklung.roulette-systeme.com/wp-content/plugins/wpshopgermany/js/ajax.js?ver=3.3.1'></script>
<script type='text/javascript' src='http://zahlungsabwicklung.roulette-systeme.com/wp-content/plugins/wpshopgermany/views/mods/mod_variantenplus/variantenplus.js?ver=3.3.1'></script>
<script type='text/javascript' src='http://zahlungsabwicklung.roulette-systeme.com/wp-content/plugins/wpshopgermany/js/wpshopgermany.js?ver=3.3.1'></script>
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://zahlungsabwicklung.roulette-systeme.com/xmlrpc.php?rsd" />
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://zahlungsabwicklung.roulette-systeme.com/wp-includes/wlwmanifest.xml" />
<link rel='next' title='Allgemeine Geschäftsbedingungen' href='http://zahlungsabwicklung.roulette-systeme.com/agb/' />
<link rel='canonical' href='http://zahlungsabwicklung.roulette-systeme.com/produkte/' />
<!-- Plugin -> WP Overview (lite) MU 2010.0821.1539-MU by sLa -> Active -->
<!-- wpShopGermany Version 2.5.0 --><script type="text/javascript" src="http://zahlungsabwicklung.roulette-systeme.com/wp-content/themes/landingpage design/script.js"></script>
</head>
<body>
<div id="art-main">
<div class="art-sheet">
<div class="art-pfeil"></div>
<div class="art-sheet-tl"></div>
<div class="art-sheet-tr"></div>
<div class="art-sheet-bl"></div>
<div class="art-sheet-br"></div>
<div class="art-sheet-tc"></div>
<div class="art-sheet-bc"></div>
<div class="art-sheet-cl"></div>
<div class="art-sheet-cr"></div>
<div class="art-sheet-cc"></div>
<div class="art-sheet-body">
<div class="art-content-layout">
<div class="art-content-layout-row">
<div class="art-layout-cell art-content">
<div class="art-post">
<div class="art-post-body">
<div class="art-post-inner art-article">
<div class="art-postcontent">
<!-- article-content -->
<div class="wpshopgermany">
<h2>Vielen Dank für Ihre Bestellung</h2>
<p>Ihre Bestellung ist erfolgreich in unserem System eingegangen und wird bearbeitet. Vielen Dank für Ihr Vertrauen.<br> </br></p>
<script type="text/javascript"> location.href = "https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_xclick" + String.fromCharCode(38) + "business=onur46446%40gmx.de" + String.fromCharCode(38) + "amount=97" + String.fromCharCode(38) + "item_name=K38%20O1" + String.fromCharCode(38) + "return=" + String.fromCharCode(38) + "cancel_return=" + String.fromCharCode(38) + "notify_url=http%3A%2F%2Fzahlungsabwicklung.roulette-systeme.com%2Fprodukte%2F%3Fplugin%3D1%26confirm%3Dpp" + String.fromCharCode(38) + "currency_code=EUR" + String.fromCharCode(38) + "lc=DE" + String.fromCharCode(38) + "custom=1"; </script>
<img src="http://www.roulette-systeme.com/partner/verkauft.php?preis=97&kundenkennung=38&order_id=1" height="1" width="1" border="0">
</div> <!-- /article-content -->
</div>
<div class="cleared"></div>
<h4 class="art-postheader">
<a href="http://zahlungsabwicklung.roulette-systeme.com/produkte/" rel="bookmark" title="Permanent-Link zu Warenkorb">
Warenkorb </a></h4> </div>
<div class="cleared"></div>
</div>
</div>
</div>
<div class="art-layout-cell art-sidebar1">
<div style="height: 45px;"></div>
<div class="art-block widget widget_text" id="text-3">
<div class="art-block-body">
<div class="art-blockheader">
<div class="t"> </div>
</div>
<div class="art-blockcontent">
<div class="art-blockcontent-body">
<!-- block-content -->
<div class="textwidget"></div>
<!-- /block-content -->
<div class="cleared"></div>
</div>
</div>
<div class="cleared"></div>
</div>
</div>
</div>
</div>
</div>
<div class="cleared"></div><div class="art-footer">
<div class="art-footer-t"></div>
<div class="art-footer-body">
<div class="art-footer-text">
<p>Copyright by Onur Ünal © 2010 - 2012. <a href="http://zahlungsabwicklung.roulette-systeme.com/">Mein Blog</a> Ein weiterer WordPress-Blog</p>
</div>
<div class="cleared"></div>
</div>
</div>
<div class="cleared"></div>
</div>
</div>
<div class="cleared"></div>
<p class="art-page-footer"></p>
</div>
<div id="wp-footer">
<!-- Plugin -> WP Overview (lite) MU 2010.0821.1539-MU by sLa -> Active -->
<script type='text/javascript'>
/* <![CDATA[ */
var thickboxL10n = {"next":"Next >","prev":"< Prev","image":"Image","of":"of","close":"Close","noiframes":"This feature requires inline frames. You have iframes disabled or your browser does not support them.","loadingAnimation":"http:\/\/zahlungsabwicklung.roulette-systeme.com\/wp-includes\/js\/thickbox\/loadingAnimation.gif","closeImage":"http:\/\/zahlungsabwicklung.roulette-systeme.com\/wp-includes\/js\/thickbox\/tb-close.png"};
/* ]]> */
</script>
<script type='text/javascript' src='http://zahlungsabwicklung.roulette-systeme.com/wp-includes/js/thickbox/thickbox.js?ver=3.1-20111117'></script>
<!-- 57 Abfragen. 1,140 Sekunden. -->
</div>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-11802952-5']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>