Created
December 31, 2011 04:24
-
-
Save drewgillson/1542866 to your computer and use it in GitHub Desktop.
Magento - apply coupon code automatically config.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<frontend> | |
<events> | |
<checkout_cart_product_add_after> | |
<observers> | |
<ApplyCoupon_apply> | |
<type>singleton</type> | |
<class>ApplyCoupon/Observer</class> | |
<method>applyCouponEvent</method> | |
</ApplyCoupon_apply> | |
</observers> | |
</checkout_cart_product_add_after> | |
</events> | |
<routers> | |
<applycoupon> | |
<use>standard</use> | |
<args> | |
<module>You_ApplyCoupon</module> | |
<frontName>applycoupon</frontName> | |
</args> | |
</applycoupon> | |
</routers> | |
</frontend> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment