View Single Post
  #1  
Old 03-25-2005, 08:31 AM
  EnriqueHavoc's Avatar 
EnriqueHavoc EnriqueHavoc is offline
 

eXpert
  
Join Date: Jul 2004
Posts: 232
 

Default [Minicart] How do I display just the subtotal?

I would like to know how to display just the subtotal (without tax or shipping charges) in customer/main/minicart.tpl.

Ive searched and it seems a couple people, including myself, have been wondering the answer to this for awhile.

In customer/main/cart_totals.tpl it has something to do with this code:

Quote:
{assign var="subtotal" value=$cart.subtotal}
{include file="currency.tpl" value=$cart.display_subtotal}

but since im not a coder, i cant figure out how to call it from the minicart.

Also, while were dealing with the minicart- I would also like to find out how to fix the item display to always show the true amount of items in the cart (Quantity 2 of Item A should show as Items: 2). Boomer coded a mod to do it for 3.x but as reported by someone it does not seem to work in 4.x


Both have been discussed in various threads over the past year but no definitive answers have been found, therefore I am starting a new thread. Anybody want to take another stab at it?
__________________
X-Cart 4.0.12
PHP 4.3.11
MySQL 4.0.23
Linux/Apache
Net::SSLeay 1.25
libCURL libcurl/7.12.0 OpenSSL/0.9.7a zlib/1.1.4
www.ewdhosting.com
Reply With Quote