Hi,
in default.php and flexv2.php subtemplates (both product and category) $product->mf_name and $this->product-mf_name always contain the name of the first manufacturer.
This means that the ALT labels for manufacturers' logo pictures are wrong as well as the category title when you show a single manufacturer.
I checked your demo, and in your case they are set OK.
I don't know if it's a problem with VM 3.0.12.
I made a quick fix by adding a function that reads the correct name in FlexibleMartGlobal.php and used it in default.pxp and flexv2.php:
/* Get URL safe Manufacturer name */
function getManufName($virtuemart_manufacturer_id ){
static $manNamesCache = array();
if(empty($virtuemart_manufacturer_id)) return false;
if(!isset($manNamesCache[$virtuemart_manufacturer_id])){
$db = JFactory::getDBO();
$query = 'SELECT `slug` FROM `#__virtuemart_manufacturers_'.VmConfig::$vmlang.'` WHERE virtuemart_manufacturer_id='.(int)$virtuemart_manufacturer_id;
$db->setQuery($query);
$manNamesCache[$virtuemart_manufacturer_id] = $db->loadResult();
}
return ucfirst( $manNamesCache[$virtuemart_manufacturer_id] );
}
Howerver there should be a better solution as the mf_name must be set correctly somewhere...
Just to let you know in case other users experience the same problem.
Bruno