Forum Replies Created
-
Author
-
maxlevelParticipant
This is the content of my style.css sheet in the kleo child theme that breaks the rendering process of the forms:
COPY CODE/* Theme Name: Kleo Child Theme URI: Description: Child theme for Kleo Author: SeventhQueen Author URI: http://seventhqueen.com Template: kleo Tags: one-column, two-columns, right-sidebar, fluid-layout, custom-menu, featured-images, post-formats, sticky-post, translation-ready License: GNU General Public License License URI: license.txt */ /* Please add your custom styles below */
And I have renamed the functions.php into xfunctions.php in the child theme so I assume it is not doing anything.
maxlevelParticipantHi.
I need to reopen this post because I am still having troubles with this problem. I don’t understand code well enough to know how exactly to implement your suggestion.Basically, what I want to do is rewrite an error message during checkout. At the moment it says “An account is already registered with your email address. Please log in”.
I want to change the text a bit (which I know how to do) and my customers to be able to click on “Please log in” and I want the login widget to pop up. How exactly do that?
I’ve only managed to send them to another site where the widget pops up but I don’t want them to leave the checkout page.
This is the bit of Code I am working with in the Theme Functions php file:
COPY CODE/* ================= Woocommerce Email is already registered - Please Log in =================== */ function my_woocommerce_add_error( $error ) { return str_replace('An account is already registered with your email address. Please log in','Hi, you must be a returning customer. To keep your data safe login is required to purchase a membership. If you know your password <a href="/wp-login/???????"> Please Login</a> ',$error); } add_filter( 'woocommerce_add_error', 'my_woocommerce_add_error' );
What do I need to do here?
Thanks for your help!
Rudolf
-
AuthorPosts