<Li> Jennifer Elise Cox as Babyland Salesgirl </Li> <Li> Cesar Millan as himself </Li> <P> The film, originally titled Plan B, was written by Kate Angelo and produced by Todd Black, Jason Blumenthal and Steve Tisch . Lopez's casting was announced in December 2008 by multiple sources . Digital Spy announced in February 2009 that Alan Poul was in "final talks" to direct Plan B, which would be his first feature film . On April 8, 2009, The Arizona Republic reported that O'Loughlin was "in negotiations to nab the romantic male lead". The Back - up Plan was Lopez's first film in three years, and she confessed to feeling "really nervous". Filming began on May 11, 2009, in Los Angeles, California . The film was also filmed in Pasadena, California where Lopez was spotted wearing her prosthetic pregnancy belly . The film's production budget was $35 million . </P> <P> The soundtrack and the score were released on March 26, 2010 on iTunes . They are available on Amazon.com since April 13, 2010 . The soundtrack has various artists, while the score was composed entirely by Stephen Trask . </P>

The ending of the backup plan what happened