Kristaps Porzingis didn’t have much time to savor his new marketing milestone, landing in the top five of the NBA’s jersey sales, ahead of Kevin Durant, in results released Wednesday morning by the league.

Wednesday night, however, that popular No. 6 jersey was glued to the bench during overtime. He committed the biggest mistake of his rookie year, fouling Gordon Hayward on a 3-point shot with the Knicks up three with 2.4 seconds left in regulation, fouling out in the process. Despite the gaffe, he still received a warm ovation from the Garden crowd.

“It’s frustrating to sit on the bench in overtime,’’ Porzingis said. “Hopefully next overtime we have, at the end of the game, I’ll be able to be on the floor.’’

The Knicks’ 7-foot-3 rookie sensation debuted at fourth on the NBA’s list that accounts for jersey sales from Oct. 1 through Dec. 31 purchased on NBAStore.com. Knicks teammate Carmelo Anthony ranked 15th.

“It’s unbelievable the support in New York here,’’ Porzingis said. “This is a dream come true to see that many people wearing my jersey. They just love basketball and support me.’’

Knicks coach Derek Fisher couldn’t help but mention playing in New York is a factor for Porzingis, but alluded to Latvia’s jersey-sales support, too.

“Yeah, I would say so,’’ Fisher said of his surprise at Porzingis ranking so high. “Not just because how long he’s been in the league, but there’s a lot of popular guys out there who weren’t head of him in terms of that. He’s in a special place, always a part of the pitch when you convince guys to come here. But I think the little bit of success we seem to be having helps with that.

“It also says Latvia is bigger than we thought it was. They’re buying a lot of jerseys there.’’

Porzingis’ ranking also puts him ahead of Russell Westbrook (seventh), James Harden (ninth), Paul George (12th) and Anthony Davis (13th). Porzingis was only topped by reigning MVP Stephen Curry at No. 1, followed by LeBron James and the retiring Kobe Bryant at No. 3.