Ben Affleck & Jennifer Garner Visit The Farmer's Market With Their Children

Keeping things civil for the kids!

Prior to announcing their plans for divorce, Ben Affleck and Jennifer Garner headed out of Hollywood. The A-listers took their three children – daughters Violet, 9, Seraphina, 6, and 3-year-old son Samuel – to their property in the Bahamas, PEOPLE reports.

According to sources, the pair waited for the kids’ school to be out for summer before revealing their impending divorce.

“They plan on co-parenting and doing absolutely everything in the best interest of the kids,” says an insider, adding that the their kids are “their top priority.”

As for the day they announced the split – which was one day after their 10th wedding anniversary – Ben and Jen made sure they were all together.

“They were together as a family that day,” a source says. “The family felt it was important to be together and they were together. The family is united and, no matter what, will protect the kids. This isn’t easy for anyone and it’s devastating to Ben too. He loves his family and will always put them first.”

In the weeks before their split, the Gone Girl actor, 42, and the Dallas Buyers Club actress, 43, were spotted with their kids near their L.A. home, including a trip to the farmers’ market on June 14; a shopping trip at the Brentwood Country Mart on June 10; another stop at the farmers’ market on June 7; and an ice cream date with their daughters on May 28.

Once they are back from the Bahamas, the pair will continue to live together in the family’s Pacific Palisades home, as they plan to share custody.