Allows admin users to search sales rules by coupon code.
- Version: 1.0.0
- extension on GitHub
Having a Magento Store with many sales rules and (often) thousands of auto-generated coupon codes, it is very hard to find the corresponding sales rule for a coupon code, e.g. if the coupon can't be applied and you have to look why.
This module provides a little search box below the salesrule grid and automatically opens the edit form of the corresponding salesrule if a matching salesrule is found for the entered coupon code.
- Magento CE >= 1.7
- Clone the repository or download the latest version of this extension.
- Copy all the files from the src folder into your Magento document root
- Install modman on your system
- Run the following command in your Magento document root:
modman clone https://github.com/itabs/Itabs_SalesRuleSearch.git
- Install composer on your system
- Install Magento Composer or any other Magento composer installer.
- Create a composer.json into your project like the following sample:
{
"require": {
"itabs/salesrulesearch":"*"
},
"repositories": [
{
"type": "composer",
"url": "http://packages.firegento.com"
}
],
"extra":{
"magento-root-dir": "htdocs/"
}
}
- From your
composer.json
folder runphp composer.phar install
orcomposer install
- Clear the cache, logout from the admin panel and then log back in
- You can now use this module in Promotions -> Shopping Cart Price Rules
- Remove all extension files from your Magento installation:
app/code/community/Itabs/SalesRuleSearch
app/etc/modules/Itabs_SalesRuleSearch.xml
app/design/adminhtml/default/default/layout/itabs_salesrulesearch.xml
app/design/adminhtml/default/default/template/itabs/salesrulesearch
app/locale/de_DE/Itabs_SalesRuleSearch.csv
- Via modman:
modman remove Itabs_SalesRuleSearch
- Via composer, remove the requirement of
itabs/salesrulesearch
If you have any issues with this extension, open an issue on GitHub.
Any contribution is highly appreciated. The best way to contribute code is to open a pull request on GitHub.
Rouven Alexander Rieker / ITABS GmbH
MIT - For the full copyright and license information, please view the LICENSE file that was distributed with this source code.