Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Display Product Name on Right and Product Image on Left


lynncole

Recommended Posts

Posted

I have a site up and running with this change; however, I cannot locate the code that changes this.

 

Here is a link to a working example of what I want the page to look like:

 

http://www.theautomotivereporter.com/home/...lt.php?cPath=61

 

I have installed osCommerce 2.2 MS2 and trying to get back to where I am with the site above.

 

I have been looking through product_listing.php to no avail yet.

 

Any hint will be appreciated.

 

Thanks,

 

Lynn

Posted

In your product_listing .php file you will see that there is a table at lines 17 -22 and again at the bottom of the page at lines 156 - 161.

 

Here is an example:

 

<table border="0" width="100%" cellspacing="0" cellpadding="2">

<tr>

<td class="smallText"><?php echo $listing_split->display_count(TEXT_DISPLAY_NUMBER_OF_PRODUCTS); ?></td>

<td class="smallText" align="right"><?php echo TEXT_RESULT_PAGE . ' ' . $listing_split->display_links(MAX_DISPLAY_PAGE_LINKS, tep_get_all_get_params(array('page', 'info', 'x', 'y'))); ?></td>

</tr>

</table>

 

 

No what you have to do is swop the two <td> around. The one at the bottom must be at the top. Try this and see if it works for you. I'm not 100% sure if this is going to give you the desired effect. Make a copy of the file before you make changes. :)

Rose

The strong survive BUT the best succeed !!

1064 - You have an error in your SQL syntax

Archived

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

×
×
  • Create New...