cameronmscott
Forum Replies Created
-
Also interesting to note is that according to the changelog, the functionality that allowed logged-in users to bypass email validation (the same logic that appears to be causing the problems) was added in version 2.2.1.
Either the author did not properly test the changes OR there is a bigger issue elsewhere; regardless, my proposed “fix” will expose the fields so you can edit the labels and placeholder. Afterwards, if you want to re-enable the functionality you can. Just keep in mind that you won’t be able to see the fields you need to edit in the plugin admin with that code enabled.
Folks,
NO THANKS to the plugin author, I pecked away at this until I found THE SOLUTION!
It was a simple blunder…
You will need to edit the following file (make a backup copy FIRST):
/wp-content/plugins/woocommerce-poor-guys-swiss-knife/classes/woocommerce-poor-guys-swiss-knife.php
Search for the section below(around line 3,295 in my version):
function add_billing_custom_fields( $fields )
Within that section, you will see this code:
if ( !is_user_logged_in() ) :followed by several lines of code and then
endif;The blunder is that with this code enabled, the fields that you need to edit in the WCPGSK plugin will NOT show up if you are logged in…but you MUST be logged in (as an admin) to edit the fields in the WCPGSK plugin. So, with this code enabled, you will never be able to see the fields that you need to edit. I assume the plugin author intended to only require the verification for customers without accounts…
My simple fix was to comment out those two lines only (using two forward slashes):
if ( !is_user_logged_in() ) :
becomes
//if ( !is_user_logged_in() ) :and
endif;
becomes
//endif;I realize this may remove some of author’s intended functionality (only requesting verification for non-logged-in users) but I didn’t mind. You may have to experiment to get your desired results…
Edit the code to your preference, then save the .php file. Log in to your wp-admin and then go into your plugin settings and make sure that “Add billing email validator:” is checked under your “Checkout Settings”. Save, then go to “WooCommerce Checkout Billing Section” and you SHOULD see an option for “billing_email_validator” at or near the bottom, which you can now customize and will appear on the checkout page of your website.
Enjoy!
Forum: Plugins
In reply to: [WooCommerce Poor Guys Swiss Knife] Email confirmation validation fieldYes, the bug is still there…
I am not sure why this is marked “Resolved” as the author has yet to fix this problem. That was TWO MONTHS ago…
Forum: Plugins
In reply to: [Fast Secure Contact Form] No Captcha Image on FireFox ONLYNevermind!
Like an IDIOT, I was logged in on my FireFox browser, and I had the plugin set to “Hide Captcha Image for”… of course, logged in users was included.
I logged out of FireFox WordPress session and immediately saw the image.
Thanks for the quick reply!
I don’t see a placeholder or label for the VERIFICATION email, just the original email.
Settings:
Checkout Billing FormI See the input box for the verification email, but there is no label:
CheckoutI have the latest version…