sysforall/disabled-products-redirect 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

sysforall/disabled-products-redirect

最新稳定版本:1.2.0

Composer 安装命令:

composer require sysforall/disabled-products-redirect

包简介

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

README 文档

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

统计信息

  • 总下载量: 30.32k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 12
  • 点击次数: 6
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 12
  • Watchers: 0
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: OSL-3.0
  • 更新时间: 2026-01-04