teriff Posted July 4, 2010 Share Posted July 4, 2010 Hi there!I got the new version of prestashop v1.3 but how to put the product and category layout to gridview instead of list?This is the defult: http://www.devy.se/category.php?id_category=6This is how I want it: http://www.1.3.kreaweb.o2switch.net/3-accessoires-ipodUsed the 1.2 version before and the how to was here: http://www.freeprestashopmodules.com/2009/06/30/change-sub-categories-to-grid-view/But how to do with the new version?Thanks for your time and help Link to comment Share on other sites More sharing options...
robkwal Posted July 4, 2010 Share Posted July 4, 2010 I would like to know how to achieve this too.... Link to comment Share on other sites More sharing options...
shopflavored Posted July 13, 2010 Share Posted July 13, 2010 I am curious about this, too. I have 1.3 and really want the grid view! Link to comment Share on other sites More sharing options...
koboibdg Posted August 2, 2010 Share Posted August 2, 2010 same question here, waiting for the progress Link to comment Share on other sites More sharing options...
juvefan Posted August 3, 2010 Share Posted August 3, 2010 I also want greed view.... Link to comment Share on other sites More sharing options...
abilas Posted August 11, 2010 Share Posted August 11, 2010 I have managed to acheive this simply by modifying the global.css file within your theme, look at using floats to acheive the desired effect. If you need more help please ask. Link to comment Share on other sites More sharing options...
echopon Posted August 24, 2010 Share Posted August 24, 2010 can you give me more details because i have no idea about writting program, but i really need this info Link to comment Share on other sites More sharing options...
abilas Posted August 24, 2010 Share Posted August 24, 2010 You need to learn CSS and learn how to acheive floats, recommend you download firefox and the firebug addon. Link to comment Share on other sites More sharing options...
robkwal Posted August 24, 2010 Share Posted August 24, 2010 Could you post an example of the code you changed... to achieve what we are all after!? Link to comment Share on other sites More sharing options...
abilas Posted August 24, 2010 Share Posted August 24, 2010 Really people who have asked about changing themes on here have all recommended using firefox and the firebug addon as you can then interrogate the css code:Find this in your global.css file and look at the float: left part.ul#product_list li {border:1px solid #000;float:left;height:auto;margin-bottom:4px;margin-right:4px;min-height:130px;padding:5px;}Hope this helps but really you need to understand CSS so you can modify the theme...Here is the link for firebug for firefox, you can then simply roll over the page to see what css needs changing...https://addons.mozilla.org/en-US/firefox/addon/1843/ Link to comment Share on other sites More sharing options...
jhnstcks Posted August 25, 2010 Share Posted August 25, 2010 I was the one who originally created he modification to the grid view for other Prestashop versions, when i have a spare moment i will take a look to see why it isnt working with 1.3 Link to comment Share on other sites More sharing options...
robkwal Posted August 30, 2010 Share Posted August 30, 2010 PLEASE! IF YOU COULD TAKE A MOMENT AND HAVE A LOOK, AND COME UP WITH A SOLUTION FOR THE LATEST VERSION! Link to comment Share on other sites More sharing options...
jhnstcks Posted August 30, 2010 Share Posted August 30, 2010 Try this.You will need to replace your product-list.tpl with the one in the zip and also copy and paste the code from the global.css file into the corect place in your global.css fileYou will need to alter the color to suit your theme as its taken from the default presta theme. product-list.zip 1 Link to comment Share on other sites More sharing options...
robkwal Posted August 30, 2010 Share Posted August 30, 2010 Thanks for the quick reply, I will try it out later and let you know the result! Link to comment Share on other sites More sharing options...
cyrusvsdarius Posted September 7, 2010 Share Posted September 7, 2010 Try this.You will need to replace your product-list.tpl with the one in the zip and also copy and paste the code from the global.css file into the corect place in your global.css fileYou will need to alter the color to suit your theme as its taken from the default presta theme. Where exactly should I put the code in the global.css file? Where is the correct place? Link to comment Share on other sites More sharing options...
kenza750 Posted May 26, 2011 Share Posted May 26, 2011 Try this.You will need to replace your product-list.tpl with the one in the zip and also copy and paste the code from the global.css file into the corect place in your global.css file. I tried the above, but my products are still listed in List-view. I can not manage to get it in Grid view.I use PS 1.3.7 an replaced the product-list.tpl and modified the global.css with your code (in the right section). Still no effect.Do you have any ideas to correct this, maybe I am doing something wrong... Link to comment Share on other sites More sharing options...
jhnstcks Posted May 26, 2011 Share Posted May 26, 2011 You need to empty your smarty cache by deleting all the files in tools/smarty/compile on your server, and also clear your browser cache Link to comment Share on other sites More sharing options...
kenza750 Posted May 27, 2011 Share Posted May 27, 2011 You need to empty your smarty cache by deleting all the files in tools/smarty/compile on your server, and also clear your browser cache Already did this. No effect. Also tried different browsers. Maybe something else? Link to comment Share on other sites More sharing options...
jhnstcks Posted May 27, 2011 Share Posted May 27, 2011 There is nothing else to do, are you sure you have uploaded to the correct theme folder or have the correct theme selected. Link to comment Share on other sites More sharing options...
kenza750 Posted May 27, 2011 Share Posted May 27, 2011 Thank you for your reply.I only have one theme folder (../themes/prestashop/) thus only one theme is selectable in BO.I'll try it again at work right now, Here we have IE8/FF and Chrome.Keep you updated. Link to comment Share on other sites More sharing options...
kenza750 Posted May 27, 2011 Share Posted May 27, 2011 @ jhnstcks: yes...it works!!! :-)probably it was a caching problem of my browser I think. I will take a look tonight when I'm home. I did clean everything in my browser, but maybe something went wrong. Now my products are in grid view, and I must finetune some things. Thank you very much for your code! Link to comment Share on other sites More sharing options...
kenza750 Posted June 7, 2011 Share Posted June 7, 2011 one more issue before my grid view is perfect ;-)How can I manage to get the buttons under the last row (right aligned in the center column) when there are, for example, 8 products on a page? See attachment.. buttons down grid.JPG Link to comment Share on other sites More sharing options...
kenza750 Posted June 14, 2011 Share Posted June 14, 2011 one more issue before my grid view is perfect ;-)How can I manage to get the buttons under the last row (right aligned in the center column) when there are, for example, 8 products on a page? See attachment.. found the solution in this topic: http://www.prestashop.com/forums/viewthread/11322/P15/integration/products_layout_in_subcategoriesjust add the following code just before the {/if} in product-list.tpl (insert line 21/22): 1 Link to comment Share on other sites More sharing options...
batarseh Posted March 11, 2012 Share Posted March 11, 2012 hey .. im so thankful for the great info provided. exactly what i was looking for. and it works for me. but i need to ask another question plz.. from where and how i can change the number of columns. my site is viewing 3 columns. i need to make them 4. any one can help.. ill be appreciated.. here is my site http://store.japublishers.com.. thanks again Link to comment Share on other sites More sharing options...
Loboda Posted April 5, 2012 Share Posted April 5, 2012 found the solution in this topic: http://www.prestasho...n_subcategories just add the following code just before the {/if} in product-list.tpl (insert line 21/22): Which Code? .. I can't see anything! Please Help! Thanks Link to comment Share on other sites More sharing options...
Loboda Posted April 12, 2012 Share Posted April 12, 2012 any answer? Thanks 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