![]() |
Perfect! Got it done. Appreciate the help!
Dalmuti |
Quote:
Could anybody post the variant that instead of saying Manufacturer:Timex It will show the brandlogo, something like Timex.gif (brand logo) else Timex (text) To me the customer recognize faster the logo than the name . Also, how can I change the manufacturer.php so it will put the brandlogos and names in several columns, instead of one column name. With an output like this: http://www.makeitfast.com/default.php?manufacturers_id=11 |
Manufacturer logo?
How about a manufacturer logo?
How can I place the manufacturer's logo above the product tile? I am kind of envious of newegg.com I like how the manufacturer logo appears with the products. Thanks in advance. |
Re: Manufacturer logo?
Quote:
Basically the same exact method, but instead use {$manufacturer.image} Make sure you have image included in the SELECT query too. |
Quote:
Sorry, how do you go about doing this ? Here is the MySQL table fields: Full Texts manufacturerid manufacturer url image image_type descr orderby provider avail Thanks for a great mod ! |
Quote:
Modify the code added in product.php so the query looks like this: Code:
$manufacturer = func_query_first("SELECT manufacturer,image FROM $sql_tbl[manufacturers] WHERE manufacturerid='$product_info[manufacturerid]'"); Quote:
And you're welcome :) |
great work pmstudios!
I've just started out on PHP so please forgive my noobness As for Code:
{manufacturer.image} Here's what I've done for displaying manufacturer's image: in products.tpl to display image: Code:
[img]mlogo.php?manufacturerid={$manufacturerid.manufacturerid}[/img] to display the manufacturer name and a link that display other products by the manufacturer: in product.php Code:
$manufacturer = func_query_first("SELECT manufacturer,image,image_type,manufacturerid FROM $sql_tbl[manufacturers] WHERE manufacturerid='$product_info[manufacturerid]'"); Thanks again pmstudios for an excellent code! |
I am sorry to ask, but i am having no luck on getting this to work for me, I have to be missing somthing....
In my Product.php file I added this code : Code:
# Manufacturers Logo In Products And added this to my Product.Tpl file : Code:
[img]mlogo.php?manufacturerid={$manufacturerid.manufacturerid}[/img] Pretty much as directed. But still no luck. My product template does display the Xcart image place holder but not the manufacturers Logo. Any help is greatly appreciated. Jason |
Hey MPJ, it is in products.tpl or product.tpl
In the other post they are talking about product.tpl Hey Vortex, can you post your code, is exactly what I want to do, put the logo at the top, and the text under the image product. |
Bump-o-
|
All times are GMT -8. The time now is 09:52 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.