Developer forum

Forum » Ecommerce - Standard features » GetBoolean("Ecom:Product.NotificationRegistered") in ProductViewModel

GetBoolean("Ecom:Product.NotificationRegistered") in ProductViewModel

Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi guys,

Is there any way I can get the information about "BackInStock" notification in ProductViewModel?

Some API method based on ProductID?

Thank you,
Adrian


Replies

 
Vladimir Shushunov Dynamicweb Employee
Vladimir Shushunov
Reply

Hi Adrian

There is a method for that:

ProductBackInStockNotification.BackInStockNotificationExists(product, String.Empty)

Best regards,
Vladimir

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Vladimir,

Thank you very much,.

I have tried finding it in the API documentation using Search but I did not get anything relevant.

Thank you,
Adrian

 

You must be logged in to post in the forum