• Resolved guezs

    (@guezs)


    Hi! I’m using PMPro with Woocommerce (including the addon).

    When the product is created, the autocomplete option is checked automatically, but as soon as I edit the product, it’s allways off, no matter what I change.

    Do you know what could affect this option to be set at off every time?

Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Support Kim White

    (@kimwhite)

    Hello @guezs,

    This is a site-specific issue and will require more troubleshooting. Does the Auto Complete disable if you disable PMPro or apply it to static products? If it continues to turn off, you will need to contact WooCommerce for assistance.

    You may want to try a 3rd party plugin to help this work. Something like this. https://www.ads-software.com/plugins/autocomplete-woocommerce-orders/

    I hope one of these options is helpful to you.

    Kim W

    Thread Starter guezs

    (@guezs)

    I printed the $_POST in the debug log to see what is being received by the addon and it shows

    [_membership_product_autocomplete] =>

    That is… equals nothing. Nothing after the >

    I checked the checkbox before updating and sending the data.

    It seems that something in, maybe, javascript is not working properly.

    This is weird because I have tested it before in a previous site and it’ working fine.

    Thread Starter guezs

    (@guezs)

    Just saw your answer.

    It’s the checkbox in the PMPro tab only. In fact, the order autocompletes but the membership autocomplete is set to no again.

    Thread Starter guezs

    (@guezs)

    ok, I tried with a test product in my other site that was working well and the same thing is happening. Only in the PMPro tab and only in the checkbox. The text inputs and select work well.

    I also tried in other browser just in case.

    I see that the PMPro code just calls the Woocommerce function to add the input, but the other checkboxes from Woocommerce are working as expected.

    I also used a Health check plugin with all other plugins deactivated and the default theme. Same thing.

    Thread Starter guezs

    (@guezs)

    One more… I installed a new wordpress with only Woocommerce and PMPro + Addon and the same thing is happening.

    So, old site which was working well, actual site and a new site having the same issue. I don’t think it’s a site-specific issue.

    Maybe the new update from Woocommerce requires an update in the way the checkboxes are set up?

    • This reply was modified 1 year, 9 months ago by guezs.

    Having the same issue, I check the box then update the page then poof its unchecked when the page reloads.

    Plugin Author Andrew Lima

    (@andrewza)

    Thank you for your patience, I have created a Pull Request that should be released in an update to our WooCommerce Integration which can be found (and pre-patched) here – https://github.com/strangerstudios/pmpro-woocommerce/pull/186

    Thread Starter guezs

    (@guezs)

    Thank you very much.

    I’m not sure if I can do anything with this patch now. If you remove the escape, would it translate to other languages? I found that when strings are not in the scape function, they are not translated.

    Thread Starter guezs

    (@guezs)

    ok, I replaced the function and it works now. The translation is still there.

    how do I apply the patch? when I run the snippet I get errors. Do I copy everything or just specific lines?

    Plugin Author Andrew Lima

    (@andrewza)

    Thanks for the feedback @guezs. Translations will still work as we have kept the functionality to translate the strings.

    @zmsn you need to replace the code in the plugin with the adjusted code. An update should go out soon for this if you can wait a couple of days (hopefully sooner) it should be available.

    Plugin Author Andrew Lima

    (@andrewza)

    @zmsn you may update to version 1.7.7 to automatically apply this fix to your site. Do not hesitate to let me know if you run into any issues.

    Awesome thank you!!!!

    @andrewza hey I have an unrelated question. How do I find the documentation to restrict better messages? Their website has the worst info on how to do this (https://www.wordplus.org/knowledge-base/paid-memberships-pro/), all they give is the pic below. judging from the options on the pic it looks like it is from the paid membership pro plugin and not the better messages plugin, but I can’t find any of the depicted options in the paid membership pro plugin. I have the BuddyPress add on as required but I’m just lost. If you can please help me it would be great.

    Plugin Support Kim White

    (@kimwhite)

    Hello,

    If the original issue resolved we will close this ticket.

    The above image shows the BuddyPress Restrictions under the PMPro Membership Tab.

    Memberships > PMPro BuddyPress

    Please start a new ticket here for more help with this plugin. https://www.ads-software.com/plugins/pmpro-buddypress/

    Kim W

    • This reply was modified 1 year, 9 months ago by Kim White.
Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Autocomplete not working’ is closed to new replies.