Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Product Listing Page Bug?

Product Listing Page Bug?

Locked

Views: 1,979

Results 1 to 16 of 16
This thread is locked. New replies are disabled.
6 Apr 2008, 4:22 AM
#1
jleenyc avatar

jleenyc

New Zenner

Join Date:
Jan 2008
Posts:
18
Plugin Contributions:
0

Product Listing Page Bug?

Hi all,

Me again. :smile: Sorry to bother. And, not sure whether this question belongs here or elsewhere, and I've just searched over 200 threads for the answer to this and I just can't seem to find an answer! :blush:

First off, I am not using a Template Monster Template. Further, I only made changes to zen-cart's CSS files and several HTML includes, as my knowledge of PHP is amateur at best. However, I am encountering a bug (?) in zen-cart, particularly in the Product Listing page. When I try to access a particular product category, the listed products don't align properly at the first "try". See attached thumbnail:

http://zendesignweb.com/images/messedupalignment.jpg

I call it a "bug" because there is no rhyme or reason as to when this happens. It could be one category one time and then another category another time. It could be the 2nd page of a category one time and then the 3rd page another time. However, if one hits "refresh", all the products align properly. See attached:

http://zendesignweb.com/images/okalignment.jpg

I was wondering if this was already a known bug, and if so, is there a fix? I can't seem to find any modules that would fix this. Perhaps it's something as easy as a single line of code? (hehe, wishful thinking!) Oh, BTW, I'm using FF 2.0.....

Many thanks in advance!
Janet

6 Apr 2008, 5:28 AM
#2
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Product Listing Page Bug?

It's not a bug, it's something wrong with either the html code you are using in the template or the css. You need to post a link to that page so someone can help.

9 Apr 2008, 12:51 AM
#3
jleenyc avatar

jleenyc

New Zenner

Join Date:
Jan 2008
Posts:
18
Plugin Contributions:
0

Re: Product Listing Page Bug?

Hi Yellow1912,

Thanks for your prompt response. (I'm such a newbie that I forgot to subscribe to this thread so I didn't even see that you responded until now!!!) :P

Here is the page. I must admit I mucked around a bit with the CSS to get it to look exactly how the client wants it to look. But I don't think I did anything too drastic (but apparently maybe???)

http://canaandoors.com/shop/index.php?main_page=index&cPath=2

And here is the CSS file: shop/includes/templates/custom/css/stylesheet.css

Any thoughts????

Thanks in advance!!!
Janet

9 Apr 2008, 2:01 AM
#4
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Product Listing Page Bug?

This site is locked? Can you check again?

9 Apr 2008, 2:28 AM
#5
jleenyc avatar

jleenyc

New Zenner

Join Date:
Jan 2008
Posts:
18
Plugin Contributions:
0

Re: Product Listing Page Bug?

Oh my...now I'm REALLY embarrassed!!! :blush:

I just unlocked it. Thanks!!! :wacko:

9 Apr 2008, 3:21 AM
#6
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Product Listing Page Bug?

huhm, I dont see that problem while browsing around, weird.

9 Apr 2008, 3:45 AM
#7
jleenyc avatar

jleenyc

New Zenner

Join Date:
Jan 2008
Posts:
18
Plugin Contributions:
0

Re: Product Listing Page Bug?

Yeah, that's what's so frustrating about it. It happens every once in a while and there is no rhyme or reason to it!!! :cry:

Did you try clicking on the other categories? It should rear its ugly head soon enough...

Also, did you happen to take a look at the CSS? Does anything pop out at you funny in your opinion?

Thanks so much for your help!!! :D

9 Apr 2008, 3:50 AM
#8
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Product Listing Page Bug?

Im not so sure why you have table there, since if I remember correctly the grid product listing module from version 1.3.7 and up use div for each product (and float left)

you are now floating the th and td, which may or may not cause that weird problem. But there must be a pattern to it, like that product image is larger than normal etc....

9 Apr 2008, 10:18 PM
#9
jleenyc avatar

jleenyc

New Zenner

Join Date:
Jan 2008
Posts:
18
Plugin Contributions:
0

Re: Product Listing Page Bug?

Thanks for your help Yellow. I've removed the float but it's still coming up weird. After more extensive testing, I am finding that this problem is unique to Firefox. :( And I think you're right, something in the code for the grid modue is not jibing with Firefox.....the website was supposed to be launched yesterday and most of his clientele are not very web savvy (I doubt they've even heard of FF) so I'm going to file this in the "unresolved" folder for now....

Many thanks for your input!!! :) BTW, how does one get to become "Totally Zenned"??? :smartalec:

9 Apr 2008, 10:26 PM
#10
kobra avatar

kobra

Black Belt

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

Re: Product Listing Page Bug?

Thanks for your help Yellow. I've removed the float but it's still coming up weird.
To reiterate - Why is this represented in tables?

9 Apr 2008, 11:00 PM
#11
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Product Listing Page Bug?

jleenyc:

BTW, how does one get to become "Totally Zenned"???In your case, at this moment, write another 486 posts.

9 Apr 2008, 11:14 PM
#12
jleenyc avatar

jleenyc

New Zenner

Join Date:
Jan 2008
Posts:
18
Plugin Contributions:
0

Re: Product Listing Page Bug?

Hi Kobra,

That's a good question. I know I have the latest zen-cart installed, and I downloaded this version of the column grid layout mod off the downloads page: http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_62&products_id=77

Is there a newer version out there that I am not aware of? One that uses the divs instead of the tables???

Thanks! :cool:

