kodbruket/magento2-gotosku 1.0.0

Module for Magento 2.

Type

magento2-module

License

None

Requires
Requires (dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

Go To SKU for Magento 2

Build Status

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