Blood left on a clothes mannequin linked a man to a burglary at a local store.
Daniel Nasey admitted the raid at Almond boutique in Holmfirth.
The 35-year-old caused more than £1,000 of damage to the store when he broke in overnight on May 29.
Nasey, of Wood Farm Lane in Brockholes, made a hole in the shop window, reached through to a display case and emptied its contents.
He later returned on his bike with a rucksack and enlarged the hole using a fire extinguisher.
Nasey took shorts from a mannequin as well as various other clothing, shoes and a tie in a box.
Alex Bozman, prosecuting, told Kirklees magistrates: “He was identified by blood found on the mannequin.”
Nasey also pleaded to two shop thefts.
On May 22 he stole various toys from Mothercare at the Great Northern Retail Park in Huddersfield.
On June 3 he was caught stealing stationary from Tesco in Viaduct Street.
Catherine McCullough, mitigating, said that Nasey was experiencing extreme financial hardship at the time.
She explained that the father-of-three recently lost his job as a textile finisher after his boss read about one of his offences in the paper.
District Judge Michael Fanning told him: “This is an explosion of dishonest offending in a very short period of time.
“These companies lose a lot to thieves, one of the shops is a relatively small shop in a small town.”
He sentenced Nasey to 18 weeks in jail suspended for a year.
Nasey must also undertake 120 hours of unpaid work and complete 30 days of activities.
Finally, he must pay £655 compensation to the burgled shop, £150 court charge, £85 costs and £80 victim surcharge.