| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Manufacturers with icons on customer_manufacturers_list.tpl | ||||
|
|
Thread Tools | Search this Thread |
#51
|
|||||||||
|
|||||||||
Re: Manufacturers with icons on customer_manufacturers_list.tpl
Going through the posts, this is my .tpl in 4.3:
Code:
Then just style the list. |
|||||||||
|
#52
|
|||||||||
|
|||||||||
Re: Manufacturers with icons on customer_manufacturers_list.tpl
Thank you very much, DrQuietus. I'm using your code just to show the manufacturer logo in product_details.tpl. But I'm getting No image, despite I've associated the product with a custom manufacturer that has a logo. Can you help me out with the code, so I can show the logo there? Thanks in advance!
Version: 4.3.1
__________________
Version 4.2.3 X-Cart Gold Version 4.3.1 X-Cart Gold |
|||||||||
#53
|
|||||||||
|
|||||||||
Re: Manufacturers with icons on customer_manufacturers_list.tpl
Anyone?
__________________
Version 4.2.3 X-Cart Gold Version 4.3.1 X-Cart Gold |
|||||||||
#55
|
|||||||||
|
|||||||||
Re: Manufacturers with icons on customer_manufacturers_list.tpl
Yep, this code works like a charm in v.4.3.1 Thank you so much!
Code:
__________________
Version 4.2.3 X-Cart Gold Version 4.3.1 X-Cart Gold |
|||||||||
#56
|
|||||||||
|
|||||||||
Re: Manufacturers with icons on customer_manufacturers_list.tpl
think we can add this to the bottom of the template?so in the footer all the logos are there?
it's bootom.tpl right?
__________________
X-Cart version 4.4.3 |
|||||||||
#57
|
|||||||
|
|||||||
Re: Manufacturers with icons on customer_manufacturers_list.tpl
Anyone figure this out on 4.4.1?
|
|||||||
#58
|
|||||||
|
|||||||
Re: Manufacturers with icons on customer_manufacturers_list.tpl
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}&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} See below |
|||||||
#59
|
|||||||
|
|||||||
Re: Manufacturers with icons on customer_manufacturers_list.tpl
Quote:
Any help about display manufacturer logo only linked with current category??? waiting for someone to reply. |
|||||||
#60
|
|||||||
|
|||||||
Re: Manufacturers with icons on customer_manufacturers_list.tpl
How to display it on 4.4.1 versions??
|
|||||||
|
|||
X-Cart forums © 2001-2020
|