am: 03. September 2009, 11:32:40
Hallo,
ich habe meine box_cart.html etwas umgebaut und in den Header geschoben:
[ Für Gäste sind keine Dateianhänge sichtbar ]
In der neuen Warenkorbbox möchte ich auch einen Link mittels Thickbox zu den Versandkosten setzen. Dabei taucht folgendes Problemchen auf:
Mein Link in der box_cart.html sieht so aus:
<a class="thickbox" title="Information" href="{php} echo xtc_href_link('popup_content.php');{/php}?coID=1?KeepThis=true&;TB_iframe=true&height=400&width=600" target="_blank" title="Information">Versandkosten</a>
Wenn ich den Shop im Browser öffne und auf den Link gehe sehe ich folgende URL:
http://DOMAIN/popup_content.php?XTCsid=ddf8a0d097b48e384868041c334cd5c5?coID=1?KeepThis=true&;TB_iframe=true&height=400&width=600Es öffnet sich die Thickbox, aber ohne Inhalt.
[ Für Gäste sind keine Dateianhänge sichtbar ]
Wenn ich mir mal den Link zu den Versandkosten in der Contentbox anschaue sieht die URL so aus:
http://DOMAIN/Liefer-und-Versandkosten:_:1.html?XTCsid=ddf8a0d097b48e384868041c334cd5c5Sobald ich einmal einen Seitenrefresh gemacht habe bzw. einmal auf den Link aus der Contentbox geklickt habe, sehe ich auch über den Link aus der box_cart.html die Thickbox mit richtigen Inhalt.
[ Für Gäste sind keine Dateianhänge sichtbar ]
Was habe ich denn bei dem Link falsch gemacht?
Der Originallink, der in der box_cart.html drin ist wird garnicht angezeigt:
{if $SHIPPING_INFO}{$SHIPPING_INFO}{/if}
Hier ist meine komplette box_cart.html:
{config_load file="$language/lang_$language.conf" section="boxes"}
{if $deny_cart neq 'true'}
<div id="cart_text">
<div id="cart_head">{#heading_cart#}</div>
{if $PRODUCTS==''}
Produke: 0
{else}
Produkte: {$PRODUCTS}
{/if}
|
{if $TOTAL==''}
{#text_total#}: 0,00 EUR
{else}
{#text_total#}: {$TOTAL}
{/if}
<div id="cart_mwst">
inkl. 19% MwSt., zzgl.
<a class="thickbox" title="Information" href="{php} echo xtc_href_link('popup_content.php');{/php}?coID=1?KeepThis=true&TB_iframe=true&height=400&width=600" target="_blank" title="Information">Versandkosten</a>
</div>
<div id="cart_links">
<a href="{php}echo xtc_href_link('shopping_cart.php');{/php}">Zum Warenkorb</a>
|
<a href="{php}echo xtc_href_link('checkout_shipping.php');{/php}">Zur Kasse</a>
</div>
</div>
{/if}
Steffen
Linkback: https://www.modified-shop.org/forum/index.php?topic=1880.0