Developer forum

Forum » CMS - Standard features » Back-in-stock notification

Back-in-stock notification

Natan Ólafsson
Reply

Hello

We are using the back-in-stock notification functionality to let users opt into getting an email when a specific product is back.
However it seems to rely on "Email permission" being true for the user, which seems incorrect in this case, as the email is requested by the user.

Is there a way to by-pass the email permission functionality for these types of emails?

Regards
Natan


Replies

 
Nicolai Pedersen
Reply
This post has been marked as an answer

Hi Natan

The back in stock notifications have 2 different types of users. Known users that was logged in when they asked for a back in stock notification, and users that specified their emails (and was not logged in).

If it is known users, you cannot bypass the email allowed flag of the user in the current back in stock recipient provider as it is currently. Users that signed up using their emails, will be send to.

Attached find an updated version of the backinstock recipient provider which has a new setting "Do not require email allowed flag" - mark that and see if that handles you issue.

I will merge to the build branch if you ok this.

BR Nicolai 

Votes for this answer: 1
 
Nicolai Pedersen
Reply

Unpack the zip and copy the dll to your solutions bin folder, go in email marketing and re-configure the recipient provider.

BR Nicolai

 
Natan Ólafsson
Reply

Sorry for the late reply, I have tested the new dll and it works wonderfully.
Ok to merge to the build branch. :) 

Regards
Natan

 
Nicolai Pedersen
Reply

Ok, thanks. TFS#76282 - out with the next version of the Dynamicweb.EmailMarketing.RecipientProviders.BackInStockProvider nuget package.

 

You must be logged in to post in the forum