Jennifer Garner cuts a casual figure in leggings and a

Jennifer Garner cuts a casual figure in leggings and a baseball as she shops at the farmer’s market

Jennifer Garner cuts a casual figure in leggings and a baseball as she shops at the Santa Monica Farmers’ Market with son Samuel

Jennifer Garner was spotted Sunday spending time with her son Samuel at a farmers market in Santa Monica.

The 50-year-old actress visited the market with her youngest child, aged 10, as they strolled through the market and did some shopping.

The actress shares her son and two older daughters with ex-husband Ben Affleck, who she divorced in 2018.

Mom in love: Jennifer Garner was spotted spending time with her son Samuel at a farmers market in Santa Monica on Sunday

Mom in love: Jennifer Garner was spotted spending time with her son Samuel at a farmers market in Santa Monica on Sunday

Garner stayed comfortable in a blue t-shirt and a slightly darker zip-up hoodie.

The Elektra star also rocked a set of black leggings that fitted snugly to her toned legs, as well as a pair of trainers.

The actor wore a pair of earrings and dark sunglasses.

She covered part of her hair with a light blue cap, although much of it fell to her shoulders.

Casual attire: Garner stayed comfortable in a blue t-shirt and a slightly darker zip-up hoodie

Casual attire: Garner stayed comfortable in a blue t-shirt and a slightly darker zip-up hoodie

Garner and Affleck, 50, originally met while working on the set of Pearl Harbor and later starred in Daredevil.

The performer was previously married to Scott Foley, whom she met while working on Felicity, although they divorced in 2004.

She eventually started dating the Argo director and the couple fled in 2005.

The actress and her ex-husband started a family in 2005 with the arrival of their first daughter Violet at the age of 16.

Love first: The actress and her ex-husband started a family in 2005 with the arrival of their first daughter Violet, aged 16

Love first: The actress and her ex-husband started a family in 2005 with the arrival of their first daughter Violet, aged 16

Garner and Affleck expanded their lives when they welcomed their second daughter, Seraphina, at age 13 in 2009, and later brought Samuel into their family in 2012.

However, they shocked many when they announced in 2015 that they had split.

The two finalized their divorce in 2018, though they remained committed to raising their children together in the years that followed.

Affleck later married Jennifer Lopez, who he had dated before seeing Garner.

Priorities: The pair finalized their divorce in 2018, though they remained committed to co-parenting their children in the years that followed;  She is seen with her children in 2018

Priorities: The pair finalized their divorce in 2018, though they remained committed to co-parenting their children in the years that followed; She is seen with her children in 2018

A source previously spoke to Page Six and explained that the actress is committed to maintaining a relationship with her former husband and the father of her children.

“Jen always approached things the same way no matter who Ben was with,” they said.

The source added that the performer is relieved not to have to be responsible for her ex-spouse’s well-being.

“Jen is an amazing mom, she really mothered these kids — and it’s great that she doesn’t have to have a fourth child,” she said.

Doing the most: A source previously spoke to Page Six and expressed that the actress makes it a point to maintain a relationship with her former husband and the father of her children;  She is seen with Samuel and Seraphina in 2020

Doing the most: A source previously spoke to Page Six and expressed that the actress makes it a point to maintain a relationship with her former husband and the father of her children; She is seen with Samuel and Seraphina in 2020