View Single Post
  #9  
Old 02-07-2006, 10:13 AM
  2coolbaby's Avatar 
2coolbaby 2coolbaby is offline
 

eXpert
  
Join Date: Sep 2004
Location: TN moving to FL
Posts: 265
 

Default

For some reason I have Total (with amount) showing up on the right side and the bottom and it is cramping the cart contents. I have looked at the code it doesn't look like that should be there so obviously I am missing something. Here is the code I have for in minicart.tpl:

<TABLE border="0" cellpadding="1" cellspacing="0">
<TR>
<TD rowspan="2" width="23">
{if $minicart_total_items > 0}[img]{$ImagesDir}/cart_full.gif[/img]{else}[img]{$ImagesDir}/cart_empty.gif[/img]{/if}

{if $minicart_total_items > 0}
<table width="100%">
{foreach from=$minicart_contents item=item}
<tr><td>{$item.product|truncate:18:"...":true}</td><td>X {$item.amount}</td><td align="right">{$item.display_subtotal}</td></tr>
{/foreach}
<tr><td>Total</td><td></td><td align="right">{include file="currency.tpl" value=$minicart_total_cost}</td></tr>
</table>
{/if}
</TD>


4.0.17
__________________
Mary Lee
-------------------
Dinner and a Murder Mystery Games
http://www.dinnerandamurder.com

x-cart version 4.7.5 / Mac OS 10.10.5 and Windows 8/10 sometimes - Ideal Responsive Template
Reply With Quote