The series received an initial order of 13 episodes. Because early episodes got mediocre ratings, the writers wrote this episode so that, if the show got cancelled, they could gracefully end the series with Victoria being the mother. The plan was to have Ted enter the bakery, Victoria saying, "Oh, thank God.", them kissing, and then older Ted saying in a voiceover, "And that, kids, is the story of How I Met Your Mother."
Bob Saget, who voices old Ted, has one of his real wedding photos shown at the beginning of this episode
In the opening scenes when Barney and Ted are sitting together at the wedding, you can see Marshall and Lily sitting behind them. Marshall is thoroughly - exaggeratingly - enjoying the cake that he raves about throughout the rest of the episode.
Robin doesn't appear until nearly 13 minutes into the episode.
Barney refers Indian currency as "India dollars", which is made up and doesn't mean anything. The actual currency of India is rupee.