Michalyn Posted January 21, 2009 Share Posted January 21, 2009 Is it possible to change the number of products displayed per row? I would like to create a "gallery view" of all products in the category instead of having one item displayed per row on a page (For example: http://eglamwear.com/apparel/category.php?id_category=3).What I want to display is something that looks more like this:http://www.jjill.com/jjillonline/prodnav/viewall.aspx?pfid=12&BID=S20090180823575D1454AC68EF4D548246F2&h=M&sk=MThanks Link to comment Share on other sites More sharing options...
jhnstcks Posted January 30, 2009 Share Posted January 30, 2009 http://www.prestashop.com/forums/viewthread/11322/themes/products_layout_in_subcategories Link to comment Share on other sites More sharing options...
Michalyn Posted January 31, 2009 Author Share Posted January 31, 2009 Thank you so much. This is just what I needed.Can you tell me if this is the section of the TPL file i must remove to get rid of the "add to cart" button? {if ($product.allow_oosp OR $product.quantity > 0) && $product.customizable != 2} <----DELETE HERE?----> {l s='Add to cart'} <----END DELETE?----> {else} {l s='Add to cart'} {/if} {l s='View'} Link to comment Share on other sites More sharing options...
jhnstcks Posted January 31, 2009 Share Posted January 31, 2009 You need to delete or comment out the following {if ($product.allow_oosp OR $product.quantity > 0)}{l s='Available'}{else}{l s='Out of stock'}{/if} {if ($product.allow_oosp OR $product.quantity > 0) && $product.customizable != 2} {l s='Add to cart'} {else} {l s='Add to cart'} {/if} To comment out just add <!-- and --> before and after the section. This is a good way to find out the correct section to delete.Also if anyone has got a 2 column theme and want 4 products across you just need to change the width setting. Link to comment Share on other sites More sharing options...
Michalyn Posted January 31, 2009 Author Share Posted January 31, 2009 Thank you so much. I just have one last question. Can you tell me how to center the prices?http://eglamwear.com/apparel/category.php?id_category=3I've tried setting text-align but it doesn't seem to be controlled anywhere in the product-list-tpl section of the global css.Thank you so much again. Link to comment Share on other sites More sharing options...
jhnstcks Posted January 31, 2009 Share Posted January 31, 2009 Line 1486 of your global.css file change margin-left from 2em to 5em Link to comment Share on other sites More sharing options...
Michalyn Posted January 31, 2009 Author Share Posted January 31, 2009 Perfect! Thank you, again! 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