Added checking to product model to prevent deletion if line_items of
that product exist.