NemoPS Posted December 6, 2012 Share Posted December 6, 2012 (edited) Hey everybody! I just wrote a short tutorial about turning the default manufacturers/suppliers display to something split by letter/number. Here is the tutorial link: http://nemops.com/al...-manufacturers/ Here is the final result: and here is the final result: Hope you like it! Cheers! Edited December 6, 2012 by Nemo1 (see edit history) 6 Link to comment Share on other sites More sharing options...
the_raven Posted January 12, 2013 Share Posted January 12, 2013 Good work!!! its perfect ,thank you.. I have a question about it , how we can have a horizontal alphabetical bar in Top of thehome page , for example under the top menu , to do the same work as manufacture page with your changes ? Link to comment Share on other sites More sharing options...
amr.rs Posted January 19, 2013 Share Posted January 19, 2013 Me2 Looking for the same. Any help? So far i created a new field in DB which has the first letter of the manufacturer. But how can i group based on that when it's clicked? 1 Link to comment Share on other sites More sharing options...
albaloo Posted January 22, 2013 Share Posted January 22, 2013 im installed this but not show in list Modules Link to comment Share on other sites More sharing options...
the_raven Posted January 22, 2013 Share Posted January 22, 2013 im installed this but not show in list Modules you must download the file and replace it with your manufacturer-list.tpl in your theme. and see the changes on manufacturers page.not manufacturer Module. Link to comment Share on other sites More sharing options...
the_raven Posted January 22, 2013 Share Posted January 22, 2013 Me2 Looking for the same. Any help? So far i created a new field in DB which has the first letter of the manufacturer. But how can i group based on that when it's clicked? please insert an screen shot of your module situation that we can see the changes you made.. Link to comment Share on other sites More sharing options...
the_raven Posted February 7, 2013 Share Posted February 7, 2013 any body hasn't any idea about alphabetical bar ? like the attached image? i want to index manufacturers by alphabetical chars in home page , so when users click on specified chars i direct theme to manufacturers that start with specifed chars. in other words i want to filter manufacturers by their start letter. i created an special topic for this subject but i havent any post on that topic yet!!! Link to comment Share on other sites More sharing options...
NemoPS Posted February 7, 2013 Author Share Posted February 7, 2013 Hi there, Well, you can create something like this: foreach letter add a link to the manufacturers page, and append something like "#letter_k". In the manufacturers list, add id="letter_k" the the K letter title, and when the user clicks there, the browser loads the page and skips to that id. it should work If you want something cleaner and smooth, you should use the onhashchange event of html5 with some JS Link to comment Share on other sites More sharing options...
Andreasjj Posted July 5, 2013 Share Posted July 5, 2013 (edited) I have inserted a test brand called 'Fritz Hansen', that is sorted under 0-9, when it should be under the letter F - please see here. Anyone else having this problem or can tell me how to fix it? Thanks in advance Andreas Jakobsen Edited July 5, 2013 by Andreasjj (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted July 6, 2013 Author Share Posted July 6, 2013 No Idea really, as I said in the PMs you should try and debug the variable Link to comment Share on other sites More sharing options...
Ron morales Posted September 30, 2014 Share Posted September 30, 2014 No Idea really, as I said in the PMs you should try and debug the variable In ps 1.6? how here Link to comment Share on other sites More sharing options...
NemoPS Posted October 1, 2014 Author Share Posted October 1, 2014 ?What is your issue exactly? Link to comment Share on other sites More sharing options...
kdmonk1 Posted October 3, 2014 Share Posted October 3, 2014 (edited) I have tried this in the newest version 1.6.09 and I am having issues getting this to work. In the newest version, are we still using the same file manufacturer-list.tpl? Once, I add the code, do I need to clear cache or recompile somehow. When I add the code, I looked at the DOM to see if I can view the class <li class="alphabetical"> and it does not appear. Edited October 3, 2014 by kdmonk1 (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted October 4, 2014 Author Share Posted October 4, 2014 It depends, if you are not compiling templates as preference option, yes, you need to clear the cache. As far as I know it's the same file Link to comment Share on other sites More sharing options...
kdmonk1 Posted October 4, 2014 Share Posted October 4, 2014 It depends, if you are not compiling templates as preference option, yes, you need to clear the cache. As far as I know it's the same file Hi Nemo1, I just tried again and this time I change the settings to force compilation and clear cache. Still does not work. So I deleted the contents of theme/default-bootstrap/manufacturer-list.tpl, loaded it back up and the manufacturer list is still working. Apparently this is not the same file. Has anyone figured out where the new file is for 1.6? Link to comment Share on other sites More sharing options...
NemoPS Posted October 6, 2014 Author Share Posted October 6, 2014 It's that one if (Validate::isLoadedObject($this->manufacturer) && $this->manufacturer->active && $this->manufacturer->isAssociatedToShop()) { $this->productSort(); $this->assignOne(); $this->setTemplate(_PS_THEME_DIR_.'manufacturer.tpl'); } else { $this->assignAll(); $this->setTemplate(_PS_THEME_DIR_.'manufacturer-list.tpl'); } I know it sounds strange but are you sure you are editing the correct template? Link to comment Share on other sites More sharing options...
kdmonk1 Posted October 6, 2014 Share Posted October 6, 2014 It's that one if (Validate::isLoadedObject($this->manufacturer) && $this->manufacturer->active && $this->manufacturer->isAssociatedToShop()) { $this->productSort(); $this->assignOne(); $this->setTemplate(_PS_THEME_DIR_.'manufacturer.tpl'); } else { $this->assignAll(); $this->setTemplate(_PS_THEME_DIR_.'manufacturer-list.tpl'); } I know it sounds strange but are you sure you are editing the correct template? Hi Nemo1, I sent you a private link with the url. The file I loaded out has the changes that I took from your example. Its crazy that I deleted everything inside the file and the list still works. Any thoughts on why this change is not happening? What file are you looking at in the example above? Maybe my file is showing something different. Link to comment Share on other sites More sharing options...
NemoPS Posted October 8, 2014 Author Share Posted October 8, 2014 That snippet is taken from the manufacturercontroller. I know it sounds strange but you should consider the hypothesis you are editing the wrong template. If you open that controller and write some garbage in like 34235434cxvxc Just to break it, does the manufacturer page break? Link to comment Share on other sites More sharing options...
Majweb Posted February 6, 2016 Share Posted February 6, 2016 How display li in 3-4 columns? Maybe class bootstrap? Link to comment Share on other sites More sharing options...
NemoPS Posted February 8, 2016 Author Share Posted February 8, 2016 Yeah you have to use the bootstrap classes for each element, like col-xs-3 or col-xs-4Just use either on each element Link to comment Share on other sites More sharing options...
Majweb Posted February 8, 2016 Share Posted February 8, 2016 I'm Looking for that view (column col-md-3) Link to comment Share on other sites More sharing options...
Micke21 Posted November 28, 2016 Share Posted November 28, 2016 In ps 1.6? how here Hi, Ron Morales, can you give me a link for download manufacturer-list.tpl for prestashop v1.6 ? Thanks Link to comment Share on other sites More sharing options...
Ron morales Posted November 28, 2016 Share Posted November 28, 2016 this alphabetical groups Prestashop-Manufacturers-alphabetical-list.zip Link to comment Share on other sites More sharing options...
Ron morales Posted December 1, 2016 Share Posted December 1, 2016 Hi, Ron Morales, can you give me a link for download manufacturer-list.tpl for prestashop v1.6 ? Thanks take this archive Link to comment Share on other sites More sharing options...
cpalanca Posted March 18, 2017 Share Posted March 18, 2017 how can I make the manufacture-list.tpl like here. someone can help me? Link to comment Share on other sites More sharing options...
kingcheetah Posted February 14, 2018 Share Posted February 14, 2018 PS 1.6 Everything works fine now on my PC, thanks to Ron Morales and NemoPS but on my Mobile it is a mess. How to solve this in Responsive theme? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now