Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sreichel/magento-stackexchange_disablesearchbysku
Disable search by SKU, even when SKU is globally set to searchable.
https://github.com/sreichel/magento-stackexchange_disablesearchbysku
magento-1 openmage openmage-module search
Last synced: 6 days ago
JSON representation
Disable search by SKU, even when SKU is globally set to searchable.
- Host: GitHub
- URL: https://github.com/sreichel/magento-stackexchange_disablesearchbysku
- Owner: sreichel
- License: osl-3.0
- Created: 2017-05-31T11:51:31.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-23T21:18:48.000Z (about 6 years ago)
- Last Synced: 2024-12-12T00:48:21.452Z (2 months ago)
- Topics: magento-1, openmage, openmage-module, search
- Language: PHP
- Homepage: https://magento.stackexchange.com/questions/173804/how-to-disable-search-by-sku-for-specific-store
- Size: 13.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DisableSearchBySku Magento 1 Extension
Disable search by SKU, even when SKU is globally set to searchable.
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/8f4e1f6da56143dc89f11181c23a9c89)](https://www.codacy.com/app/sreichel/magento-StackExchange_DisableSearchBySku?utm_source=github.com&utm_medium=referral&utm_content=sreichel/magento-StackExchange_DisableSearchBySku&utm_campaign=Badge_Grade)
[![Maintainability](https://api.codeclimate.com/v1/badges/48116c781e72357ade04/maintainability)](https://codeclimate.com/github/sreichel/magento-StackExchange_DisableSearchBySku/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/48116c781e72357ade04/test_coverage)](https://codeclimate.com/github/sreichel/magento-StackExchange_DisableSearchBySku/test_coverage)## Facts
- version: 1.1.0
- extension key: StackExchange_DisableSearchBySku
- [extension on GitHub](https://github.com/sreichel/magento-StackExchange_DisableSearchBySku)### Description
[How to disable search by SKU (for specific store)?](https://magento.stackexchange.com/questions/173804/how-to-disable-search-by-sku-for-specific-store)> For a specific store i want an remove search results, if search query matches our SKU pattern.
>
> 1. disable "searchable" in attribute config is no solution
> 2. rewrite core files is not wanted
>
> So, what i need is an event which let me manipulate the search query or product collection for search result page.### Requirements
- PHP >= 5.4.0### Compatibility
- Magento >= 1.5#### Installation Instructions
- via modman
```
modman clone https://github.com/sreichel/magento-StackExchange_DisableSearchBySku.git
```
- via composer
```
composer require mse-sv3n/m1-disable-search-by-sku
```#### Uninstallation
- via modman
```
modman remove magento-stackexchange-disablesearchbysku
```
- via composer
```
composer remove mse-sv3n/m1-disable-search-by-sku
```### Usage
1. get to config section and enable/disable function### Support
If you have any issues with this extension, open an issue on [GitHub](https://github.com/sreichel/magento-StackExchange_DisableSearchBySku/issues).### Contribution
Any contribution is highly appreciated. The best way to contribute code is to open a [pull request on GitHub](https://help.github.com/articles/using-pull-requests).### License
[OSL - Open Software Licence 3.0](http://opensource.org/licenses/osl-3.0.php)