diff --git a/package.json b/package.json index 663632a6..175744c5 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "wc-serial-numbers", "title": "WC Serial Numbers", - "version": "2.0.7", + "version": "2.0.8", "description": "Sell and manage license keys/ serial numbers/ secret keys easily within your WooCommerce store.", "homepage": "https://pluginever.com/plugins/woocommerce-serial-numbers-pro/", "license": "GPL v2 or later", diff --git a/readme.txt b/readme.txt index 8524178b..86fbcfd9 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: license, license manager, serial number, serial key, woocommerce Requires at least: 5.0 Tested up to: 6.6 Requires PHP: 7.4 -Stable tag: 2.0.7 +Stable tag: 2.0.8 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -251,6 +251,10 @@ Yes, you are always welcome to [provide suggestions](https://github.com/pluginev 9. Thank You Page with Keys == Changelog == += 2.0.8 (24th Oct 2024) = +* Enhance: Add WC cart checkout block compatibility. +* Fix: Few known issues fixed. + = 2.0.6 (07 Oct 2024) = * Enhance: Update the Key Model to enable more precise key queries, enhancing performance and accuracy. 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 ); } } diff --git a/wc-serial-numbers.php b/wc-serial-numbers.php index 9695dd91..0879fb37 100644 --- a/wc-serial-numbers.php +++ b/wc-serial-numbers.php @@ -3,7 +3,7 @@ * Plugin Name: WC Serial Numbers * Plugin URI: https://pluginever.com/plugins/wocommerce-serial-numbers-pro/ * Description: Sell and manage license keys/ serial numbers/ secret keys easily within your WooCommerce store. - * Version: 2.0.7 + * Version: 2.0.8 * Requires at least: 5.0 * Requires PHP: 7.4 * Author: PluginEver