New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Woocommerce "Save Settings" button hidden when in debug mode #1
Comments
Hi David! Thanks for reporting this. We thought we handled it so that it only hides the button for our tab, but if it's hiding it for all tabs, that's a problem. Can you include screenshots/repro steps? FWIW we're hiding the save button when not in debug mode (you should see it when debug mode is on, along with text fields). The reason for that is simple, if we show the save settings button but not the debug mode text fields, hitting "save" will send empty text to our backend and delete all of your IDs and API key! We opted to use AJAX instead. |
No problem it's a fairly easy work around, but it had me scratching my head for awhile. Steps to reproduce:
Desired behavior is that the "Save Settings" button would be enabled for all Woocommerce tabs, except for Facebook for WooCommerce when in debug mode. |
We've fixed this issue in v1.6.0. Please download the new version and re-open the issue if the problem re-occurs. The new version should be available on the WooCommerce site next week. |
Thanks for the fix. It works great on 1.6.0 :) |
Summary: 1. Add an ajax function to update custom option. 2. Add a checkbox to mark Dev Environment 3. Bind the checkbox with #1 ajax function 4. Logic to skip the sync when Dev Env flag is marked Reviewed By: dmitridr Differential Revision: D13079787 fbshipit-source-id: 9a12febf
Not sure why the save settings button is hidden when in debug mode.
Unfortunately, this hides the save settings button for all Woocommerce applications until Facebook for Woocommerce is deactivated. If the intention is to hide only for Facebook for WooCommerce, it should probably be handled differently.
Current behavior hides the save settings in all WooCommerce admin and my payment gateways...
The text was updated successfully, but these errors were encountered: