The sentence requires the correct past participle of 'cook' and the correct past tense of 'buy'. The correct form is 'cooked' and 'bought'. The sentence should read: 'They already cooked a special dinner for the family party because they bought all the ingredients yesterday.'