<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
    <type name="Magento\Quote\Model\Quote">
        <plugin name="shenobis_purchase_limit_quote_add_product" type="Shenobis\PurchaseLimit\Plugin\QuoteAddProductPlugin" sortOrder="10"/>
    </type>
    <type name="Magento\Checkout\Model\Cart">
        <plugin name="shenobis_purchase_limit_cart_update" type="Shenobis\PurchaseLimit\Plugin\CartUpdateItemsPlugin" sortOrder="10"/>
    </type>
    <type name="Magento\Quote\Model\QuoteValidator">
        <plugin name="shenobis_purchase_limit_before_submit" type="Shenobis\PurchaseLimit\Plugin\QuoteSubmitValidationPlugin" sortOrder="10"/>
    </type>
</config>
