You have no items in your shopping cart.

Profile: m.cattaneo

Avatar
Statistics
    Bugs

    TEMPLATE: Product Attribute Combination
    PROBLEM: not import OverriddenPrice record

    When debugging is ebabled the following message appears in the log file

    “- old value=, imported value=331, imported (updated) value=331  Error (property=OverriddenPrice)
       Exception=Invalid cast from 'System.String' to 'System.Nullable`1[[System.Decimal, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'.”

    In addition, the schedule tab is visible in the documentation page but not appears in the installed plugin.


    TEMPLATE: Product Attribute Value
    PROBLEM: not import ProductAttribute if name is not present (Empty)

    4 years ago

    Support wrote:

    I agree with you.
    I did the new release now.
    Download the new release, replace all files, restart your store.
    Open plugin configure page and try.
    Write me about result.

    Great !
    It is exactly what i need!
    I downloaded and installed it.
    The result is OK!!
    4 years ago

    Support wrote:

    No, you will not be able to get the second coupon code.
    You entered your email second time from the new devise.
    Plugin checks this email in the new subscriber list and if you are a subscriber than plugin will show you Thank You page but plugin will not send you anything.


    OK I know that I don't receive a second coupon code,
    but it would be better if I received a notification that I am already registered (via popup or email). The Thank you message is the same for registered and not registered
    4 years ago

    Support wrote:

    Open plugin configure page and change this parameter
    "Auto-hide newsletter box after X seconds upon successful sign-up"


    I'm sorry but I'm not talking about the main popup.
    I'm talking about the "thank you" popup that is shown after the user has entered his email and subscribed to the newsletter.

    I have already answered as I solved.
    thanks
    4 years ago

    Support wrote:

    If you are registered customer
    1. Plugin checks if you are a newssubscriber and if YES than plugin doesn't show popup window
    if NO than plugin shows popup window.

    Please check this logic.
    P.S.
    Pay attention to cookies.


    I can be a user already registered for the newsletter.
    But how does the plugin behave if I access the website without being logged in?
    if I access from a new device where the "foxnetsoft.newslettersubscription.popupwindow" cookie does not exist or has already been deleted? The plugin show popup window and I can insert my email...
    But I am already registered.. and I receive again a coupon code.
    It is importa to check in the newsletter table if my email is already present, and send an email with the notification.
    4 years ago

    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

    4 years ago

    Support wrote:

    Do you want to show popup window if customer is a newsubscriber again?
    It's not a good idea.

    No I don't wont this.

    But what happens if I am a user already registered and I write again my email in the subscription popup?
    I don't receive notification...
    It is better to show a popup that notify "Sorry your email is already registred"
    4 years ago

    The "Welcome Message" Popup contains this message:

    "Thank you.
    Please check your inbox for your welcome voucher code."

    4 years ago

    Support wrote:

    Do you want to autoclose this popup window after some time?
    What nopcommerce version do you use?


    yes!
    Probably after 5 seconds. Now it is too fast
    Now I use NOP 3.9
    4 years ago

    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?

    4 years ago

    Powered by nopCommerce

    Copyright © 2023 FoxNetSoft. All rights reserved