| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
Items in Cart - Doesn't count quantities | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Items in Cart - Doesn't count quantities
Currently - our "items in cart" is not counting the quantity of items. It only counts how many unique items there are in the cart.
Is there an easy way to modify this to count the total amount of items - including their quantities (so if there were 2 different items, each with quantity of 10 - it would show 20)
__________________
CreativeArc --------------- X-Cart Pro Version: 4.1.8 |
|||||||
#2
|
|||||||
|
|||||||
Re: Items in Cart - Doesn't count quantities
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
Re: Items in Cart - Doesn't count quantities
Well - that shows the not-so-goodness of xcart forums search function...
That thread helped - thank you.
__________________
CreativeArc --------------- X-Cart Pro Version: 4.1.8 |
|||||||
#4
|
|||||||
|
|||||||
Re: Items in Cart - Doesn't count quantities
All depends on what you search for. The new forum search is fine, just need the keywords is all. Thread came right up for me.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||||
|
|||||||||
Re: Items in Cart - Doesn't count quantities
I actually took this code and changed it a little bit. Instead of replacing the code in minicart.php I added it.
Here is what I did: 1. Open minicart.php and add Code:
Code:
Code:
Code:
Code:
Code:
Code:
6. Then open customer/main/minicart.tpl and add the new variable "minicart_total_products" where you want it to appear. Something like this Code:
Attachment 597
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#6
|
|||||||
|
|||||||
Re: Items in Cart - Doesn't count quantities
moving to completed mods...
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|