Post by condor » Sun Jul 04, 2010 9:52 am

Before I spend several hours looking through files to find where this can be changed:
Can someone tell me how I can change from displaying 4 products per row, to 3 products per row, on the Homepage 'Latest' products section, and on the Category & Subcategory pages?

Thanks!

Newbie

Posts

Joined
Sun Jul 04, 2010 9:41 am

User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by condor » Mon Jul 05, 2010 1:27 am

Thanks!
This is what I was looking for:
EDIT THE FOLLOWING FILES:
catalog/view/theme/default/template/module/*_home.tpl
catalog/view/theme/default/template/product/*.tpl

Change:
$i = 4
to $i = 3

Thanks for your help.

Newbie

Posts

Joined
Sun Jul 04, 2010 9:41 am

Post by lordmatthewa » Mon Jul 05, 2010 3:02 am

I'm also trying to get 3 images per row, I located the files mentioned in this thread but I can't find $i = 4 in any of the files.

Please help?

Newbie

Posts

Joined
Wed Jun 30, 2010 4:18 pm

Post by mbrown1782 » Sat Jul 10, 2010 12:38 am

I am also not able to find $i = 4 in any of this code. I see where it's coded that $i = 0 and then later on the string it states $i = $i + 4. I have tried changing this 4 to a 3 but all it does is list the 4 items on 1 line and then sy=tarts the next line with the 4th product...

Can anyone address or point us in the propoer direction?

Newbie

Posts

Joined
Sat Jul 10, 2010 12:30 am

Post by chetandeora » Sun Nov 16, 2014 1:37 am

The only way to show products in 3 rows on category page is to change stylesheet.css on line 948
increase the width here -

.product-grid > div {
width: 220px;

Newbie

Posts

Joined
Sun Nov 16, 2014 1:33 am

Post by delpi » Mon May 11, 2015 7:40 pm

how I can add 3 produsct per row, and 3 rows?

I want to show on homepage, on lastest produstc that:

product 1 product 2 product 3
product 4 product 5 product 6
product 7 product 8 product 9

wait for any help. big thanks.

Newbie

Posts

Joined
Mon Apr 27, 2015 3:55 pm

Post by johnp » Sat May 11, 2019 7:51 am

The same goes for OC1.5.6.4/5 if you're using a Bootstrap template. I highly recommend OC Bootstrap Pro for OC1.5.6.4/5 based sites. Once you get to grips with Bootstrap there's lots you can do with the theme. It's very flexible.

Opencart 1.5.6.5/OC Bootstrap Pro/VQMOD lover, user and geek.
Affordable Service £££ - Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More
FREE Guidance and Advice at https://www.ecommerce-help.co.uk


User avatar
Active Member

Posts

Joined
Fri Mar 25, 2011 10:25 am
Location - Surrey, UK
Who is online

Users browsing this forum: No registered users and 6 guests