New Zenner
- Join Date:
- Nov 2007
- Posts:
- 33
- Plugin Contributions:
- 0
new product number
How do i get rid of the number one in the sidebox here?
http://www.butternutbaby.co.uk/catalog/
Thanks
Views: 1,755
New Zenner
How do i get rid of the number one in the sidebox here?
http://www.butternutbaby.co.uk/catalog/
Thanks
Totally Zenned
Check your Nappies category. It seems to be coming from there. :blink:
Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.
New Zenner
I have had a look there and fiddled with a few bits but cannot see where i've gon wrong.
Totally Zenned
Really odd. That seems to be where it's coming from. It appears under Nappies in the side box and if you click on Nappies it appears a couple of times there as well. :huh:
Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.
Black Belt
Have you done anything with tpl_categories.php?
The "1" is appearing below every category that has products, and nowhere else. That has to be a clue.
I don't see anything in the stylesheet, except for some ul and li selectors that shouldn't be there (since there is no categories list).
New Zenner
Fixed it in tpl_catagories ....
changed
$content .= '</a>';
if (SHOW_COUNTS == 'true')
to
$content .= '</a>';
if (SHOW_COUNTS == 'false')
Totally Zenned
:clap: Good catch, Glenn! Glad it's sorted, callansdad! :clap:
Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.
Black Belt
Duh... I must have been too tired last night. Of course the "1" is showing on cats that have a product - when you have block-type display, the counts and any other characters you have get pushed down. If there had been more products there it would have been inescapably obvious.
The solution is not to change tpl_categories.php, but to set Configuration > My Store > Show Category Counts to false.
Zen Follower
gjh42:
Of course the "1" is showing on cats that have a product.
Is this always the case? I am testing with easy populate with just a few records and I have a couple categories that show a (2) next to the cat name but with only 1 product showing on both the back and frontend.
I added another product to the category which initially showed (1) next to it but with NO product.
http://karenwilliamson.com/catalog/index.php?main_page=index&cPath=1
It's happening on the link labelled 'Connecticut' in the left menu. Freaking me out.
Any ideas?
Black Belt
I'm seeing this on the Michigan cat - shows (2) but there is only one product in it.
Connecticut and Missouri are correctly showing (1).
Zen Follower
I'm sorry, it is Michigan. Any idea why this is happening or how to remedy it? I haven't futzed with any code that would cause this.
Zen Follower
I checked the product_id of all the products that showed up then went in PhpMyAdmin and deleted the one record that wasn't showing up.
Still don't know why it wasn't showing up because all the DB table entries were identical to the ones that did show up.
Does this have something to do with the 'v_status' column on the Easy Populate .csv file?
Black Belt
There are several tables involved with products... maybe one that the count accesses has an id, and one that the display uses is missing something so it doesn't show up?
Zen Follower
It has to have something to do with the way I populated the .csv file? That's all I can think of. At least its showing correctly now?
Zen Follower
Here we go...
'v_status' has to be set to one of the following....
0 => Not shown in cart but listed but in database [ Status OFF ]
1 => Shown/Listed in cart [ Status On ]
9 => Delete from the database
I must of had that value set to zero. This is entirely possible since I was experimenting with it every was possible.
Tell staff why this post should be reviewed.