ich möchte auf der checkout_success.php nen Google Button dazu fügen.
Auf https://developers.google.com/+/web/badge/ findet man einen super bausatz der für mich auch passt.
ich habe jetzt den weg genommen und
Code: Alles auswählen
<!-- Place this tag where you want the badge to render. -->
<div class="g-plus" data-href="//plus.google.com/123456789101245781245" data-rel="publisher"></div>
dann den zweiten teil:
Code: Alles auswählen
<!-- Place this tag after the last badge tag. -->
<script type="text/javascript">
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>
weiß jemand rat?