Hi All,
Can someone please tell me how to increase the number of products displayed on one page. By default it shows 12 products. Can I make it to 20?
Thanks!
Vimal.
Hi Qhoria,
I did check and I got some entries where you have replied on too..eg below. But I don't want it for the latest products as I don't use that feature. I have hidden it. I have my own pics and products that I want to showcase and use it through the WYSIWYG editor for the home page.
What I needed is for the categories page where products are displayed. I have searched other posts that show how to change the latest products from 8 to 12 or 20 etc. I then changed my category page to show 20 products. I now get 20 products but I also have additional pages which contains no products. Hence I thought there is a smarter way of doing it that good people like you would know...
I am sorry if I have made a post that is already answered before. But I couldn't find the answer and I tried with other solutions provided.
I did check and I got some entries where you have replied on too..eg below. But I don't want it for the latest products as I don't use that feature. I have hidden it. I have my own pics and products that I want to showcase and use it through the WYSIWYG editor for the home page.
What I needed is for the categories page where products are displayed. I have searched other posts that show how to change the latest products from 8 to 12 or 20 etc. I then changed my category page to show 20 products. I now get 20 products but I also have additional pages which contains no products. Hence I thought there is a smarter way of doing it that good people like you would know...
I am sorry if I have made a post that is already answered before. But I couldn't find the answer and I tried with other solutions provided.
Re: Where to change "Rows Per Page"
by Qphoria » Tue Sep 15, 2009 11:20 am
in the home.tpl file you change the <td width="25%"> to 20% for 5 (formula: 100/num of rows)
Do the same in category.tpl
Hope this at least goes back to the css soon.
Re: home page featured products
by readyman » Tue Jun 16, 2009 10:12 pm
FidoX and his website are down and I checked his 'patch' on the contributions & it's incomplete. I guess you can only get the full package from his website.
Here's a quick hack to replace the latest products with & display products by category - you just have to replace one line in catalog/controller/common/home.php
Around line 27
Code: Select all
foreach ($this->model_catalog_product->getLatestProducts(8) as $result) {
change to
Code: Select all
//foreach ($this->model_catalog_product->getLatestProducts(8) as $result) { //get latest products
foreach ($this->model_catalog_product->getProductsByCategoryId(18,'','','',8) as $result) {
Keep the current code there for later... this is just a quick hack.
The 18 represents the category you want to show - just rollover your category menu to find out what id it is.
The 8 represents the number of products you want to limit this display to.
Hope this helpshttp://www.alreadymade.com
- Dynamic drop down menu for categories/sub categories
- Text options, Global attributes for products
- Professional Opencart template designs
readyman
Global Moderator
Posts: 333
Joined: Tue May 19, 2009 10:16 pm
Location: Sydney
Private messageWebsite
www.beeshop.se
Starta webbshop, Starta e-butik, Starta e-handel
Thanks Qphoria! Got it working now. Shows the correct number of pages and also the page numbers..thanks
www.beeshop.se
Starta webbshop, Starta e-butik, Starta e-handel
Who is online
Users browsing this forum: stefansmith129 and 205 guests