I have different kinds of products, USPS Media mail is good for books, but not for all products. How can i restrict Media Mail Not allowed for other products.
Condition:
1) If cart consists both book and other kind products media mail option will should not come,
2) And Show POPUP message like, If you want to use Media Mail shipping, Please be in your cart consist Books Only, and place another order for remaining products. and this popup is only for optional.