SOUNDVIEW, Bronx — A McDonald’s night shift manager was arrested after he was caught allegedly selling cocaine while on the job, according to prosecutors in New York City.

Frank Guerrero, 26, was arrested Wednesday morning after two undercover cops visited the restaurant at 1600 Bruckner Blvd. in Soundview.

Guerrero allegedly made eight sales of cocaine to an undercover officer in large quantities worth nearly $10,900, prosecutors said.

During the last transaction, Guerrero allegedly sold about 100 grams of cocaine and a quantity of crack cocaine to one of the undercover officers, according to prosecutors.

Guerrero has been the night manager for the McDonald’s branch for 8 years, they said.

Investigators said the manager would allegedly put the cocaine inside cookie bags and also hid the drugs in a bathroom soap dispenser. Some deals would take place in the bathroom or over the counter, prosecutors said.

No other workers were arrested.

While searching the suspect's home in the Pelham section of the Bronx, officials said they found more than 200 grams of cocaine and more than $5,300 inside Guerrero’s 2-year-old son’s playroom.

The boy's mother Leidy Cabral Castillo was arrested and faces charges of criminal possession of an illegal substance, criminally using drug paraphernalia and unlawfully dealing with a child.

Guerrero also faces those charges plus charges of criminal sale of a controlled substance, prosecutors said.