| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
[Minicart] How do I display just the subtotal? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() 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:
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 |
|||||||||
#2
|
|||||||||
|
|||||||||
![]() Well i guess ill keep looking then
__________________
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 |
|||||||||
#3
|
|||||||
|
|||||||
![]() Hello Henrique,
Code:
__________________
X-Cart: Gold 4.0.13 OS: Linux (Fedora) PHP: 4.3.10 MySQL: 4.0.22 |
|||||||
#4
|
|||||||||
|
|||||||||
![]() just change your minicart.tpl to this:
Code:
mike UPDATE - actually this only works when under cart.php (ie during checkout) - otherwise the subtotal is $0, anyone got any ideas?
__________________
X-Cart Gold 4.0.17 & 4.0.18 Linux Server Hands-On Hosting http://www.CoreCases.com - Ipod Cases http://www.InnovativeOutlet.com - Pet Plants and other cool stuff you need |
|||||||||
#5
|
|||||||||
|
|||||||||
![]() enrique, here is the mod to fix the minicart # of items issue in 4.0.x
http://forum.x-cart.com/viewtopic.php?t=25846
__________________
X-Cart Gold 4.0.17 & 4.0.18 Linux Server Hands-On Hosting http://www.CoreCases.com - Ipod Cases http://www.InnovativeOutlet.com - Pet Plants and other cool stuff you need |
|||||||||
#6
|
|||||||
|
|||||||
![]() did anyone ever work this out
I want the minicart to show the subtotal without tax, so far I have: $MINICART["total_cost"] = $cart["display_subtotal"]; but if you're logged in and displaying a tax free country, it alters the subtotal to the tax free price, any ideas?
__________________
------------------- 4.2.2 4.1.9 |
|||||||
|
|||
X-Cart forums © 2001-2020
|