Skip to content

Instantly share code, notes, and snippets.

@jahvi
Created September 27, 2015 16:00
Show Gist options
  • Save jahvi/600fff5123f82e0ab721 to your computer and use it in GitHub Desktop.
Save jahvi/600fff5123f82e0ab721 to your computer and use it in GitHub Desktop.
Module configuration for Limit Minimum Order extension
<?xml version="1.0"?>
<config>
<modules>
<Jvs_MinTotalQty>
<version>1.0.0</version>
</Jvs_MinTotalQty>
</modules>
<global>
<models>
<jvs_mintotalqty>
<class>Jvs_MinTotalQty_Model</class>
</jvs_mintotalqty>
</models>
<helpers>
<jvs_mintotalqty>
<class>Jvs_MinTotalQty_Helper</class>
</jvs_mintotalqty>
</helpers>
</global>
<frontend>
<events>
<sales_quote_save_after>
<observers>
<jvs_mintotalqty_checkqty>
<class>jvs_mintotalqty/observer</class>
<method>checkTotalQtyBeforeCheckout</method>
</jvs_mintotalqty_checkqty>
</observers>
</sales_quote_save_after>
</events>
</frontend>
</config>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment