Jump to content

How to change Featured Products to Grid view!?


Recommended Posts

Edit modules/homefeatured/homefeatured.tpl, {* comment out *} the following lines to remove the name and description:

{$product.name|truncate:27:'...'|escape:'htmlall':'UTF-8'}

{$product.description_short|strip_tags|truncate:130:'...'}



and {* comment out *} the following lines to remove the price, view button and add to cart button:



{if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if}
{l s='View' mod='homefeatured'}
   {if ($product.quantity > 0 OR $product.allow_oosp) AND $product.customizable != 2}
{l s='Add to cart' mod='homefeatured'}
   {else}
{l s='Add to cart' mod='homefeatured'}
   {/if}



Then edit the following line near the top:

{assign var='liHeight' value=342}



Reduce 342 to whatever height you want each row to be.

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...