Hiding the upsell popup
-
Hi,
As reported in many reviews and other tickets the buttons to deactivate the huge upsell banner showing on all admin pages is not working. Here’s a not-so-ideal but good-enough solution for everyone who’s tired of it.Head over to edit plugin files,
woo-thank-you-page-nextmove-lite/admin/includes/upsell/class-xlwcty-upsell.php
currently there’s a public function hooks() between lines 45 and 58, just comment them all by adding // at the start:public function hooks() {
//add_action( 'admin_init', array( $this, 'xl_notice_variable' ), 11 );
//add_action( 'admin_enqueue_scripts', array( $this, 'notice_enqueue_scripts' ) );
//add_action( 'wp_ajax_nextmove_upsells_dismiss', array( $this, 'xl_dismiss_notice' ) ); //add_action( 'admin_notices', array( $this, 'xl_christmas_sale_notice' ), 10 );
//add_action( 'admin_notices', array( $this, 'xl_bfcm_sale_notice' ), 10 );
//add_action( 'admin_notices', array( $this, 'xl_pre_black_friday_sale_notice' ), 10 );
//add_action( 'admin_notices', array( $this, 'xl_halloween_sale_notice' ), 10 );
//add_action( 'admin_notices', array( $this, 'xl_upsells_notice_html_finale' ), 10 );
// add_action( 'admin_notices', array( $this, 'xl_upsells_notice_html_nextmove' ), 10 );
// add_action( 'admin_notices', array( $this, 'xl_upsells_notice_html_autonami' ), 10 );
// add_action( 'admin_notices', array( $this, 'xl_upsells_notice_js' ), 20 );
}You will have to redo upon update, but plugin hasn’t been updated in 5 months so it’s not too often.
Regardless of that if you enjoy the plugin please make sure to support the creators, it’s a great one and I’ve personally been using it for over half a decade. On some of our projects we have the pro version and it’s awesome, but the one where we have the free plugin (and forever upsell pop-up) is in it’s very early stages.
- You must be logged in to reply to this topic.