Jump to content
xt:Commerce Community Forum

[SOLVED] Warenkorb Box - nur Produktanzahl anzeigen?


Schickedance

Recommended Posts

Hallo liebe User,

leider habe ich keine Antwort im Forum oder bei Google gefunden!

Meine Warenkorb Box habe ich im Header oben rechts und daher möchte ich nur Produktanzahl und Gesamtpreis anzeigen lassen.

Ich habe schon viel probiert aber es klappt nicht... Mit der Bitte um Hilfe!

Anbei die box_cart.html

{if $smarty.const._CUST_STATUS_SHOW_PRICE eq '1'}

{if $show_cart_content == true}

<h2 class="boxcartheader">{txt key=TEXT_CART}</h2>

<div class="boxcartbody">

{foreach name=aussen item=data from=$cart_data}

<p>Anzahl Produkte:{$data.products_quantity }</p>

{/foreach}

<div class="hr"></div>

<p style="text-align:right">

{foreach name=aussen item=tax_data from=$cart_tax}

{txt key=TEXT_TAX} {$tax_data.tax_key}%: {$tax_data.tax_value.formated}<br />

{/foreach}

<strong>{txt key=TEXT_SUB_TOTAL}:{$cart_total}</strong>

{if $shipping_link}<br /><a href="{$shipping_link}" target="_blank">{txt key=TEXT_EXCL_SHIPPING}</a>{/if}

</p>

<div class="hr"></div>

<p style="text-align:right;"><a href="{link page='cart' conn=SSL}"><strong>{txt key=TEXT_CART} »</strong></a></p>

</div>

{else}

<h2 class="boxcartheader">{txt key=TEXT_CART}</h2>

<div class="boxcartbody">

<p>{txt key=TEXT_EMPTY_CART}<br /><br /><a href="{link page='cart' conn=SSL}">{txt key=TEXT_CART} »</a></p>

</div>

{/if}

{/if}

Vielen Dank im voraus

Gruss

Schickedance

Link to comment
Share on other sites

  • 6 months later...

<table width="100%" border="0" cellpadding="0" cellspacing="0">

<tr>

<h5 class="boxheader"></h5>

</tr>

</table>

<table width="90%" align="center" cellpadding="0" cellspacing="0" summary="Warenuebersicht">

<tr>

<td class="main" align="left">

{if $empty=='false'}

<b>{$PRODUCTS}</b> {#shortcart1#}{if $PRODUCTS > 1}{#shortcart2#}{/if} {#shortcart3#} <a href="{$LINK_CART}">{#shortcart4#}</a>.<br />

<b>{#text_total#}: {$TOTAL}</b> <br />{#shortcart6#}

{else}

{#shortcart4#}{#shortcart5#}

{/if}

</td>

</tr>

</table>

Link to comment
Share on other sites

{if $smarty.const._CUST_STATUS_SHOW_PRICE eq '1'}

{if $show_cart_content == true}

<h5>{txt key=TEXT_CART}</h5>

<p class="cart1">

{txt key=TEXT_ARTICLE}: <span

class="gross">{$content_count}</span> <br />

<strong>{txt key=TEXT_TOTAL}: {$cart_total}</strong></p>

<a href="{link page='cart' conn=SSL}">{button

text=$smarty.const.CART file='cart.gif'}</a> <a href="{link

page='checkout' paction='shipping' conn=SSL}">{button

text=$smarty.const.KASSE file='kasse.gif'}</a>

{else}

<h5>{txt key=TEXT_CART}</h5>

<p class="cart1">

{txt key=TEXT_ARTICLE}: <span class="gross">0 </span><br />

<strong>{txt key=TEXT_TOTAL}: 0,00 EURO</strong></p>

<a href="{link page='cart' conn=SSL}">{button

text=$smarty.const.CART file='cart.gif'}</a> <a href="{link

page='checkout' paction='shipping' conn=SSL}">{button

text=$smarty.const.KASSE file='kasse.gif'}</a>

{/if}

{/if}

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...