TORONTO -- Loblaw Cos. Ltd. said Thursday it's ready to sign on to the grocery code of conduct, paving the way for an agreement that's been years in the making.

After six months of negotiations, Loblaw president and CEO Per Bank said the retailer is now ready to sign as long as other industry players do too.

"The code now is fair, and it will not lead to higher prices," he said in an interview.

The code has been developed by a group of leaders in the food industry, with the intention of evening the playing field for suppliers and smaller retailers.

But it appeared to come to a halt last December when Loblaw and Walmart Canada said they wouldn't sign the voluntary code because they were concerned it would raise prices for shoppers.

Nick Henn, Loblaw's chief legal officer, said the underlying principles of the code haven't changed.

"We felt that the words weren't clear in lots of areas, and so we've spent some time with the working committee and the interim board, fixing those areas, improving the code and providing the clarity that we thought it lacked the last time around," he said in the same interview alongside Bank.

One important example was regarding the dispute resolution process, Henn said. Loblaw wanted to make clear when it would be appropriate for issues to go to an adjudicator, and when it wouldn't -- such as in the case of price negotiations between suppliers and retailers.

"That was a big concern for us. And so with that no longer being an issue under the draft code, we're much less concerned about the code leading to higher prices," Henn said.

June 1, 2025, is the target date for the code to take effect, he said.

"We've worked very hard to get to where we are," said Michael Graydon, CEO of the Food, Health & Consumer Products of Canada association and chairman of the interim board for the code.

Work can now continue on establishing the office of the grocery code, said Graydon, adding he hopes it can begin "sooner rather than later."

"We now have all the major grocers with the exception of one, and so some work needs to be done in regards to bringing them into the fold," said Graydon, referring to Walmart. Costco has also had "some inquiries around certain aspects" of the code, he said, but he hopes they will also agree to participate.

Walmart Canada spokeswomanSarah Kennedy said the company "just received the latest draft of the revised Grocery Code of Conduct, which was not previously shared with us."

"We will review it and determine next steps," she said in an emailed statement. "As we've said all along, we continue to be focused on our customers' best interests."

Empire is glad to see another retailer sign on to the code, said spokeswoman Sarah Dawson in an email, noting the company's CEO Michael Medline was the first Canadian grocery leader to advocate for a code.

"This brings the industry one step closer to having all stakeholders agree to the principles of engagement, which creates a better foundation for collaboration even while maintaining the competitive element of our industry," said Dawson.

Grocer Metro Inc. reiterated its support of the code, with spokeswoman Marie-Claude Bacon saying the company is "convinced that the participation of all grocers and suppliers is essential to its success."

Gary Sands, a member of the code's interim board and senior vice-president at the Canadian Federation of Independent Grocers, said he's "delighted" to have Loblaw on board.

"I think this gives us a significant push forward," he said.

"We still have a bit to go to make sure that we have every major stakeholder in, but this is a real milestone today."

Over the past several months, calls to make the code mandatory have grown. In February, the House of Commons committee studying food prices told Loblaw and Walmart that if they wouldn't agree to a voluntary code, the committee would recommend it be made law.

Speaking on conference call on May 1 to discuss the company's latest financial results,Bank had said he was "cautiously optimistic" that an agreement could be reached.

The call was on the same day some Canadians said they were going to start boycotting all Loblaw-owned stores as frustration mounts over higher food prices and concentration in the grocery sector.

The boycott, organized by a Reddit group, is currently underway. The organizers posted several demands for their movement and the one at the top of the list was for Loblaw to sign the grocery code of conduct.

The negotiations over the code predated the boycott, said Bank, so the announcement "has nothing to do with their demands." But he recently had a meeting with boycott organizer Emily Johnson, and said he's sure she will be happy to hear that Loblaw has agreed to the code.

Though food inflation has been an industry-wide phenomenon, sparked by global pressures like the war in Ukraine, for many, Loblaw has become the poster child for food inflation in Canada.

The day after the boycott began, Bank and Loblaw chairman Galen Weston pushed back on what they called "misguided criticism" of the company.

"As a well-known company and Canada's largest grocer, it is natural that Loblaw would be singled out as a focal point for media and government and of course consumer frustrations," said Weston at the grocer's annual meeting May 2.