• Resolved sadiqodunsi

    (@sadiqodunsi)


    Hello,

    Thanks for providing this awesome plugin. According to the documentation, I believe this plugin has the ability to save user’s input in the checkout form even when they refresh the browser. This is so that customers would not have to type in the entry again when they come back to the checkout page.

    Is this functionality only in the paid version of the plugin? I can’t find the “Remember checkout fields” anywhere in the plugin as you mentioned in the documentation. Also, does the plugin have a settings area? I can only find the page that lists the abandoned carts on the backend.

    Furthermore you said the autosave feature would work if a custom field has this class input-text

    Do you mean that I add something like this to the custom field

    woocommerce_form_field( 'custom_field', array(
            'type'          => 'textarea',
            'class'         => array('custom-field-class', 'form-row-wide', 'input-text'),
            'required'      => true, // or false
            'default'       => $default_text,
        ), $checkout->get_value( 'custom_field' ) );
        echo '</div>';

    As a pointer, what I expect can be seen in action on this page. When you type something in the form and refresh the page, your input is still available until you submit the form

    Kind regards,
    Sadiq

    • This topic was modified 7 years, 1 month ago by sadiqodunsi.
    • This topic was modified 7 years, 1 month ago by sadiqodunsi.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Streamline

    (@streamlinestar)

    Dear @sadiqodunsi

    Thanks for your questions 🙂
    The “Remember checkout fields” functionality is available in both the free and paid versions so you can go ahead and install the free version.
    The Free version does not require any additional settings or configuration therefore it does not have the Settings page.

    About the “input-text” class, it is added by WooCommerce by default so you do not have to worry about that. We have mentioned that just in case if you have a custom checkout form and have specifically removed this class.

    Data and information about the cart is saved right after the user gets to the Checkout form and one of the following events happen:

    • Correct email address is entered
    • Phone number is entered
    • On Checkout page load if email or phone number input fields are already filled
    • Any Checkout form input field with a class “input-text” is entered or changed if a valid Email or Phone number has been entered

    If the user completes the checkout process and receives a “Thank you” page, the cart is removed from the Checkout Field Capture table of abandoned carts and the Checkout form fields are cleared.

    Best wishes

    • This reply was modified 7 years, 1 month ago by Streamline.
    Thread Starter sadiqodunsi

    (@sadiqodunsi)

    Dear @streamlinestar

    Thank you for the fast response. According to your response, when an input is entered into my custom checkout field, the value should be saved and when the user leaves the checkout page and come back later, they should still see the value they’ve previously entered.

    I believe this is how it should work however, my checkout form is not saving the entered value on the form if the user reloads the page. It only saves it on the backend. Can you please put me through how I can debug this problem?

    How can I check if ajax is working properly on my site and how can I check that everything the form needs to work is setup properly?

    Please let me know.

    Kind regards,
    Sadiq

    Plugin Author Streamline

    (@streamlinestar)

    Hi @sadiqodunsi

    Do you have a link to your shop where we could take a look at this behavior?

    Thread Starter sadiqodunsi

    (@sadiqodunsi)

    Hello,

    Thank you for your response. Do you maybe have an email where I could send the site link and a test account details. You need to login to the site to be able to view the checkout page.

    Plugin Author Streamline

    (@streamlinestar)

    Hey @sadiqodunsi

    Since already gave a more in depth answer in the email, I wanted to answer to this question also here so that other who might be having this same issue would know.

    The “Remember checkout fields” function only works for unregistered users.
    If the user is logged in, we want to only automatically fill his first name and last name previously saved abandoned cart during “Add to Cart” action.

    Restoring Just Name and surname since the rest of the fields are restored automatically by WooCommerce if the user has previously purchased anything.

    So since WooCommerce handles the remembering of the fields, we are not interfering with the core there.

    Warm regards

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Thank you for your response. Do you maybe have an email where I could send the site link and a test account details. You need to login to the site to be able to view the checkout page.

    @streamlinestar Even though it’s a “test account” don’t do that. That will get you into real trouble here.

    Had you asked that (you did not) then this would be the reply.

    I’ve deleted your offer to login to your user’s site. I’m am 100% sure you mean well but please never ask for credentials. I have flagged your account temporarily. That just means that your post will need to be approved and @ notifications from you will not work.

    https://wordpress.org/support/guidelines/#the-bad-stuff

    Now for the why: The internet is a wonderful place full of very nice people and a few very bad ones. I’m sure everyone here is very nice however, by giving some ones keys to your house you are trusting they wont steal anything. Likewise the person who takes the keys is now responsible for the house FOREVER.

    If something was to go wrong, then you the author may well legally become liable for damages, which they would not normally have been as their software is provided without warranty.

    Please be aware that repeatedly asking for credentials will result in us asking you to repeatedly stop before escalating up to the plugins team.

    That explains it well and even applies to test accounts.

    Plugin Author Streamline

    (@streamlinestar)

    Hey @jdembowski

    Thanks for outlining the guidelines, in the future will ask the support questions about the premium version to be posted over there – no problem.
    And actually I do not ask for credentials but rather a link where it is possible to see the issue to have a better understanding.

    But I get the point what you mean by the credentials question – I understand the risk involved on my side by offering help to fix an issue this way.
    I would like to know what is the right way to help a user to solve an issue he is having in case of the issue is appearing in the admin panel or behind a protected website?

    Kind thanks

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Hw does “Remember checkout fields” functionality work?’ is closed to new replies.