src/Object/Product/Product.php
public function addCustomField($attribute, $value)
    {
        if ($this->customFields === null) {
            $this->customFields = array();
        }
        $this->customFields[$attribute] = $value;
    }
public function addCustomField($attribute, $value)
    {
        if ($this->customFields === null) {
            $this->customFields = array();
        }
        $this->customFields[$attribute] = $value;
    }
public function addCustomField ( $ attribute , $ value ) { if ( $ this -> customFields === null ) { $ this -> customFields = array ( ) ; } $ this -> customFields [ $ attribute ] = $ value ; }
Add a custom attribute

@param $attribute
@param $value
Add a custom attribute