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:
$product = Mage::getModel('catalog/product');
$attributes = Mage::getResourceModel('eav/entity_attribute_collection')
$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!