How to show a conditional alert to customer

Hello Everybody,

I’m running a clothing dropshipping store and i’m buying the products from 2 different companies, who obviously, ships separately.

Let’s suppose a customer adds to his cart 2 products, 1 from a supplier and 1 from the other supplier, how can i show to the customer a conditional notice saying “the order will be shipped with 2 separate shipping”?

Thank you