shiggidydog Posted June 11, 2013 Share Posted June 11, 2013 Is there a way to only display the products in the homefeatured section to only certain customer groups? My client doesn't want to have the products shown to visitors but would like registered accounts to be able to see it. Thanks! Link to comment Share on other sites More sharing options...
El Patron Posted June 11, 2013 Share Posted June 11, 2013 what version of prestashop? that is always a good start as checking for logged and non-logged differs from 1.4 and 1.5 the simplest way is in modules-->homefeatured-->homefeatures.php find this line return $this->display(__FILE__, 'homefeatured.tpl'); and add if logged (your version) return $this->display(__FILE__, 'homefeatured.tpl'); else return; Link to comment Share on other sites More sharing options...
shiggidydog Posted June 11, 2013 Author Share Posted June 11, 2013 Sorry forgot to include I'm running version 1.5 Link to comment Share on other sites More sharing options...
shiggidydog Posted June 11, 2013 Author Share Posted June 11, 2013 What if i want it for a specific customer group that I have added not just any particular person who registers..? for example customer group 6? Link to comment Share on other sites More sharing options...
FelipeGallo Posted July 4, 2013 Share Posted July 4, 2013 Here´s the solution: http://www.prestashop.com/forums/topic/256300-home-feature-product-arranged-by-groups/page__hl__products+groups__fromsearch__1 Link to comment Share on other sites More sharing options...
Recommended Posts