ок теперь работает - файл Data.php полностью работает с вашей помощь, теперь получаю новую ошибку уже в другом файле
PHP Parse error: syntax error, unexpected T_STATIC in site.com/app/code/community/EbayEnterprise/Affiliate/Model/System/Config/Source/Attributes.php on line 44
public function toOptionArray()
{
$helper = Mage::helper('catalog');
$collection = Mage::getSingleton('eav/config')
->getEntityType(Mage_Catalog_Model_Product::ENTITY)
->getAttributeCollection();
$attributes = array(array('value' => '', 'label' => ''));
foreach ($collection as $attribute) {
$attributes[] = array(
'value' => $attribute->getAttributeCode(),
'label' => $helper->__($attribute->getFrontendLabel() ?
$attribute->getFrontendLabel() :
$this->_convertToTitleCase($attribute->getAttributeCode())
)
);
}
$attributes[] = array(
44 строка 'value' => static::PRODUCT_URL_VALUE,
'label' => $helper->__(static::PRODUCT_URL_LABEL)
);
usort($attributes, array($this, '_compareLabels'));
return $attributes;
}
что в этом случае делать?