The decision of the parliament backs up the Cosla position on the subject of free school meals for Scotland's 755,000 state pupils.
Cosla's education spokesperson Helen Law said: 'Cosla welcomes the decision of the Parliament which fully backs up our position - a targeting of funds to nutritionally benefit those that need it most.
'Whilst we fully support any measure that helps remove the stigma associated with the uptake of free school meals or that improve their nutritional content it makes far more sense for the money to be targeted at those most in need.
'It is about targeting the kids in the schemes of Pollok, Pilton and Whitfield not the leafy suburbs of Bearsden, Milngavie and Morningside.
'We had concerns about the principle on which the Bill was based. Many people throughout Scotland's communities can afford to pay for school meals, are happy to do so, and in our view should rightly continue to do so.
'What Mr Sheridan is forgetting is that a free school meal is of no benefit to a young person sitting at home with no shoes and any spare resources should be spent on these children in our poorest families - in our poorest communities.'