Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • in reply to: Kleo-Child style.css problem #212282
     maxlevel
    Participant

    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.

    in reply to: Code for Kleo login pop-up window #209464
     maxlevel
    Participant

    Hi.
    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

Viewing 2 posts - 1 through 2 (of 2 total)

Log in with your credentials

Forgot your details?