Well, when you want to talk about yesterday, a month ago, etc, you should start with "If the car had been a little cheaper" or "Had the car been a little cheaper", shouldn't you?
And the sentence would be "Had the car been a little cheaper, I could've bought it"