Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0"?>
- <!--
- /**
- * EYEMAGINE - The leading Magento Solution Partner
- *
- * B2B Customer Restrictions
- *
- * @author EYEMAGINE <magento@eyemaginetech.com>
- * @category Eyemagine
- * @package Eyemagine_B2b
- * @copyright Copyright (c) 2013 EYEMAGINE Technology, LLC (http://www.eyemaginetech.com)
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
- */
- -->
- <config>
- <modules>
- <Eyemagine_B2b>
- <version>1.0.0</version>
- </Eyemagine_B2b>
- </modules>
- <global>
- <helpers>
- <b2b>
- <class>Eyemagine_B2b_Helper</class>
- </b2b>
- </helpers>
- <models>
- <b2b>
- <class>Eyemagine_B2b_Model</class>
- </b2b>
- </models>
- </global>
- <frontend>
- <events>
- <sales_quote_save_before>
- <observers>
- <b2b>
- <class>b2b/observer</class>
- <method>checkTotalsCart</method>
- </b2b>
- </observers>
- </sales_quote_save_before>
- <controller_action_predispatch_checkout_onepage_index>
- <observers>
- <b2b>
- <class>b2b/observer</class>
- <method>checkTotalsCheckout</method>
- </b2b>
- </observers>
- </controller_action_predispatch_checkout_onepage_index>
- <core_session_abstract_clear_messages>
- <observers>
- <b2b>
- <class>b2b/observer</class>
- <method>unsetErrorMessage</method>
- </b2b>
- </observers>
- </core_session_abstract_clear_messages>
- </events>
- </frontend>
- <default>
- <sales>
- <b2b>
- <enabled>0</enabled>
- <subtotal_min>750</subtotal_min>
- <subtotal_min_subsequent>100</subtotal_min_subsequent>
- <error_message>You must have a total of %min% before you can checkout.</error_message>
- </b2b>
- </sales>
- </default>
- </config>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement