Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error displaying Category with only sub-categories


beinerts

Recommended Posts

Hello all,

There seems to be a bug which prints 'n's in categories where there are no products (just sub categories). To see what I'm talking about please see <a href='http://ecobaby.net/catalog/'>this page</a> and click on the category "organic baby and infant food". You will see a row of 'n's. This only seems to affect categories which are empty except for the sub categories. I've included the generated html code which seems to display this, but I have no idea how to get rid of it! Thanks in advance...

 

<td align="center" class="smallText" width="33%" valign="top"><a href="http://ecobaby.net/catalog/index.php?cPath=24_40"><img src="images/" border="0" alt="Baby Bisquits" title=" Baby Bisquits " width="100" height="57"><br>Baby Bisquits</a></td>n <td align="center" class="smallText" width="33%" valign="top"><a href="http://ecobaby.net/catalog/index.php?cPath=24_42"><img src="images/" border="0" alt="Baby Food Jars" title=" Baby Food Jars " width="100" height="57"><br>Baby Food Jars</a></td>n <td align="center" class="smallText" width="33%" valign="top"><a href="http://ecobaby.net/catalog/index.php?cPath=24_41"><img src="images/" border="0" alt="Baby Juices" title=" Baby Juices " width="100" height="57"><br>Baby Juices</a></td>n </tr>n <tr>n <td align="center" class="smallText" width="33%" valign="top"><a href="http://ecobaby.net/catalog/index.php?cPath=24_39"><img src="images/" border="0" alt="Formula" title=" Formula " width="100" height="57"><br>Formula</a></td>n </tr>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...