X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Display manufacturer logo instead on name on site (https://forum.x-cart.com/showthread.php?t=56340)

Snowrev 11-02-2010 08:54 AM

Display manufacturer logo instead on name on site
 
I want to display the manufacturers logo instead of the name on the left bar of light and lucid 3 column 4.4.1

Anyone know how to do this?

Snowrev 11-04-2010 06:54 AM

Re: Display manufacturer logo instead on name on site
 
I was able to get logos to appear in the place of the manufacturer name by using this code in 4.4.1 but the problem is that this code is only equal to one manufacturer and will only display one logo while on that manufacturers page "same logo" for all manufacturers and I don't know how to have it call other manufacturers..

Here is the code.. Anyone know how to call other manufacturers logos?

I am editing this file - /common_files/modules/Manufacturers/menu_manufacturers.tpl

{if $manufacturers_menu ne ''}
{capture name=menu}
<ul>
{foreach from=$manufacturers_menu item=m}
<li><a href="manufacturers.php?manufacturerid={$m.manufac turerid}">{*{$m.manufacturer}*}
<img class="logo1" src="{if $manufacturer.image_url ne ''}{$manufacturer.image_url|amp}{else}{$xcart_web_ dir}/image.php?id={$manufacturer.manufacturerid}&amp;ty pe=M{/if}" alt="{$manufacturer.manufacturer|escape}"{if $manufacturer.image_x} width="{$manufacturer.image_x}"{/if}{if $manufacturer.image_y} height="{$manufacturer.image_y}"{/if} />
</a></li>

{/foreach}
{if $show_other_manufacturers}
<li><a href="manufacturers.php">{$lng.lbl_other_manufactu rers}</a></li>
{/if}
</ul>
{/capture}
{include file="customer/menu_dialog.tpl" title=$lng.lbl_manufacturers content=$smarty.capture.menu additional_class="menu-manufacturers"}
{/if}

xtech 01-10-2011 01:08 AM

Re: Display manufacturer logo instead on name on site
 
Then how to display and what is the exact codes to display logo on 4.4.1 version??

sinobest 01-10-2011 01:14 AM

Re: Display manufacturer logo instead on name on site
 
just test and try, often you will find so many skills on x-cart.

xtech 01-10-2011 03:48 AM

Re: Display manufacturer logo instead on name on site
 
The above code is not working in my site.What is the exact code to display it on 4.4.1 versions??

I cannot able to do.

Waiting for someone to reply.

Learner 03-29-2011 11:13 PM

Re: Display manufacturer logo instead on name on site
 
Quote:

Originally Posted by Snowrev
I was able to get logos to appear in the place of the manufacturer name by using this code in 4.4.1 but the problem is that this code is only equal to one manufacturer and will only display one logo while on that manufacturers page "same logo" for all manufacturers and I don't know how to have it call other manufacturers..

Here is the code.. Anyone know how to call other manufacturers logos?

I am editing this file - /common_files/modules/Manufacturers/menu_manufacturers.tpl

{if $manufacturers_menu ne ''}
{capture name=menu}
<ul>
{foreach from=$manufacturers_menu item=m}
<li><a href="manufacturers.php?manufacturerid={$m.manufac turerid}">{*{$m.manufacturer}*}
<img class="logo1" src="{if $manufacturer.image_url ne ''}{$manufacturer.image_url|amp}{else}{$xcart_web_ dir}/image.php?id={$manufacturer.manufacturerid}&amp;ty pe=M{/if}" alt="{$manufacturer.manufacturer|escape}"{if $manufacturer.image_x} width="{$manufacturer.image_x}"{/if}{if $manufacturer.image_y} height="{$manufacturer.image_y}"{/if} />
</a></li>

{/foreach}
{if $show_other_manufacturers}
<li><a href="manufacturers.php">{$lng.lbl_other_manufactu rers}</a></li>
{/if}
</ul>
{/capture}
{include file="customer/menu_dialog.tpl" title=$lng.lbl_manufacturers content=$smarty.capture.menu additional_class="menu-manufacturers"}
{/if}


Hi,
I cannot able to see logo in my 4.4.2 with these codes in artistictunes_business theme..


All times are GMT -8. The time now is 05:55 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.