The 25-year-old Colombian heartthrob will play Lopez's fiance. Per Deadline, who was first to report the casting, Marry Me follows Lopez, a pop star, who, moments before marrying her rock-star fiance at Madison Square Garden, finds out he was cheating with her assistant and spontaneously picks a random math teacher -- played by Owen Wilson -- out of the crowd to marry instead.
Directed by Kat Coiro, Marry Me goes into production in October in New York and is based on a graphic novel by Bobby Crosby.
"I would love to [act]. It's just that everything comes at its moment," he said while promoting his YouTube documentary. "Then, with God's help, I will look for opportunities to act. But if I do it, I would want to do something big. To do something in Hollywood, something that represents a big movement. At the moment, I'm focused on my musical career."
Meanwhile, Lopez is currently gearing up to promote her latest film, Hustlers. The highly anticipated flick -- whose first trailer dropped this week -- tells the story about savvy ex-strippers who team up to swindle Wall Street clients.
Watch the first look in the video below.
Get more Latinx news on ET MÁS, ETonline's new section featuring the latest celeb, film, TV, music and style news.