magento2.3.4 – How to restrict same type product in cart Magento 2 and maximum order amount below INR 50000


I have two types of products: Electronics, Glass.

I have a condition for the cart page i.e.:

Condition 1.

Electronics products can be ordered Single items at a time. it can not be ordered with Glass products.

Condition 2:

Glass products can be ordered multiple items but the order total must be below INR 50000. It can not be ordered with electronics products.