Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Add separator in products listing module


Guest

Recommended Posts

Looking at line 340:

require(DIR_WS_MODULES . FILENAME_PRODUCT_LISTING);

and includes/filenames.php, I would say that you would want to put it in product_listing.php. It might help someone else if you can post the exact place to make the change once you find it.

 

Hth,

Matt

Link to comment
Share on other sites

Yeah, that is my problem. It definitely is generated in the product_listings.php module, which uses osC's box class. I just can't seem to find where to edit that part.

 

Thanks in advance!

Zac

Link to comment
Share on other sites

Did you try line 63 of boxes.php?

        $tableBox_string .= '  </tr>' . "n";

It's the only place that I see an end of Table Row marker.

 

Good luck,

Matt

Link to comment
Share on other sites

Matt,

 

Looks good. I changed this code (line 63 of /classes/boxes.php):

 

$tableBox_string .= '  </tr>' . "n";

 

To this code:

 

$tableBox_string .= '  </tr><tr><td colspan=4><hr noshade size="1"></td></tr>' . "n";

 

I can't seem to make it dynamically get the number of columns for the colspan, but it works for me and the display isn't going to change.

 

Thanks so much!

Link to comment
Share on other sites

I think that the $n2 is the number of columns, if you decide that you need that in the future.

 

Good luck,

Matt

Link to comment
Share on other sites

If u just need a line between the tablerows, can't u just add a border-bottom/top in the Product-Listing class in styles.css ? and maybe some cell padding if u need more space...

Eagles may soar high,

but weasels don't get sucked into jet engines.

-D. Brent

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...