trieuvi191 Posted May 3, 2011 Share Posted May 3, 2011 Now I have 2 modules homefeatured and homefeatured2 , I just want to make homefeatured2 work like a real module that I can modify img , css style blah blah... , I mean I have module homefeatured for showing all product of men fashion and women fashion , But How can I make homefeatured2 show all product of women fashion ? And module homefeatured just shows product of men fashion ?Please do me a favor ! Link to comment Share on other sites More sharing options...
jeevanoss Posted May 3, 2011 Share Posted May 3, 2011 Take a copy of homefeatured as homefeatured2then go to homefeatured2 dirrename homefeatured.php in homefeatured2 to homefeatured2.phpalso rename class HomeFeatured extends Module in homefeatured2.php as HomeFeatured2 Link to comment Share on other sites More sharing options...
trieuvi191 Posted May 5, 2011 Author Share Posted May 5, 2011 Dear [email protected] . Thanks for your help , I made 2 copy of homefeatured as homefeatured2 , Ok , Now I have 2 mod , homefeatured and homefeatured2 , I mean how I can make homefeatured2 show one kind of product and homefeatured shows another kind of product , best regards .Ex: I have a shop which contain men's product and women's product , Now if I install two modules ,homefeatured and homefeatured2 , they're gonna show the same thing ( men's product and women's product ) , I just want to make homefeatured show men's product , homefeatured2 for women's product . Here's my problem , please answer as soon as possible . Thanks ! Link to comment Share on other sites More sharing options...
jeevanoss Posted May 5, 2011 Share Posted May 5, 2011 for that you have to modify homefeatured2.phpget product function $category->getProducts((int)($params['cookie']->id_lang), 1, ($nb ? $nb : 10)); in homefeatured2.php Link to comment Share on other sites More sharing options...
Recommended Posts