• Resolved misterpo

    (@misterpo)


    Hi,

    La sentinelle doesn’t look to work on the Woocommerce registration form.

    We had more than 50 kake user accounts created over the last 30 days.

    Cheers.

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

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Marcel Pol

    (@mpol)

    Hello,

    I am sorry this happened to you.

    I could say it is documented that only login form is supported. But saying that now is not much use to you.

    Maybe asking in the WooCommerce community which antispam plugins people use, could be an idea. In my experience WooCommerce is not always easy to support from a third party part. Hearing good experiences from the community can help.

    I do wish you my best regards,
    Marcel

    Thread Starter misterpo

    (@misterpo)

    Thanks for your feedback.

    Do you think adding a [la_sentinelle] shortcode on the registration form would be an acceptable workaround?

    Plugin Author Marcel Pol

    (@mpol)

    Hi,

    No, I don’t expect that to work. The plugin does support the login form.
    I don’t remember why the register form in WooCommerce isn’t supported. I don’t see anything in the changelog and source code about it. I might have worked on it and found it doesn’t work right, or I might not have worked on it.
    I can imagine it to feel as dangerous territory; so many plugins and themes work in a different way for registering in WooCommerce.

    I do see that register form in MemberPress has source code that supports it, but it wasn’t written by me and I don’t know if it works.

    Plugin Author Marcel Pol

    (@mpol)

    I assume you use register form during checkout for new customers?

    I don’t really dare to touch that workflow. If something goes wrong, many shops might lose sales.

    It might be a good way to have email confirmation. Only after clicking an activate link, does the account get activated and the sale get through.

    Another option is to clean up accounts that were made and that have no sales made. Under WooCommerce > Settings > Accounts-tab, there is an option for that.
    I really do believe this has the least chance to be destructive to your shop, customers and everything.

    Thread Starter misterpo

    (@misterpo)

    Hi,

    I use the basic Woocommerce registration form, which is displayed in the right column on this page : https://www.sadev.com/my-account

    It is a pity there is no way to protect this form.

    Your plugin has an option “Enable spamfilters for WordPress Register Form.”, I thought it was also working on Woocommerce registration form.

    I have thus to find another solution.

    Thanks for your support.

    Plugin Author Marcel Pol

    (@mpol)

    Aha, I didn’t know this existed. I don’t follow WooCommerce development close. I will take a look to see if I can support these two forms.

    Thread Starter misterpo

    (@misterpo)

    That would be great!

    I would like to use your plugin, which is lightweight on most of my WordPress sites.

    For the time being, I have used this code to protect the Woo registration form :

    https://www.businessbloomer.com/woocommerce-my-account-registration-anti-spam-honeypot/

    Cheers.

    Plugin Author Marcel Pol

    (@mpol)

    Hi, I looked at this.
    This will also have antispam on the checkout form for registration.
    I simply don’t dare to enable this, I really prefer the cleanup options.
    I am sorry, I hope we can agree to disagree ??

    These two lines of code will enable the spamfilter for registration, in case you desire to use it. Please test carefully, also on updates of WooCommerce. In my experience, WooCommerce doesn’t care much about backwards compatibility, unlike WordPress Core. I have been bitten in the past ??

    add_action( 'woocommerce_register_form', 'la_sentinelle_registration_form', 9999 );
    add_filter( 'woocommerce_registration_errors', 'la_sentinelle_check_registration_form', 9999, 3 );

    Thread Starter misterpo

    (@misterpo)

    Hi,

    Thanks a lot, it looks to work beautifully!

    Cheers.

    Thread Starter misterpo

    (@misterpo)

    Hi,

    I’ve just found another issue on Woocommerce registration form on the checkout page.

    Though I have added the 2 lines of code you have supplied, registrations are blocked at the checkout page. Honeypot fields are not displayed on the registration form.

    Cheers.

    Thread Starter misterpo

    (@misterpo)

    Looks to work if you add the following action :

    add_action( ‘woocommerce_checkout_billing’, ‘la_sentinelle_registration_form’, 9999 );

    Plugin Author Marcel Pol

    (@mpol)

    Thank you for beta-testing this in WooCommerce ??

    It would be an option to hide it behind an option that is disabled by default.

    Plugin Author Marcel Pol

    (@mpol)

    And 3.0.1 is released.

    You can now delete these 3 actions again and enable the option in Settings > La Sentinelle > Form-tab.

    Thank you again.

    Thread Starter misterpo

    (@misterpo)

    Thanks a lot for your excellent support, once again!

    Cheers.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Not working on Woocommerce registration form?’ is closed to new replies.