Checkout class change for “Click here to login”
-
Tried below snippet to change the default login to ajax login but it didn’t work
add_action( ‘wp_head’, function(){
?>
<script type=”text/javascript”>
jQuery(document).ready(function($){
$(‘a.showlogin’).click(function(e){
e.preventDefault();
e.stopImmediatePropagation();
$(‘xoo-el-login-tgr’).trigger(‘click’);
})
})
</script>
<?php
} );
Please advise where I’m going wrong
Regards
Taj MdThe page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Checkout class change for “Click here to login”’ is closed to new replies.