josephiner22 Posted March 14, 2011 Share Posted March 14, 2011 Hello All,Please help with following issue. I have been trying to convert my product list to grid view and have used oneof the codes recommended here and it worked well, but now the product price does not show up.Please see me product-list code below and I have also attached a screen shot. {if isset($products)} <!-- Products list --> {if isset($products) AND $products} {assign var='liHeight' value=250} {assign var='nbItemsPerLine' value=5} {assign var='nbLi' value=$products|@count} {assign var='nbLines' value=$nbLi/$nbItemsPerLine|ceil} {assign var='ulHeight' value=$nbLines*$liHeight} {foreach from=$products item=product name=homeFeaturedProducts} {assign var='productLink' value=$link->getProductLink($product.id_product, $product.link_rewrite, $product.category)} {if $product.new == 1}{l s='new2'}{/if}{$product.name|escape:htmlall:'UTF-8'|truncate:25} {displayWtPrice p=$product.price}/lot {/foreach} {else}{l s='No featured products' mod='homefeatured'} {/if} <!-- /Products list -->{/if} 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