new product number

Locked

Views: 1,755

Results 1 to 15 of 15
This thread is locked. New replies are disabled.
11 Dec 2007, 5:32 PM
#2
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: new product number

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.

Holzheimer
Fan Odyssey

11 Dec 2007, 11:11 PM
#3
callansdad avatar

callansdad

New Zenner

Join Date:
Nov 2007
Posts:
33
Plugin Contributions:
0

Re: new product number

I have had a look there and fiddled with a few bits but cannot see where i've gon wrong.

12 Dec 2007, 4:19 AM
#4
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: new product number

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.

Holzheimer
Fan Odyssey

12 Dec 2007, 10:36 AM
#5
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: new product number

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).

12 Dec 2007, 2:40 PM
#6
callansdad avatar

callansdad

New Zenner

Join Date:
Nov 2007
Posts:
33
Plugin Contributions:
0

Re: new product number

Fixed it in tpl_catagories ....
changed

$content .= '</a>';

if (SHOW_COUNTS == 'true')

to

$content .= '</a>';

if (SHOW_COUNTS == 'false')

12 Dec 2007, 3:08 PM
#7
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: new product number

: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.

Holzheimer
Fan Odyssey

12 Dec 2007, 4:36 PM
#8
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: new product number

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.

12 Dec 2007, 7:26 PM
#9
robinstl avatar

robinstl

Zen Follower

Join Date:
Aug 2007
Location:
St. Louis
Posts:
111
Plugin Contributions:
0

Re: new product number

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?

12 Dec 2007, 7:47 PM
#11
robinstl avatar

robinstl

Zen Follower

Join Date:
Aug 2007
Location:
St. Louis
Posts:
111
Plugin Contributions:
0

Re: new product number

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.

12 Dec 2007, 8:32 PM
#12
robinstl avatar

robinstl

Zen Follower

Join Date:
Aug 2007
Location:
St. Louis
Posts:
111
Plugin Contributions:
0

Re: new product number

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?

12 Dec 2007, 8:39 PM
#13
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: new product number

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?

12 Dec 2007, 9:52 PM
#14
robinstl avatar

robinstl

Zen Follower

Join Date:
Aug 2007
Location:
St. Louis
Posts:
111
Plugin Contributions:
0

Re: new product number

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?

12 Dec 2007, 10:40 PM
#15
robinstl avatar

robinstl

Zen Follower

Join Date:
Aug 2007
Location:
St. Louis
Posts:
111
Plugin Contributions:
0

Re: new product number

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.