Developer forum

Forum » CMS - Standard features » Back in stock notification for inactive products

Back in stock notification for inactive products

Cátia Torego
Reply

Hi,

Back in stock notifications are being sent to users even when the product is inactive.
This is the scenario:

  1. The product is active, and the user subscribes to the back in stock notification.

  2. The product is set to inactive.

  3. The stock is updated, but the product is still inactive.

  4. The user receives the back in stock notification.

Looking at the back in stock code, there is no validation to check if the product is active or not.
https://dev.azure.com/dynamicwebsoftware/Dynamicweb/_git/Dynamicweb?path=/src/77%20[…]lineStyle=plain&lineEnd=339&lineStartColumn=9&lineEndColumn=10

DW version: 9.17.11
 


Replies

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

bump

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply
This post has been marked as an answer

I made pull. Will be out in next 9.19

Votes for this answer: 1
 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

That is great, thank you Nicolai

 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply

Hi,

can be tracked by task #24216, thanks.

BR, Oleg QA

 
Anna Gaeta Dynamicweb Employee
Anna Gaeta
Reply

Hi Oleg! 

Do you have an idea/update on when 9.19 will be released so we can apply this fix for a customer?

Thank you!

Anna Gaeta

 

You must be logged in to post in the forum