diff --git a/src/Admin/Notices.php b/src/Admin/Notices.php index d7f4d13f..74df84c2 100644 --- a/src/Admin/Notices.php +++ b/src/Admin/Notices.php @@ -45,11 +45,11 @@ public function add_notices() { 'type' => 'info', 'classes' => 'notice-alt notice-large wcsn-halloween', 'dismissible' => false, - 'id' => 'wc_serial_numbers_halloween_promotion', + 'id' => 'wcsn_halloween_promotion', 'message' => sprintf( /* translators: %1$s: link to the plugin page, %2$s: Offer content, %3$s: link to the plugin page, %4$s: end link to the plugin page */ __( '%1$s%2$s%3$s Upgrade Now and Save %4$s', 'wc-serial-numbers' ), - '
WC Serial Numbers Halloween offer
', + '
WC Serial Numbers Halloween offer
', '👻 Halloween Sale: ' . $discount_percentage . ' OFF on WC Serial Manager Pro

Grab a ' . $discount_percentage . ' discount on WC Serial Manager Pro and all our premium plugins this Halloween! Use code ‘BIGTREAT30’. Don\'t miss out!

', '', $discount_percentage . '
', @@ -61,11 +61,11 @@ public function add_notices() { 'type' => 'info', 'classes' => 'notice-alt notice-large wcsn-halloween', 'dismissible' => true, - 'id' => 'wc_serial_numbers_halloween_promotion', + 'id' => 'wcsn_halloween_promotion', 'message' => sprintf( /* translators: %1$s: link to the plugin page, %2$s: Offer content, %3$s: link to the plugin page, %4$s: end link to the plugin page */ __( '%1$s%2$s%3$s Claim your discount! %4$s', 'wc-serial-numbers' ), - '
WC Serial Numbers Halloween offer
', + '
WC Serial Numbers Halloween offer
', '👻 Halloween Sale: ' . $discount_percentage . ' OFF on All Plugins

Get ' . $discount_percentage . ' OFF on all premium plugins with code ‘BIGTREAT30’. Hurry, this deal won’t last long!

', '', '
', diff --git a/src/Plugin.php b/src/Plugin.php index 50649400..94551175 100644 --- a/src/Plugin.php +++ b/src/Plugin.php @@ -58,6 +58,7 @@ public function init_hooks() { public function on_before_woocommerce_init() { if ( class_exists( \Automattic\WooCommerce\Utilities\FeaturesUtil::class ) ) { \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', $this->get_file(), true ); + \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'cart_checkout_blocks', $this->get_file(), true ); } }