public function getCategoriesList()
    {
        $list = [];
        
        foreach($this->Categories() as $cat) {
            $list[] = $cat->FullHierarchy;
        }

        return implode(", ", $list);
    }
public function getCategoriesList()
    {
        $list = [];
        
        foreach($this->Categories() as $cat) {
            $list[] = $cat->FullHierarchy;
        }

        return implode(", ", $list);
    }
public function getCategoriesList ( ) { $ list = [ ] ; foreach ( $ this -> Categories ( ) as $ cat ) { $ list [ ] = $ cat -> FullHierarchy ; } return implode ( ", " , $ list ) ; }
Generate a comma seperated list of category names
assigned to this product.

@return string
Generate a comma seperated list of category names assigned to this product .