How to avoid div alignment changes depending on lines of text?

My product box div alignment changes depending on the number of lines (see picture below).

How can I keep it fixed? Can I fix the height or is there any other way to fix in CSS?

Height can be fixed to any size you wish e.g.

.divClass {
 height: 100px;
}

I’m not entirely sure what you are asking for, I’d suggest you edit your question appropriately.