Jump to content

How to Display Manufacturer name in best seller home page tab page


Recommended Posts

I am trying to display manufacturer name for best seller home page tab.

For New Arrivals home page tab page and Popular home page tab page, manufacturer names are displaying fine.

But for Best Seller home page tab page, manufacturer names are not displaying.

Anyone successful display manufacturer name in Best Seller home page tab, please help.

 

Running on 1.6.1.1 and default theme

www.kocamoca.com

 

Thanks in advance.

Link to comment
Share on other sites

Hey nemo1

 

Yes I did utilized $product.manufacturer_name code in product-list.tpl as below and it works fine with New Arrival tab and Popular tab pages but for some reason Best Sellers tab page is not showing manufacturer name.

 

{if isset($product.manufacturer_name)}<a href="{$link->getManufacturerLink($product.id_manufacturer)}"><span class="product_manufacturer_name">{$product.manufacturer_name}</span>{/if}

 

Also checked homefeaturered.tpl and found this code as below and it seems it is retrieving information from product-list.tpl.

 

{if isset($products) && $products}

{include file="$tpl_dir./product-list.tpl" class='homefeatured tab-pane' id='homefeatured'}

{else}

<ul id="homefeatured" class="homefeatured tab-pane">

<li class="alert alert-info">{l s='No featured products at this time.' mod='homefeatured'}</li>

</ul>

{/if}

 

For some reason only bestseller tab page is not being affected.

Link to comment
Share on other sites

  • 1 year later...

Hey nemo1

 

Yes I did utilized $product.manufacturer_name code in product-list.tpl as below and it works fine with New Arrival tab and Popular tab pages but for some reason Best Sellers tab page is not showing manufacturer name.

 

{if isset($product.manufacturer_name)}<a href="{$link->getManufacturerLink($product.id_manufacturer)}"><span class="product_manufacturer_name">{$product.manufacturer_name}</span>{/if}

 

Also checked homefeaturered.tpl and found this code as below and it seems it is retrieving information from product-list.tpl.

 

{if isset($products) && $products}

{include file="$tpl_dir./product-list.tpl" class='homefeatured tab-pane' id='homefeatured'}

{else}

<ul id="homefeatured" class="homefeatured tab-pane">

<li class="alert alert-info">{l s='No featured products at this time.' mod='homefeatured'}</li>

</ul>

{/if}

 

For some reason only bestseller tab page is not being affected.

Hi, Did you ever find a solution for this?

I'm having the same issue.

They both call product-list.tpl but in the bestseller tab it doesnt work, just shows a broken link.

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