Owner AG Barr said the brand has “struggled to compete”.