set the belongs to has many relationship between line_items, carts an products and prevent product destroy if line_item exists in cart