src/ShopBundle/objects/db/TShopArticle.class.php
public function GetMessageConsumerName()
    {
        $sId = $this->id;
        if ($this->IsVariant()) {
            $sId = $this->fieldVariantParentId;
        }

        return TdbShopArticle::MSG_CONSUMER_BASE_NAME.$sId;
    }
public function GetMessageConsumerName()
    {
        $sId = $this->id;
        if ($this->IsVariant()) {
            $sId = $this->fieldVariantParentId;
        }

        return TdbShopArticle::MSG_CONSUMER_BASE_NAME.$sId;
    }
public function GetMessageConsumerName ( ) { $ sId = $ this -> id ; if ( $ this -> IsVariant ( ) ) { $ sId = $ this -> fieldVariantParentId ; } return TdbShopArticle :: MSG_CONSUMER_BASE_NAME . $ sId ; }
return the message consumer name of this article. note that varaints
always talk through their parents - so if you want to talk to the
variant directly, you will need to overwrite this method.

@return string
return the message consumer name of this article . note that varaints always talk through their parents - so if you want to talk to the variant directly you will need to overwrite this method .