News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Manufacturer logo on the product detail page

Started by gpessoa, May 12, 2014, 19:05:49 PM

Previous topic - Next topic

gpessoa

Hi VM Community
How can I show the manufacturer logo on the product detail page?
Thanks in advanced
J 2.5.20
VM 2.60
J 4.4.4; VM 4.2.6; PHP 8.3.6

gpessoa

J 4.4.4; VM 4.2.6; PHP 8.3.6

GJC Web Design

standard on VM3 -- check the product details templates
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

MagikCommerce

Hello,

Please try with following code to get manufacturer thumbnail image.

<?php 
if(!empty($product->virtuemart_manufacturer_id))
{
$manumodel VmModel::getModel('manufacturer');
foreach($product->virtuemart_manufacturer_id as $manufacturer_id)
{
$manumodel->setId($manufacturer_id);
$manufacturer $manumodel->getManufacturer();
$manumodel->addImages($manufacturer);
$thumbImage $manufacturer->images[0]->displayMediaThumb('class="mfg-thumbnail-image"'false);
echo $thumbImage;
}
?>



Thanks