Author Topic: Manufacturer logo  (Read 1960 times)

geof

  • Beginner
  • *
  • Posts: 6
Manufacturer logo
« on: March 02, 2015, 16:06:12 pm »
Joomla 3.4
VM 3.0.6

Hello,

This code is for the manufacturer name  <?php echo $product->mf_name ; ?> 
how can i show in category view manufacturer logo, in product and manufacturer list menu?

Thanks for any help.

in attached file is a screenshot

geof

  • Beginner
  • *
  • Posts: 6
Re: Manufacturer logo
« Reply #1 on: March 06, 2015, 18:53:48 pm »
With this   
Code: [Select]
<?php echo $product->mf_name ?>   in category view, i have the manufacturer name.
how can i get the manufacture id?
this not working
Code: [Select]
<?php echo $product->virtuemart_manufacturer_id?>

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9222
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Manufacturer logo
« Reply #2 on: March 07, 2015, 01:59:07 am »
simple way is similar to this-> http://forum.virtuemart.net/index.php?topic=128640.msg442303#msg442303

rename your man logos same as name

<img src="images/<?php echo $product->mf_name ; ?>.png">
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Geppux

  • Jr. Member
  • **
  • Posts: 173
Re: Manufacturer logo
« Reply #3 on: February 23, 2016, 17:18:19 pm »
I followed the above posts but there is no logo, as you can see in the attached file. Consider that if I call the logo with his address (images/logo.png) I can see in the browser... what I'm Missing???
VM 3.0.12
J 3.4.8

Geppux

  • Jr. Member
  • **
  • Posts: 173
Re: Manufacturer logo
« Reply #4 on: February 24, 2016, 10:32:01 am »