Disable out of stock products and redirect them and active when in stock automatically

In the PrestaShop SEO Redirects module, if I activate the option to redirect deactivated products, if I activate it again or it has stock again, would the redirection be automatically eliminated and would it remain as before? What I want is that when a product is deactivated it is automatically redirected until it is back in stock and enabled again.


Hello,

welcome after weekend,

if I activate the option to redirect deactivated products, if I activate it again or it has stock again, would the redirection be automatically eliminated and would it remain as before?

yes, redirection will be removed (deactivated).

depending on used option:

  • disable and redirect out of stock product 
    when product will be in stock again - module will automatically activate product and remove redirection
  • redirect disabled product
    when product will be active again - module will disable redirection

 

What I want is that when a product is deactivated it is automatically redirected until it is back in stock and enabled again.

 

this is what option to "disable and redirect out of stock product" does :)

To achieve what you expect it will be required to activate option to "disable and redirect out of stock product". This option is under "settings" menu: https://i.imgur.com/ks6pJYJ.png 

You can find there option to decide what to do with out of stock products. Select option you expect to have for example: "Disable and redirect to main category of product" https://i.imgur.com/0cTcz7b.png 

once you will activate option to "disable" out of stock products you will see additional options (exclusions, details of workflow etc). There is "enable when in stock": https://i.imgur.com/ENFLcfZ.png just activate it

 

this configuration will make module work as you expect :)

 




 

Share on Google Plus

About VEKIA

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment

0 comments:

Post a Comment