mse-sv3n / m1-disable-search-by-sku
Disable search by SKU, even when SKU is globally set to searchable.
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 1
Type:magento-module
Requires
This package is auto-updated.
Last update: 2024-10-24 10:38:06 UTC
README
Disable search by SKU, even when SKU is globally set to searchable.
Facts
- version: 1.1.0
- extension key: StackExchange_DisableSearchBySku
- extension on GitHub
Description
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.
- disable "searchable" in attribute config is no solution
- 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
- get to config section and enable/disable function
Support
If you have any issues with this extension, open an issue on GitHub.
Contribution
Any contribution is highly appreciated. The best way to contribute code is to open a pull request on GitHub.