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