If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / Products don't show when "ALL PRODUCTS" link is clicked.

Products don't show when "ALL PRODUCTS" link is clicked.

Started by apriigem on 27 Feb 2013, 6:44 PM · Views: 677

Results 1 to 6 of 6
27 Feb 2013, 6:44 PM
#1
apriigem avatar

apriigem

New Zenner

Join Date:
Jan 2013
Posts:
33
Plugin Contributions:
0

Post #1 by apriigem

So far, I'm doing ok with my site. With trial and error and a lot of forum help, I've gotten it to look pretty much how I want, but this one thing has eluded me. I can't seem to find any posts about it. When I click the "ALL PRODUCTS" link, no products show up. They show up everywhere else, their categories and in the new and featured sections. Is there some setting I might be missing, or is it possible I turned this feature off somehow? I have no clue where to begin to fix this. Any help would be greatly appreciated. Thanks :dontgetit

Here is a link to the page in question.

http://www.thecuterie.com/index.php?main_page=products_all&zenid=a7qfo2dlqf6gdaq3hd5cmegan4

27 Feb 2013, 8:05 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #2 by kobra

Try switching to the classic template and see if they display

If so then it is confined to the custom template files

Zen-Venom Get Bitten

27 Feb 2013, 10:21 PM
#4
apriigem avatar

apriigem

New Zenner

Join Date:
Jan 2013
Posts:
33
Plugin Contributions:
0

Post #4 by apriigem

Thank you I'll try those things and see if they work. Also, not sure what you mean about posting a link with a zenid. How would I NOT do that? That's the link that i copied and pasted from the site and the info that follows zenid is different everytime I go to the page.

27 Feb 2013, 10:31 PM
#5
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #5 by kobra

Also, not sure what you mean about posting a link with a zenid. How would I NOT do that? That's the link that i copied and pasted from the site and the info that follows zenid is different everytime I go to the page.
Strip any zenid from any link that you post anywhere

Spaces added by me
http :// www. thecuterie.com/index.php?main_page=products_all &zenid=a7qfo2dlqf6gdaq3hd5cmegan4

Leave what is in red off

Zen-Venom Get Bitten

27 Feb 2013, 10:44 PM
#6
apriigem avatar

apriigem

New Zenner

Join Date:
Jan 2013
Posts:
33
Plugin Contributions:
0

Post #6 by apriigem

Thank you, that link helped immensely! It lead me to the debug log where I could see the line of code that was giving me problems. Not sure how this actually helps but the code in question was this:

if ($products_all_split->number_of_rows > 0) {
$products_all = $db->Execute($products_all_split->sql_query);
$row_counter = ;

For some reason, after I added a zero to the row_counter it made the page work. Go fig. :blink:

I see what you're saying about the ID now. I will remember to do that. Out of curiosity, what would happen if i didn't??