Armand Niculescu, BEng, MSM, is a 34 year old Art Director at Media Division. and he enjoys working with visual arts for film, web and print.

28 responses to “VirtueMart quick tip: show brand/manufacturer logo in product details”

  1. Osiris

    Hello Armand:
    Thanks for the tutorial!
    I did all your parameters, but is not working for me. Could you help me with that?



  2. Osiris

    Thanks for respond!

    Yes I am using a custom template (RocketTheme Mynxx) and I think that is the problem!

  3. Dimitri


    BIG THANK for the help about the logo. Do someone knows how I can add the manufacturerlogos by the browsepage? For the examle:

    The buyer list the categori TV and see many Tv like Sony Smasung Philips etc. and I want to display under each product the small logo because it is difficulty ti read what is is for the each product, but with small logo its is ok.

    Please help me if You can.

    Best regards

  4. Keith

    This is a great hack but i can’t get it to work in version 1.5.10 with Mynxx there is no line 517! Any help to get this to work in the newer version of VM would be great!

  5. Alexandre From France

    Hi there,

    First of all, I’d like to thank you for your work, it’s very instructive!

    I changed the code by following your advices and the correct files but it’s not working, nothing is showing up now. It used to show the manufacturer’s link but since the changes, nothing’s showing up.

    I worked on both shop.product_details.php and theme.config.php.
    In the backend, I also activated “show manufacturer link”.

    Any Idea ? you can have a look at this page :

    Thanks by advance Armand!



  6. Leon

    Hello, first of all thank you for the great hack, but I have one problem, after I did the modification only the image from the description shows up but it is not clickable and now does not open the good old and ugly pop up box with manufacturer details. I want it to work exactly as before but instead of (text) to show the manufacturer logo and when clicked to open the pop up box.

  7. daouidaucanada


    It works for me ! Thank you sooooooooooo much !

  8. Otto

    Curious, line 460 is the last one in my shop.product_details.php
    VM = 1.1.4
    Joomla = 1.5.17

    It looks like a great hack….Just what I’m looking for!

  9. Otto

    Hi Armand,

    Sorry for my late reply.
    In 1.1.4 I only have 460 lines in that file.
    You can find it here:


  10. Jose Vieira

    Excellent toturial
    but how display logo in browse page

  11. kalinda

    the same thing for me. its the last line.

  12. salvador saenz

    how add manufacturer image in browse page…. for producto.

  13. Otto

    The previous requests I did recognize.

    With this hack……it should be possible

  14. Vms

    This solution is great, but I still need the manufacturer name on same other place on the flypage:


    Product Name
    Brand: Manufacturer Name

    –> On the right: Your solution, the Logo showing.

    Basically I change this code:

    $text = ‘( ‘.$manufacturer_name.’ )’;
    $manufacturer_link .= vmPopupLink( $link, $text );

    To following code, so that the Manufacturer is shown as text only without ():

    $text = ‘ ‘.$manufacturer_name.’ ‘;
    $manufacturer_link .= ($text );

    This is how it works currently. Now I want to implement your logo solution but do not want to remove the Manufacturer as Text below the product name. How to get it done? To display both on one flypage the same time.

  15. Claudia Rodriguez

    Hello, I found the location of the code, but after I edit it, I can not save it… what do i do? Its not letting me click on the save button

  16. jacques from france

    “In the example above I’m using just the description (to show the logo) but you can use it to show other fields, just replace $mf_desc with $mf_name, $mf_email, $mf_url or a combination.”
    So please can you tell me how to make a conbination ?
    Thanks in advance and Thank you so much for your solution

  17. jlehonsec

    In fact, your pach works perfectky the only ” annoying thing is that the link to any URL is texte only and not “clikable”.
    ANy clue for that ?



  18. Björn

    Hi! I´v read about your hack and it´s a very good idea, but I´ve already used the manufacturer desc for something other. So for me it´s not suitable. But there´s another question. I´d like to link the manufacturer not to this popup but to the mf_url so that the website of the manufacturer opens when I click on the manufacturer. Is this possible with some small coding?

    $manufacturer_id = $ps_product->get_manufacturer_id($product_id);
    $manufacturer_name = $ps_product->get_mf_name($product_id);
    $manufacturer_link = “”;
    if( $manufacturer_id && !empty($manufacturer_name) ) {
    $link = “$mosConfig_live_site/index2.php?page=shop.manufacturer_page&manufacturer_id=$manufacturer_id&output=lite&option=com_virtuemart&Itemid=”.$Itemid;
    $text = ‘( ‘.$manufacturer_name.’ )’;
    $manufacturer_link .= vmPopupLink( $link, $text );

    // Avoid JavaScript on PDF Output
    if( @$_REQUEST['output'] == “pdf” )
    $manufacturer_link = “$text“;