supercel80 Posted July 11, 2013 Share Posted July 11, 2013 Hi, I'm searching for the method that's used for the product-list.tpl when clicked on the categories. I've searched for over an hour but can't find the right method. I need the method for displaying the products. I could use some support Link to comment Share on other sites More sharing options...
vekia Posted July 11, 2013 Share Posted July 11, 2013 you're looking for category.tpl file probably Link to comment Share on other sites More sharing options...
supercel80 Posted July 11, 2013 Author Share Posted July 11, 2013 No, i need the method that generates the $product variable. I suppose its defined in a file in the dir class. But i can't find it. Link to comment Share on other sites More sharing options...
vekia Posted July 11, 2013 Share Posted July 11, 2013 sorry for missunderstanding, so you're looking for controller it is available in the controllers/front/categorycontroller.php file also check the class: classes/Category.php - it is related to the controller mentioned above Link to comment Share on other sites More sharing options...
supercel80 Posted July 16, 2013 Author Share Posted July 16, 2013 Thanks Vekia. But i'm confused because there are a lot op GetProducts methods. Is there maybe a list which GetProducts methods are used for the different product-list.tpl items? Link to comment Share on other sites More sharing options...
vekia Posted July 16, 2013 Share Posted July 16, 2013 different product list items? there is only one product-list, and the function is: public function getProducts($id_lang, $p, $n, $order_by = null, $order_way = null, $get_total = false, $active = true, $random = false, $random_number_products = 1, $check_access = true, Context $context = null) Link to comment Share on other sites More sharing options...
supercel80 Posted August 27, 2013 Author Share Posted August 27, 2013 Thanks Vekia. Please close this topic. Link to comment Share on other sites More sharing options...
vekia Posted August 27, 2013 Share Posted August 27, 2013 thanks for confirmation, im glad that i could help a little in this case im going to mark this thread as [sOLVED] exactly as you suggested best regards Link to comment Share on other sites More sharing options...
Recommended Posts