9 Apr 2008, 11:16 PM
#13
jleenyc avatar

jleenyc

New Zenner

Join Date:
Jan 2008
Posts:
18
Plugin Contributions:
0

Re: Product Listing Page Bug?

Heheh 485 posts now. :smile:

9 Apr 2008, 11:29 PM
#14
kobra avatar

kobra

Black Belt

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

Re: Product Listing Page Bug?

That's a good question. I know I have the latest zen-cart installed, and I downloaded this version of the column grid layout mod off the downloads page:

Tables have not been used for this since about ver 1.3.0.1 or so and I just checked one that I installed recently and no tables only div's - div, class=centerBoxContentsProducts

You or someone must have added table code to this - From your source listing:

<table width="100%" border="0" cellspacing="0" cellpadding="0" id="cat2Table" class="tabTable">
  <tr >
   <th class="centerBoxContentsProducts centeredContent back" style="width:49.5%;" scope="col" id="listCell0-0"><a href="http://canaandoors.com/shop/index.php?main_page=product_info&cPath=2&products_id=14"><img src="images/Adams Iron Door.jpg" alt="Adams Iron Door" title=" Adams Iron Door " width="69" height="125" class="listingProductImage" /></a><br /><h3 class="itemTitle"><a href="http://canaandoors.com/shop/index.php?main_page=product_info&cPath=2&products_id=14">Adams Iron Door</a></h3><div class="listingDescription"></div></th>
   <th class="centerBoxContentsProducts centeredContent back" style="width:49.5%;" scope="col" id="listCell0-1"><a href="http://canaandoors.com/shop/index.php?main_page=product_info&cPath=2&products_id=15"><img src="images/Arthur Iron Door.jpg" alt="Arthur Iron Door" title=" Arthur Iron Door " width="97" height="125" class="listingProductImage" /></a><br /><h3 class="itemTitle"><a href="http://canaandoors.com/shop/index.php?main_page=product_info&cPath=2&products_id=15">Arthur Iron Door</a></h3><div class="listingDescription"></div></th>

  </tr>
  <tr >
   <td class="centerBoxContentsProducts centeredContent back" style="width:49.5%;"><a href="http://canaandoors.com/shop/index.php?main_page=product_info&cPath=2&products_id=16"><img src="images/Buchanan Iron Door.jpg" alt="Buchanan Iron Door" title=" Buchanan Iron Door " width="97" height="125" class="listingProductImage" /></a><br /><h3 class="itemTitle"><a href="http://canaandoors.com/shop/index.php?main_page=product_info&cPath=2&products_id=16">Buchanan Iron Door</a></h3><div class="listingDescription"></div></td>
   <td class="centerBoxContentsProducts centeredContent back" style="width:49.5%;"><a href="http://canaandoors.com/shop/index.php?main_page=product_info&cPath=2&products_id=17"><img src="images/Carnegie Iron Door.jpg" alt="Carnegie Iron Door" title=" Carnegie Iron Door " width="96" height="125" class="listingProductImage" /></a><br /><h3 class="itemTitle"><a href="http://canaandoors.com/shop/index.php?main_page=product_info&cPath=2&products_id=17">Carnegie Iron Door</a></h3><div class="listingDescription"></div></td>
  </tr>
  <tr >
   <td class="centerBoxContentsProducts centeredContent back" style="width:49.5%;"><a href="http://canaandoors.com/shop/index.php?main_page=product_info&cPath=2&products_id=18"><img src="images/Cleveland Iron Door.jpg" alt="Cleveland Iron Door" title=" Cleveland Iron Door " width="71" height="125" class="listingProductImage" /></a><br /><h3 class="itemTitle"><a href="http://canaandoors.com/shop/index.php?main_page=product_info&cPath=2&products_id=18">Cleveland Iron Door</a></h3><div class="listingDescription"></div></td>

   <td class="centerBoxContentsProducts centeredContent back" style="width:49.5%;"><a href="http://canaandoors.com/shop/index.php?main_page=product_info&cPath=2&products_id=19"><img src="images/Clinton Iron Door.jpg" alt="Clinton Iron Door" title=" Clinton Iron Door " width="85" height="125" class="listingProductImage" /></a><br /><h3 class="itemTitle"><a href="http://canaandoors.com/shop/index.php?main_page=product_info&cPath=2&products_id=19">Clinton Iron Door</a></h3><div class="listingDescription"></div></td>
  </tr>
10 Apr 2008, 12:14 AM
#15
jleenyc avatar

jleenyc

New Zenner

Join Date:
Jan 2008
Posts:
18
Plugin Contributions:
0

Re: Product Listing Page Bug?

OK, I think I got to the bottom of this. I actually installed zen-cart through my ISP's cPanel. I ASSUMED it was the latest version, but apparently not!!!

http://canaandoors.com/zencart.gif

I thought I was losing it for a second there!!! I am doing the website myself and haven't used tables since like 2002!!! :P

I guess this begs the question: do I need to uninstall this version and reinstall the latest? What happens if I stay with this version (1.3.8)??? I really want to avoid having to redo everythng again....:no:

Thanks to all!!!

10 Apr 2008, 1:40 AM
#16
jleenyc avatar

jleenyc

New Zenner

Join Date:
Jan 2008
Posts:
18
Plugin Contributions:
0

Re: Product Listing Page Bug?

OK I am losing my mind.....I DO have the latest version of zen-cart and the latest version of the column grid module thingy.......and i DIDN'T add any table properties to the source code, nor is this a custom template or anything.............................................

help???!?!? or unresolved???? :(