sysforall/disabledproductsredirect

This package is abandoned and no longer maintained. The author suggests using the sysforall/disabled-products-redirect package instead.

This module changes the default magento 404 page given when a product is disabled and redirects it to the first category it belongs to

Installs: 10

Dependents: 0

Suggesters: 0

Security: 0

Stars: 9

Watchers: 0

Forks: 3

Type:magento2-module

1.2.0 2017-11-26 22:23 UTC

This package is not auto-updated.

Last update: 2022-02-01 13:11:04 UTC


README

This module changes the default magento 404 by redirecting users who try to go to a disabled product URL to the first category the product belongs

Features of this extension:

Backend

  • Customisable message once user is redirected from the disabled product URL to the first category it belongs to.

Installation

Manual Installation

  • Download the extension
  • Unzip the file
  • Create a folder {Magento root}/app/code/Sysforall/DisabledProductsRedirect
  • Copy the content from the unzip folder

Using Composer

composer require sysforall/disabled-products-redirect

Enable Extension

  • php bin/magento module:enable Sysforall DisabledProductsRedirect
  • php bin/magento setup:upgrade
  • php bin/magento setup:static-content:deploy

Settings

To customise the redirection message log into your Magento Admin Panel, go to Stores -> Configuration -> Sysforall -> Disabled Products Redirect

When complete, Save Config.

Clear cache if necessary

  • php bin/magento cache:clean