Gents
I need to replace the field "name" of the product that is showed in the Owl_List.phtml, by a new attribute that I created called "reputacion".
Actually this code shows the name:
<?php echo $_helper->productAttribute($_product, $_product->getName(), 'name'); ?>
I created a field, under product attributes, called "reputacion".
I created this function inside the file magento/module-catalog/model/product.php
public function getReputacion()
{
return $this->_getData(self::REPUTACION)
}
And add this code into Owl_list.php
<?php echo $_helper->productAttribute($_product, $_product->geReputacion(), 'name'); ?>
But is not working. Any idea of how to call that field?