| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
3.5.4 Mini Cart gives wrong number of items | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
3.5.4 Mini Cart gives wrong number of items
I saw this mentioned before with regards to earlier versions. Mini cart is showing groups of items as one item e.g. added 3 x product to cart and mini cart says 1 item. Is this by design?
Thanks Dan
__________________
4.4.2 and 4.6.1 |
|||||||
#2
|
|||||||||
|
|||||||||
yeh, maybe it should say '3 products'
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. EWD Hosting Hands On Hosting |
|||||||||
#3
|
|||||||
|
|||||||
Well it doesn't look right. If I have a total quantity of 6 items in my cart I expect to see "6" in the mini cart -what's the point in having the mini cart if it doesn't match up to the main cart? I've mailed X-Cart about this.
Thanks Dan
__________________
4.4.2 and 4.6.1 |
|||||||
#4
|
|||||||
|
|||||||
Please let us know what x-cart tells you for a fix on this. I've never noticed it in all the stores I've done, but it's been there as far back as 3.3.x
Thanks, Cameron
__________________
Current project: 4.4.2 |
|||||||
#5
|
|||||||||
|
|||||||||
It's the total number of different products not the total quantity of individual items in the cart.
3 x Red Balloons is only 1 item. 3 x Red Balloons and 2 x Blue Balloons is 2 items. |
|||||||||
#6
|
|||||||||
|
|||||||||
This was done with 3.5.4, customer/minicart.php:
Code:
This code actually loops over the cart array products index, and finds the amount and adds them up to return a true number of items. Donations: paypal@molotovbliss.com if you find this useful.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart. |
|||||||||
#7
|
|||||||
|
|||||||
Thanks Boomer, I'll give that a shot. I still think the mini cart should show the total quantity of items by default. I'll see what X-Cart say. I think they must be busy at the moment as they've not replied to my mails for a while.
Thanks again Dan
__________________
4.4.2 and 4.6.1 |
|||||||
#8
|
|||||||
|
|||||||
Hi,
This doesn't include gift vouchers in the total no products though, so you need an additional line after the loop .... after ... Code:
Put in this line to fix this .... Code:
|
|||||||
#9
|
|||||||
|
|||||||
I used this in 4.0.4 (Thanks Boomer), but my "Total" still says $0.00 no matter how many items are in the cart.
This changes when you "View Cart" or "Checkout", but I don't want to redirect to cart for the customer as our average order has 8-10 items. Does anyone know how to get the total (sub-total) to show in the minicart? Thanks, Mike
__________________
4.1.9 |
|||||||
#10
|
|||||||
|
|||||||
This mod was exactly what I was looking foor. Thanks a bunch BOOMER!!!
__________________
Thanx, Dan ________________ X-Cart Gold 4.0.18 |
|||||||
|
|||
X-Cart forums © 2001-2020
|