Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

product listing help


Guest

Recommended Posts

Posted

http://www.bleubayclothing.com/project/index.php?cPath=25 (i want to change the look of it) I got a template and modified it myself.

What i want is the text to be below the image.... i want the image on top.

I thought i knew how to do it but then everything came out of place.

Here is the html code i think u needa modify in product_listing.php

Thank you,

Shadi

 

 

<td width=180 valign=top align=center>

<table cellspacing=0 cellpadding=0 width=175 align=center>

<tr><td width=90 align=center valign=top>'.$product_contents[0].'</td>

<td valign=top>

<table cellspacing=0 border=0 cellpadding=0>

<tr><td height=55 valign=middle>'.$product_contents[1].'</td></tr>

<tr><td height=0></td></tr>

<tr><td height=35 valign=middle><span class=ch11>price:</span> <span class=ch8>'.$product_contents[2].'</span> </td></tr>

</table>

</td>

</tr>

<tr><td height=2></td></tr>

<tr><td colspan=2 align=right><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $listing['products_id']) . '">' . tep_image_button('small_view.gif') . '</a><a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $listing['products_id']) . '">' . tep_image_button('button_in_cart.gif') . '</a>   </td></tr>

</table>

</td>

Posted
<table cellspacing=0 cellpadding=0 width=175 align=center>

<tr><td width=90 align=center valign=top>'.$product_contents[0].'</td>

<td valign=top>

<table cellspacing=0 border=0 cellpadding=0>

<tr><td height=55 valign=middle>'.$product_contents[1].'</td></tr>

<tr><td height=0></td></tr>

<tr><td height=35 valign=middle><span class=ch11>price:</span> <span class=ch8>'.$product_contents[2].'</span> </td></tr>

</table>

</td>

</tr>

<tr><td height=2></td></tr>

<tr><td colspan=2 align=right><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $listing['products_id']) . '">' . tep_image_button('small_view.gif') . '</a><a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $listing['products_id']) . '">' . tep_image_button('button_in_cart.gif') . '</a>   </td></tr>

</table>

</td>

 

Should just need to change it to:

 

<td width=180 valign=top align=center>
<table cellspacing=0 cellpadding=0 width=235 align=center>
<tr><td width="233" valign=top>
<table cellspacing=0 border=0 cellpadding=0>
<tr><td width="233" height=27 valign=middle>'.$product_contents[0].'</td></tr>
<tr>
 <td height=28 valign=middle>'.$product_contents[1].'</td>
</tr>
<tr><td height=0></td></tr>
<tr><td height=35 valign=middle><span class=ch11>price:</span> <span class=ch8>'.$product_contents[2].'</span> </td></tr>
</table>
</td>
</tr>

<tr><td align=right><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $listing['products_id']) . '">' . tep_image_button('small_view.gif') . '</a><a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $listing['products_id']) . '">' . tep_image_button('button_in_cart.gif') . '</a>   </td></tr>
</table>
</td>

Posted

thank you cobby

that does get the text under but now it is out of place... im trying to fix it, but that going to take me a while

I need the main table to be 456 px and not extend any further and the first image not to stick on the border like that...

thank you

Archived

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

×
×
  • Create New...