I have this code:
foreach ($skuScope as $sku)
{
$object = Mage::getModel('catalog/product');
$product = $object->loadByAttribute('sku', $sku);
$attributes = $product->getAttributes();
foreach ($attributes as $attribute) {
$attributeCode = $attribute->getAttributeCode();
$value = $attribute->getFrontend()->getValue($product);
}}
I can get all attributes, all values, but I don’t know how to rewrite values for an attribute
Help me, please! Thanks!