View Single Post
  #2  
Old 01-20-2005, 08:44 AM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

You could do such on the cart as long the $product array is available.

Code:
{if $products[1]} two or more items {elseif $products[0]}one item {/if}

Change smarty.php to use debug.tpl instead of debug_template.tpl and enable the debug console in the admin under general settings. You will see all available variables and arrays you can use.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote