Support wrote:
Support wrote:
Support wrote:
Support wrote:
I found the code in the file PopUpWindow.cshtml:
-----------------------------------------
type: "POST",
url: "@(Url.Action("Subscribe", "NewsletterSubscriptionDiscount"))",
data: postData,
success: function(data) {
subscribeProgress.hide();
if (data.success) {
$("#newslettersubscription-block").hide();
$("#newslettersubscription-welcome").show();
@if (Model.WelcomeMessageTiming > 0)
{
<text>
setTimeout(function(){
fnsnewslettersubscriptionpopup(false);
}, 1000 * @Model.WelcomeMessageTiming);
</text>
}
}
else {
$(".newslettersubscription-result").html(data.message);
}
},
error: function(xhr, ajaxOptions, thrownError) {
alert('Failed to subscribe.');
subscribeProgress.hide();
}
});
}
-----------------------------------------
I can change 1000 with 4000 (4 seconds) in this code line :
1000 * @Model.WelcomeMessageTiming);
In the next version you could insert this timing parameter in the Plugin GUI (into Nop Administration)
Thanks
Support wrote:
The "Welcome Message" Popup contains this message:
"Thank you.
Please check your inbox for your welcome voucher code."
Support wrote:
Is there a parameter to set how long the popup with the welcome message should be visible?
Is it possible to add it in the next version?
If I am already subscribed to the newsletter, and I register again, I do not receive any communication.
Is it possible to provide a popup message or an e-mail warning of this exception?