kodbruket / magento2-gotosku
There is no license information available for the latest version (1.0.0) of this package.
Module for Magento 2.
Package info
github.com/kodbruket/magento2-gotosku
Type:magento2-module
pkg:composer/kodbruket/magento2-gotosku
1.0.0
2016-12-15 20:27 UTC
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: 2026-03-01 03:58:46 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