kodbruket / magento2-gotosku
Module for Magento 2.
Installs: 67
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 4
Open Issues: 3
Type:magento2-module
Requires
- php: ~5.6.0|~7.0.0
- magento/framework: *
- magento/module-catalog: *
- magento/zendframework1: *
Requires (Dev)
- phpmd/phpmd: ^2.4
- phpunit/phpunit: ^4.8
- sebastian/phpcpd: ^2.0
- squizlabs/php_codesniffer: ^2.5
This package is not auto-updated.
Last update: 2024-11-09 21:03:24 UTC
README
This is a tiny Magento module that makes a 301 redirect to the product page when a SKU is passed to it's controller: https://example.com/gotosku/?sku=example-sku
. If the product can't be found a 404 page will be shown instead.
Installation
The easiest way to install the extension is to use Composer, just run the following commands:
$ composer require kodbruket/magento2-gotosku
$ bin/magento module:enable Kodbruket_GoToSku
$ bin/magento setup:upgrade