shopping cart templates, oscommerce templates, cre loaded 
templates, zencart templates, magento templates

Ecommerce Products KnowledgeBase

shopping cart templates, oscommerce templates, cre loaded 
templates, zencart templates, magento templates

How do I change the products displayed in sliding banner of OpenCart Template OC04A00470?

Print | Bookmark
Bookmark and Share

To change the products displayed in sliding banner of template OC04A00470:

Open /catalog/view/theme/OC04A00470/overrides/catalog/controller/common/home.php.

At line 31 check for this line:

     $this->model_catalog_product->getLatestProducts(10)

If you want to change the number of products displayed just change the parameter of the getLatestProducts. Then if you want to change the module to be displayed just change getLatestProducts and call other methods provided by class model_catalog_product.

Was this article helpful?

Yes No
Bookmark and Share

Category: OPENCART

2598 views