Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #985148
    #985694

    Hey OSTstudio,

    Please add this code to your child theme functions.php file:

    
    
    add_action( 'woocommerce_login_form', 'av_woo_privacy_login_extra' , 10 , 2 );
    function av_woo_privacy_login_extra( $form )
    {
    	$content = do_shortcode( avia_get_option('privacy_message_login') );
    	if(empty($content)) $content = do_shortcode(avia_get_option('privacy_message'));
    	$extra_class = 'forgetmenot';
    
    	$output = '
    <p class="comment-form-av-privatepolicy '.$extra_class.'">
    				<input id="comment-form-av-privatepolicy" name="comment-form-av-privatepolicy" type="checkbox" value="yes">
    				<label for="comment-form-av-privatepolicy">'.$content.'</label>
    
    ';
    
    	echo $output ;
    }
    

    This bug will be fixed with the next theme update.

    Best regards,
    Dude

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.