This topic has 2 replies, 2 voices, and was last updated 1 years, 3 months ago ago by Rose Tyler
Hello, we have tried to integrate a plugin from a provider which sends SMS on the abandoned cart. Plugin on the checkout page searches for input with an id “billing_phone”. The problem occurs because there are two duplicate IDs on the page. One is on the checkout page and another is in the header in the “Account” section where you can log in and register. Is there a way that we can remove that registration form from the header?
Thanks and best regards
Hello,
Please, add the next custom code to your xstore-child/functions.php
add_action('wp', function() {
if ( !is_account_page() ) {
if ( !get_query_var('et_is-loggedin', false)) {
set_query_var( 'et_account-registration', false );
}
}
}, 22);
Kind Regards,
8theme team
You must be logged in to reply to this topic.Log in/Sign up