Jump to content

Modifying the Number of Products Displayed per Row in a Category


Recommended Posts

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=M

Thanks

Link to comment
Share on other sites

  • 2 weeks later...

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...