PluginProbe
Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together & More for WooCommerce – Merchant / 2.3.2
Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together & More for WooCommerce – Merchant v2.3.2
2.3.2 2.3.1 2.3.0 2.2.8 2.2.7 trunk 1.10.0 1.10.1 1.10.2 1.10.3 1.10.4 1.10.5 1.11.0 1.11.1 1.11.2 1.6 1.7 1.8 1.8.1 1.8.2 1.8.3 1.9.0 1.9.1 1.9.10 1.9.11 All 60 releases
← All changes | merchant.php +9 -17 1.11.12.3.2 View file →
@@ -1,10 +1,10 @@
1 1 <?php
2 2 /**
3 3 * Plugin Name: Merchant
4 4 * Plugin URI: https://athemes.com/merchant
5 - * Description: All-in-one plugin designed to help you grow your WooCommerce store. Pre-orders, Buy Now buttons, product labels, trust badges, payment logos, and more.
6 - * Version: 1.11.1
5 + * Description: All-in-one WooCommerce plugin for pre-orders, product labels, buy now, quick view, discount rules and more.
6 + * Version: 2.3.2
7 7 * Author: aThemes
8 8 * Author URI: https://athemes.com
9 9 * License: GPLv3 or later License
10 10 * License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -9,11 +9,12 @@
9 9 * License: GPLv3 or later License
10 10 * License URI: http://www.gnu.org/licenses/gpl-3.0.html
11 11 * Text Domain: merchant
12 12 * Domain Path: /languages
13 + * Requires PHP: 7.4
13 14 *
14 15 * WC requires at least: 6.0
15 - * WC tested up to: 9.4.1
16 + * WC tested up to: 11.0.0
16 17 *
17 18 * @package Merchant
18 19 * @since 1.0
19 20 */
@@ -23,10 +24,10 @@
23 24 exit;
24 25 }
25 26
26 27 // Merchant constants.
27 -define( 'MERCHANT_VERSION', '1.11.1' );
28 -define( 'MERCHANT_DB_VERSION', '1.0.0' ); // Update only when the database structure changes. In inc/classes/class-merchant-db-tables.php
28 +define( 'MERCHANT_VERSION', '2.3.2' );
29 +define( 'MERCHANT_DB_VERSION', '1.2.0' ); // Update only when the database structure changes. In inc/classes/class-merchant-db-tables.php
29 30 define( 'MERCHANT_FILE', __FILE__ );
30 31 define( 'MERCHANT_BASE', trailingslashit( plugin_basename( MERCHANT_FILE ) ) );
31 32 define( 'MERCHANT_DIR', trailingslashit( plugin_dir_path( MERCHANT_FILE ) ) );
32 33 define( 'MERCHANT_URI', trailingslashit( plugins_url( '/', MERCHANT_FILE ) ) );
@@ -60,17 +61,8 @@
60 61 *
61 62 */
62 63 public function __construct() {
63 64
64 - // aThemes White Label Compatibility.
65 - if ( function_exists( 'athemes_wl_get_data' ) ) {
66 - $merchant_awl_data = athemes_wl_get_data();
67 -
68 - if ( ! empty( $merchant_awl_data[ 'activate_white_label' ] ) ) {
69 - define( 'MERCHANT_AWL_ACTIVE', true );
70 - }
71 - }
72 -
73 65 // Translation.
74 66 add_action( 'init', array( $this, 'translation' ) );
75 67
76 68 // Declare WooCommerce HPOS Compatibility.
@@ -79,12 +71,12 @@
79 71 \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', __FILE__, true );
80 72 }
81 73 } );
82 74
83 - // Declare incompatibility with Woo 8.3.0+ cart and checkout blocks.
75 + // Declare compatibility with Woo cart and checkout blocks.
84 76 add_action( 'before_woocommerce_init', function() {
85 77 if ( class_exists( '\Automattic\WooCommerce\Utilities\FeaturesUtil' ) ) {
86 - \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'cart_checkout_blocks', __FILE__, false );
78 + \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'cart_checkout_blocks', __FILE__, true );
87 79 }
88 80 } );
89 81
90 82 // Load the plugin functionality.
@@ -114,5 +106,5 @@
114 106
115 107 /**
116 108 * Run the plugin.
117 109 */
118 -Merchant::instance();
110 +Merchant::instance();