public function getCustomisationAndPriceList()
    {
        $return = [];
        $items = $this->Customisations();

        if ($items && $items->exists()) {
            foreach ($items as $item) {
                $return[] = $item->Title . ': ' . $item->Value . ' (' . $item->dbObject("Price")->Nice() . ')';
            }
        }

        $this->extend("updateCustomisationAndPriceList", $return);

        return implode(", ", $return);
    }
public function getCustomisationAndPriceList()
    {
        $return = [];
        $items = $this->Customisations();

        if ($items && $items->exists()) {
            foreach ($items as $item) {
                $return[] = $item->Title . ': ' . $item->Value . ' (' . $item->dbObject("Price")->Nice() . ')';
            }
        }

        $this->extend("updateCustomisationAndPriceList", $return);

        return implode(", ", $return);
    }
public function getCustomisationAndPriceList ( ) { $ return = [ ] ; $ items = $ this -> Customisations ( ) ; if ( $ items && $ items -> exists ( ) ) { foreach ( $ items as $ item ) { $ return [ ] = $ item -> Title . ': ' . $ item -> Value . ' (' . $ item -> dbObject ( "Price" ) -> Nice ( ) . ')' ; } } $ this -> extend ( "updateCustomisationAndPriceList" , $ return ) ; return implode ( ", " , $ return ) ; }
Provide a string of customisations seperated by a comma and
including a price

@return string
Provide a string of customisations seperated by a comma and including a price