Magento Forum

Magento multi store manufacturers
 
specialdevs
Jr. Member
 
Total Posts:  5
Joined:  2012-10-10
 

Hi,
I’ve magento 1.7 running multi stores and I need to display for the different stores different brands/manufacturers

at the moment I use this code:

<?php
$product 
Mage::getModel('catalog/product');
$attributes Mage::getResourceModel('eav/entity_attribute_collection')
->
setEntityTypeFilter($product->getResource()->getTypeId())
->
addFieldToFilter('attribute_code''manufacturer');
$attribute $attributes->getFirstItem()->setEntity($product->getResource());
$manufacturers $attribute->getSource()->getAllOptions(false);
?>

<?php 
foreach ($manufacturers as $manufacturer): ?>
<a href="/manufacturer/<?php echo $manufacturer['label'] ?>"<?php echo $manufacturer['label'] ?> </a>
<?php endforeach; ?>

to display the manufacturer in the front end, but it is showing the same brands in all the sites.

how could I tell magento to show different brands on the different sites?

thank you very much!

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top