2

I would like to know if it's possible to redirect disabled product to the URL of its category.

1
  • 1
    Please specify Magento's version to get better responses. Sep 25, 2017 at 8:53

2 Answers 2

0

You can try to create an observer as explained in this article http://evgv.github.io/magento/redirect/categories/product/observer/2016/04/27/redirect-from-disabled-product-to-last-product-category.html

0

You can achive this functionality using override Magento\Cms\Controller\Noroute\Index controller

Ref Link :https://www.integerbyteblog.in/technology/magento-2-redirect-disabled-product-to-other-url/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.