src/Traits/ShopItemTrait.php
public function getDisplayNameAttribute()
    {
        if ($this->hasObject) return $this->object->displayName;
        return isset($this->itemName)
            ? $this->attributes[$this->itemName]
            : (array_key_exists('name', $this->attributes)
                ? $this->attributes['name']
                : ''
            );
    }
public function getDisplayNameAttribute()
    {
        if ($this->hasObject) return $this->object->displayName;
        return isset($this->itemName)
            ? $this->attributes[$this->itemName]
            : (array_key_exists('name', $this->attributes)
                ? $this->attributes['name']
                : ''
            );
    }
Returns item name.

@return string