Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Products Descriptions


dchockenberry

Recommended Posts

In product_info.php

 

Look for this

      <tr>
       <td class="main">
<?php
   if (tep_not_null($product_info['products_image'])) {
?>

 

change <tr> to <tr class="infoBoxContents">

while (!succeed) {try()};

 

GMT -6:00

Link to comment
Share on other sites

Yes. Take a look at stylesheet.css and check out the .infoBoxContents class. You could go ahead and make a new copy of it, then change it's name (for instance .descriptionBoxContents), information (colors, text style) and make the change that was previously mentioned, but use your new style instead:

<tr class="descriptionBoxContents">

Link to comment
Share on other sites

Yes, you can name the style classes anything you want. I have modified my product_info.php file, and don't have a standard install handy, so I can't tell you exactly where to change the <tr>, but I figure it's around line 90. A decent way to hunt for the right place is to use your browser to view the source of a page you want to change. Find the place in the html source that needs changing (in this case, you would look for the product description) and take note of the html that surrounds that area. Then search in your php files (in your case, you would just need to search in product_info.php) for that html and go from there.

 

Remember to backup your files before editing them. It'll save you some headaches and allow you to modify the code w/out fear of ruining it.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...