Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

"New Products" on the main page


zarintasu

Recommended Posts

Posted

Hello ( n_n)/

 

I'm wanting to have more than 3 rows and 3 columns for my New Products on the main page.

 

I would rather have it 5 rows and 3 columns. How can I change this?

  • 2 months later...
  • 10 months later...
Posted

I found a solution. Open catalog\includes\modules\new_products.php.

Find:

 

$col ++;

if ($col > 2) {

$col = 0;

$row ++;

 

 

change 2 to a number you want per row - 1. For example, if you want 5, write there 4.

 

Then using admin panel Configuration/Maximum Values/New Products Module change number to 15.

You will have 5x3 table.

 

It's the only way I've found.

Posted

You must be the right guy.

 

Nice one.

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Posted

And one more thing, in the same file find

 

'params' => 'class="smallText" width="33%" valign="top"',

 

33% change to 20% (100%/5) in your case.

Archived

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

×
×
  • Create New...