• Resolved aabenholt

    (@aabenholt)


    Hi,
    Im having trouble with the plugin, that it will not show the checkbox on the checkout page. I have uninstalled and installed again. Disabled all other plugins. Changed the template and unset all my custom settings. Everything is back to basics. I have tried to change the location of the checkbox, still no result. Help and answers are much appreciated.

    https://wordpress.org/plugins/mailpoet-woocommerce-add-on/

Viewing 15 replies - 16 through 30 (of 30 total)
  • Plugin Author Sébastien Dumont

    (@sebd86)

    So it was working. I’m not currently seeing it with everything updated but I am also not getting any debug error logs when viewing the checkout page.

    I am also not seeing it with WC 2.5.0-RC1

    I’m looking at all possibilities. I will figure it out.

    Thread Starter aabenholt

    (@aabenholt)

    I am sure that it did work the first time i tested it. And then never since. Which was also why I tried from different browsers, computers and so on. To be sure that it was not som kind of cache/cookie problem. If needed I can create a backend user for you? Everything to make this work again 🙂

    Plugin Author Sébastien Dumont

    (@sebd86)

    OK so far in my tests, having the latest version of MailPoet and WordPress with the current release of this extension works if using WooCommerce version 2.4.0

    I’m testing each version of WooCommerce as I go up.

    Plugin Author Sébastien Dumont

    (@sebd86)

    Looks like everything is fine and working. I have everything up to date.

    As I said earlier, it does not show the field if you are already subscribed so if you are logged in and have ticked the checkbox and made an order then you are subscribed.

    The only way to hide the field once the customer has already subscribed was to add a custom user meta data.

    If you run this SQL query in your database you should see the meta data attached to your account.

    SELECT * FROM wp_usermeta WHERE meta_key='_mailpoet_wc_subscribed_to_newsletter'

    If you do, you need to delete it.

    Hope that helps.

    Thread Starter aabenholt

    (@aabenholt)

    Running the query gives me an empty result. But lets say that it does not show because I already registered for the newsletter. Still you should be able to see the checkbox, right? My point is that the checkbox is hidden from any visitor.

    Plugin Author Sébastien Dumont

    (@sebd86)

    No, the field is removed if you are already subscribed.

    If you are a new customer that is not logged in or a customer who is logged in but has not subscribed then the field shows.

    The reason for removing the field on the checkout once subscribed is because it causes an issue with WooCommerce should the customer tick the checkbox when placing another other order.

    I have also tested both themes and the field shows.

    Im not not getting it in the checkout.
    – Disabled all plugins beside woocommerce, mailpoet and your plugin.
    – enabled: Tick this box to enable MailPoet subscription during checkout.
    – Tryed with flatsome theme and Twenty Sixteen.
    – Not logged in(incognito/private browsing)

    Plugin Author Sébastien Dumont

    (@sebd86)

    It sounds to me that you don’t have a list enabled.

    You are absolutely right 🙂
    Sorry for the inconvenience.
    Maybe a small message saying: “you havent ticked any list yet, click here” for people like me 🙂

    Plugin Author Sébastien Dumont

    (@sebd86)

    Thank you for the feedback woober. I will add that in the next update.

    I have been having the same problem as the original poster. In reviewing the thread, I found this instruction:

    If you run this SQL query in your database you should see the meta data attached to your account.

    SELECT * FROM wp_usermeta WHERE meta_key=’_mailpoet_wc_subscribed_to_newsletter’

    If you do, you need to delete it.

    I did that, got a hit, and deleted the key and now see the check boxes.

    I am trying to understand specifically what action(s) are triggering this issue. During testing, I create orders for myself in WC. Is that what causes the disappearance? Is it being logged in as a WP Admin? Is it having my email in the MP database? How does this relate to records for other subscribers in MPdb or customers in WCdb or users in WPdb?

    Thank you.

    Plugin Author Sébastien Dumont

    (@sebd86)

    If you are creating orders manually via WooCommerce -> Orders then it should not be adding you or the customer as a subscriber.

    If you are manually creating the orders via the frontend while logged in as admin then yes it will be adding you to the list but it will only show the option to subscribe if you are not already subscribed.

    Hello Sebastien,

    I also have the problem that my checkbox dissappeared. New customers are still added to my newsletter list though.
    Must have happened with some wordpress or woocommerce update I suspect.
    I have tried to find it in checkout as a guest, but no luck. I tried to change the position, and it also didn’t work.
    I use Mystille as a theme.
    Can I send you an email with my page?

    Ok, I have an update. It works now. I don’t know why, but my main list is not selectable anymore. When I made a new list, I could set the new one in available lists.
    Do you know why the old list isn’t listed anymore? Is there a subscriber limit or something?

    Plugin Author Sébastien Dumont

    (@sebd86)

    It is either two things.

    1. Your old list was no longer active making it unavailable to add more subscribers.
    2. You are using the free version of MailPoet had have reached your 2,000 subscriber limit.

    See MailPoet feature list.

Viewing 15 replies - 16 through 30 (of 30 total)
  • The topic ‘Checkbox on checkout doesn't show’ is closed to new replies.