Offen Billsafe Rechnungsicon unter Preis

Desecrator

Sehr aktives Mitglied
20. Februar 2011
1.017
49
hallo,

wie bekomm ich denn das billsafe-rechnungs-icon unter den Preis beim jeweiligen Artikel?
Der Code wäre folgender:
PHP:
<!--BillSAFE start-->
<noscript>
<a title="Ihre Vorteile" href="http://www.billsafe.de/special/payment-info" target="_blank">
<img src="https://images.billsafe.de/image/image/id/3124485653bc" style="border:0"/>
</a>
</noscript>
<a id="billsafeAdvantagesImageLink" title="Ihre Vorteile" href="#" style="display: none;" onclick="openPopup();">
<img src="https://images.billsafe.de/image/image/id/3124485653bc" style="border:0"/>
</a>
<script type="text/javascript">
var link = document.getElementById('billsafeAdvantagesImageLink');
link.style.display = 'inline';
var openPopup = function () {
var myWindow = window.open('http://www.billsafe.de/special/payment-info', 'BillSAFE', 'width=520,height=600,left=300,top=100,scrollbars=yes');
myWindow.focus();
};
</script>
<!--BillSAFE end-->

Ich hätte das in die artikel_inc.tpl reingepackt, nach dem addthis-code und vor der Finanzierung.

Aber es wird ums verrecken nicht angezeigt :(

Kann mir jemand helfen?
 

Desecrator

Sehr aktives Mitglied
20. Februar 2011
1.017
49
AW: Billsafe Rechnungsicon unter Preis

ne hatte ich nicht - das kannte ich gar nicht. Aber auch wenn ich das mache, dann gehts nicht :(

habs nun das hier:
PHP:
<!--BillSAFE start-->
<noscript>
<a title="Ihre Vorteile" href="http://www.billsafe.de/special/payment-info" target="_blank">
<img src="https://images.billsafe.de/image/image/id/3124485653bc" style="border:0"/>
</a>
</noscript>
<a id="billsafeAdvantagesImageLink" title="Ihre Vorteile" href="#" style="display: none;" onclick="openPopup();">
<img src="https://images.billsafe.de/image/image/id/3124485653bc" style="border:0"/>
</a>
<script type="text/javascript">
var link = document.getElementById('billsafeAdvantagesImageLink');
link.style.display = 'inline';
var openPopup = function () {ldelim}
var myWindow = window.open('http://www.billsafe.de/special/payment-info', 'BillSAFE', 'width=520,height=600,left=300,top=100,scrollbars=yes');
myWindow.focus();
{rdelim};
</script>
<!--BillSAFE end-->

testweise mal in Zeile 243 und Zeile 266 eingefügt - nirgends kommt was...

Meine Zeile 242-263 sieht nun so aus:
PHP:
<li>
            <!--BillSAFE start-->
<noscript>
<a title="Ihre Vorteile" href="http://www.billsafe.de/special/payment-info" target="_blank">
<img src="https://images.billsafe.de/image/image/id/3124485653bc" style="border:0"/>
</a>
</noscript>
<a id="billsafeAdvantagesImageLink" title="Ihre Vorteile" href="#" style="display: none;" onclick="openPopup();">
<img src="https://images.billsafe.de/image/image/id/3124485653bc" style="border:0"/>
</a>
<script type="text/javascript">
var link = document.getElementById('billsafeAdvantagesImageLink');
link.style.display = 'inline';
var openPopup = function () {ldelim}
var myWindow = window.open('http://www.billsafe.de/special/payment-info', 'BillSAFE', 'width=520,height=600,left=300,top=100,scrollbars=yes');
myWindow.focus();
{rdelim};
</script>
<!--BillSAFE end-->
            </li>
         </ul>
      </div>

was mach ich falsch?
 

casim

Sehr aktives Mitglied
26. Juni 2012
5.934
9
AW: Billsafe Rechnungsicon unter Preis

hast du den Bild-Link dennmal ganz "normal" im Browser aufgerufen, ob da überhaupt ein Bild angezeigt wird:

Code:
[FONT=Courier New][COLOR=#dd0000]https://images.billsafe.de/image/image/id/3124485653bc
[/COLOR][/FONT]
 

casim

Sehr aktives Mitglied
26. Juni 2012
5.934
9
AW: Billsafe Rechnungsicon unter Preis

und der billsafe-code hängt auch nicht in irgendwelchen if-schleifen von addthis bzw. finanzierung?
 

Desecrator

Sehr aktives Mitglied
20. Februar 2011
1.017
49
AW: Billsafe Rechnungsicon unter Preis

meiner Meinung nach nicht.
Zeile 231-273 sieht bei mir so aus:

PHP:
 {else}
               {lang key="priceHidden" section="global"}
            {/if}
            {if isset($Einstellungen.template.general.addthis_url) && $Einstellungen.template.general.addthis_url|@strlen > 0}
            <li class="addthis">
               <p class="addthis_toolbox addthis_default_style right">
                  <a class="addthis_counter addthis_pill_style"></a>
               </p>
               <script type="text/javascript" src="{$Einstellungen.template.general.addthis_url}"></script>
            </li>
            {/if}
         </ul>
      </div>
      
      <div class="clear"></div>
      
<!--BillSAFE start-->
<noscript>
<a title="Ihre Vorteile" href="http://www.billsafe.de/special/payment-info" target="_blank">
<img src="https://images.billsafe.de/image/image/id/3224485a04f8" style="border:0"/>
</a>
</noscript>
<a id="billsafeAdvantagesImageLink" title="Ihre Vorteile" href="#" style="display: none;" onclick="openPopup();">
<img src="https://images.billsafe.de/image/image/id/3224485a04f8" style="border:0"/>
</a>
<script type="text/javascript">
var link = document.getElementById('billsafeAdvantagesImageLink');
link.style.display = 'inline';
var openPopup = function () {ldelim}
var myWindow = window.open('http://www.billsafe.de/special/payment-info', 'BillSAFE', 'width=520,height=600,left=300,top=100,scrollbars=yes');
myWindow.focus();
{rdelim};
</script>
<!--BillSAFE end-->

      <!-- finanzierung -->
      {if $Artikel->inWarenkorbLegbar==1}
         {if isset($Einstellungen.artikeldetails.artikeldetails_finanzierung_anzeigen) && $Einstellungen.artikeldetails.artikeldetails_finanzierung_anzeigen == "Y"}
            <div class="financing tleft" id="commerz_financing" {if !isset($Artikel->oRateMin)}style="display:none"{/if}>
               {include file="tpl_inc/artikel_finanzierung.tpl"}
            </div>
         {/if}
      {/if}
 

Desecrator

Sehr aktives Mitglied
20. Februar 2011
1.017
49
AW: Billsafe Rechnungsicon unter Preis

ich nehme alles zurück und behaupte das Gegenteil ;)
Ich habs vercheckt, dass die artikel_inc_custom ja vorrang hat... so, jetzt wirds angezeigt ;)

Jetzt müsste ich nur noch erfahren, wie ich das genau unter addthis runterbekomme. denn auch wenn ich mit <li> einen neuen Listenpunkt erstelle, taucht das Logo links NEBEN addthis auf.