Ratings and Listing options not showing on featured items
Posted: Sat Jun 11, 2016 6:10 pm
I've only just noticed that the seller ratings and listing options are not showing on the Featured products on the home page v1.8, I'm running prestashop 1.6.1.4.
The seller name is showing ok, but the ratings and the listing options doesn't, here's the code as set on - product-list.tpl and homefeatured.tpl :
The seller name is showing ok, but the ratings and the listing options doesn't, here's the code as set on - product-list.tpl and homefeatured.tpl :
- Code: Select all
<!-- Featured hot -->
{if isset($product.ishot) AND $product.ishot==1}
<div style="float:right;">
<img src="{$base_dir_ssl}modules/agilesellerlistoptions/imgs/hot.png" />
</div>
{/if}
<!-- Seller name -->
{if isset($product.seller)}
<p class="agile_sellername_onlist">
{l s='Sold by'}
{if isset($product.has_sellerlink) AND $product.has_sellerlink ==1}<a href="{$link->getAgileSellerLink({$product.id_seller})}">{/if}
{$product.seller}
{if isset($product.has_sellerlink)}</a>{/if}
</p>
{/if}
<!-- Seller reviews -->
{if isset($product.seller_rattings)}<div>{$product.seller_rattings}</div>{/if}
{capture name='displayProductListReviews'}{hook h='displayProductListReviews' product=$product}{/capture}
{if $smarty.capture.displayProductListReviews}
<div class="hook-reviews">
{hook h='displayProductListReviews' product=$product}
</div>
{/if}