On my old store on oscommerce you used to be able to click "Latest Products" and it would display the products recently added.
This was handy for regular customers who could see easily whats new.
I know the Latest Products module can be customized to display more items but I don't want it to take up lots of room on the home page. I have added a lot of items today, more than can be displayed in the module on the home page.
Thank You
http://www.getclearthinking.com/store/l ... ller-pages
Johnathan wrote:As an update, I've created Latest, Featured, and Bestseller Pages which you can just upload and then put the links where you want. This way it supports pagination and sorting, and will work like any other product-listing page. You can get it for not too much here:
http://www.getclearthinking.com/store/l ... ller-pages
Can you set how many products are displayed on the Latest product page.
Looks very good thank you, Just what open cart needs
Thanks for the comments! As for pagination, by default it simply lists all of the products, using the pagination setting from the admin. If you want to limit it to a certain number of products, you can do the following change (in this example, showing 24 total products 8 at a time):Simple wrote:Can you set how many products are displayed on the Latest product page.
Looks very good thank you, Just what open cart needs
Code: Select all
IN:
/catalog/controller/product/latest.php
REPLACE:
$this->model_catalog_latest->getTotalLatestProducts()
WITH:
24
AND REPLACE ALL OCCURRENCES OF:
$this->config->get('config_catalog_limit')
WITH:
8
meaning 8 products will be shown per page and it goes up until 24 pages?
I don't know much about PHP...~~
Don't know much about JQuery...~~
But I do know that I love OC!~~
and I know that if you'd guide me, what a wonderful world this would be...!~~
_________________________________________________________________
Using OC 1.4.9.2
http://www.ten2hundred.com
ahhh ok! nice this is what i need. btw is tweaking the all_products page same as this? cause when i go products/all it is automaticly set at 100 although my global setting is 44.Johnathan wrote:No, meaning it will show 8 products per page, with 3 pages. (3 pages x 8 products per page = 24 total products)
I don't know much about PHP...~~
Don't know much about JQuery...~~
But I do know that I love OC!~~
and I know that if you'd guide me, what a wonderful world this would be...!~~
_________________________________________________________________
Using OC 1.4.9.2
http://www.ten2hundred.com
I did notice that allproducts page have the dropdown selection of 10/20/50/100 limit for the page. can you show me how to copy these codes (exactly which line of codes that shows these limit on top of the page) to the one you created? (latest page).
Thanks Johnathan!
I don't know much about PHP...~~
Don't know much about JQuery...~~
But I do know that I love OC!~~
and I know that if you'd guide me, what a wonderful world this would be...!~~
_________________________________________________________________
Using OC 1.4.9.2
http://www.ten2hundred.com
Users browsing this forum: No registered users and 386 guests