Mohammed Yaqub, 31, of Prospect Terrace, Allerton, Bradford and his former partner Lauren Overend, 26, were spotted trafficking the Class A drugs from a Toyota Corolla in Hirst Wood, on the edge of Saltaire on June 27 last year.
Overend, the mother of young children, was spared an immediate prison sentence after she told the police she was storing the drugs for Yaqub.
Yaqub was spotted by plain clothes police officers at the wheel of the car near to where two drug users were loitering, one of them checking his phone.
An officer later noticed one of the addicts getting out of the vehicle. When it was stopped, Overend was found to have 60 wraps of crack cocaine worth £900 hidden in her bra.
Yaqub had nine previous convictions for 15 offences, including robbery, making off without payment, public order offences and possession of cannabis.
The police seized £562 on cash from him when he was arrested. He was the father of three children but had not thought about them or the community when he was out selling drugs.
Yaqub had admitted the offence only last week on the day of his trial although he must have known he was guilty.
Judge Rose sentenced Overend to 12 months imprisonment, suspended for two years, with a rehabilitation activity requirement with the probation service and a six month electronically monitored overnight curfew.