Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Search Results


Guest

Recommended Posts

I am still having trouble with my search results page. I have set all of the parameters for alignment in the files advance_search... and also in includes/modules/product_listings.php If you would have a look at This Page and help me figure out why the header of the product listing is so far to the right, I can't find the place to edit the colspan of anything...

 

Thanks!

Seth

 

This is the html output of what I need to edit...

 

<table border="0" width="100%" cellspacing="0" cellpadding="2" class="productListing">
 <tr>
<td align="center" class="productListing-heading">  </td>
<td align="center" class="productListing-heading"> Buy Now </td>
<td align="right" class="productListing-heading"> <a href="http://macsmusic.sethhaehl.com/store/advanced_search_result.php?keywords=guitar&page=1&sort=3a" title="Sort products ascendingly by Weight" class="productListing-heading">Weight</a> </td>
<td align="right" class="productListing-heading"> <a href="http://macsmusic.sethhaehl.com/store/advanced_search_result.php?keywords=guitar&page=1&sort=4a" title="Sort products ascendingly by Price" class="productListing-heading">Price</a> </td>
<td class="productListing-heading"> <a href="http://macsmusic.sethhaehl.com/store/advanced_search_result.php?keywords=guitar&page=1&sort=5d" title="Sort products descendingly by Product Name" class="productListing-heading">Product Name+</a> </td>
<td class="productListing-heading"> <a href="http://macsmusic.sethhaehl.com/store/advanced_search_result.php?keywords=guitar&page=1&sort=6a" title="Sort products ascendingly by Manufacturer" class="productListing-heading">Manufacturer</a> </td>
<td align="right" class="productListing-heading"> <a href="http://macsmusic.sethhaehl.com/store/advanced_search_result.php?keywords=guitar&page=1&sort=7a" title="Sort products ascendingly by Quantity" class="productListing-heading">Quantity</a> </td>
 </tr>
 <tr class="productListing-odd">
<td align="center" class="productListing-data"> <a href="http://macsmusic.sethhaehl.com/store/product_info.php?products_id=29"><img src="images/JT300-sm[1].jpg" border="0" alt="JT300 Electric Guitar" title=" JT300 Electric Guitar " width="100" height="80"></a> </td>
<td align="center" class="productListing-data"><a href="http://macsmusic.sethhaehl.com/store/advanced_search_result.php?keywords=guitar&sort=5a&action=buy_now&products_id=29"><img src="includes/languages/english/images/buttons/button_buy_now.gif" border="0" alt="Buy Now" title=" Buy Now " width="60" height="14"></a> </td>
<td align="right" class="productListing-data"> 17.00 </td>
<td align="right" class="productListing-data"> $249.95 </td>
<td class="productListing-data"> <a href="http://macsmusic.sethhaehl.com/store/product_info.php?products_id=29">JT300 Electric Guitar</a> </td>
<td class="productListing-data"> <a href="http://macsmusic.sethhaehl.com/store/index.php?manufacturers_id=10">Jay Turser</a> </td>
<td align="right" class="productListing-data"> 1 </td>
 </tr>
</table>

Link to comment
Share on other sites

I am still having trouble with my search results page. I have set all of the parameters for alignment in the files advance_search... and also in includes/modules/product_listings.php If you would have a look at This Page and help me figure out why the header of the product listing is so far to the right, I can't find the place to edit the colspan of anything...

 

Thanks!

Seth

 

This is the html output of what I need to edit...

 

<table border="0" width="100%" cellspacing="0" cellpadding="2" class="productListing">
 <tr>
<td align="center" class="productListing-heading">  </td>
<td align="center" class="productListing-heading"> Buy Now </td>
<td align="right" class="productListing-heading"> <a href="http://macsmusic.sethhaehl.com/store/advanced_search_result.php?keywords=guitar&page=1&sort=3a" title="Sort products ascendingly by Weight" class="productListing-heading">Weight</a> </td>
<td align="right" class="productListing-heading"> <a href="http://macsmusic.sethhaehl.com/store/advanced_search_result.php?keywords=guitar&page=1&sort=4a" title="Sort products ascendingly by Price" class="productListing-heading">Price</a> </td>
<td class="productListing-heading"> <a href="http://macsmusic.sethhaehl.com/store/advanced_search_result.php?keywords=guitar&page=1&sort=5d" title="Sort products descendingly by Product Name" class="productListing-heading">Product Name+</a> </td>
<td class="productListing-heading"> <a href="http://macsmusic.sethhaehl.com/store/advanced_search_result.php?keywords=guitar&page=1&sort=6a" title="Sort products ascendingly by Manufacturer" class="productListing-heading">Manufacturer</a> </td>
<td align="right" class="productListing-heading"> <a href="http://macsmusic.sethhaehl.com/store/advanced_search_result.php?keywords=guitar&page=1&sort=7a" title="Sort products ascendingly by Quantity" class="productListing-heading">Quantity</a> </td>
 </tr>
 <tr class="productListing-odd">
<td align="center" class="productListing-data"> <a href="http://macsmusic.sethhaehl.com/store/product_info.php?products_id=29"><img src="images/JT300-sm[1].jpg" border="0" alt="JT300 Electric Guitar" title=" JT300 Electric Guitar " width="100" height="80"></a> </td>
<td align="center" class="productListing-data"><a href="http://macsmusic.sethhaehl.com/store/advanced_search_result.php?keywords=guitar&sort=5a&action=buy_now&products_id=29"><img src="includes/languages/english/images/buttons/button_buy_now.gif" border="0" alt="Buy Now" title=" Buy Now " width="60" height="14"></a> </td>
<td align="right" class="productListing-data"> 17.00 </td>
<td align="right" class="productListing-data"> $249.95 </td>
<td class="productListing-data"> <a href="http://macsmusic.sethhaehl.com/store/product_info.php?products_id=29">JT300 Electric Guitar</a> </td>
<td class="productListing-data"> <a href="http://macsmusic.sethhaehl.com/store/index.php?manufacturers_id=10">Jay Turser</a> </td>
<td align="right" class="productListing-data"> 1 </td>
 </tr>
</table>

 

and if you dont mind one other thing... I can't stop http://macsmusic.sethhaehl.com/store/products_new.php from blowing off the browser...

Link to comment
Share on other sites

Hi,

Just your store -- search is working with only one product. Its loading fine on my Firefox browser. ColSpan could be used in the index.php within your <table> and <td width="<?php echo BOX_WIDTH; ... depending on how you want design your page.

 

I also checked it out on my IE 6.0, still looks good and search will allow both to find the 'guitar' , 'electric' , etc. and show products not found on other bad searches. Nice looking store!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...