PluginProbe
King Addons for Elementor – 100+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce Builder, Mega Menu, Popup Builder / 51.1.83
King Addons for Elementor – 100+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce Builder, Mega Menu, Popup Builder v51.1.83
51.1.84 51.1.85 51.1.83 51.1.82 51.1.81 51.1.79 51.1.78 51.1.77 51.1.76 51.1.74 51.1.75 51.1.65 51.1.64 51.1.63 trunk 51.1.14 51.1.2 51.1.35 51.1.36 51.1.37 51.1.38 51.1.39 51.1.44 51.1.45 51.1.46 All 39 releases
← All changes | includes/widgets/Compare_Table/Compare_Table.php +3 -1 51.1.6451.1.83 View file →
@@ -90,9 +90,9 @@
90 90 * @return array<int, string>
91 91 */
92 92 public function get_categories(): array
93 93 {
94 - return ['king-addons'];
94 + return ['king-addons-woo'];
95 95 }
96 96
97 97 /**
98 98 * Keywords.
@@ -147,8 +147,9 @@
147 147 */
148 148 public function render(): void
149 149 {
150 150 if (!class_exists('\WooCommerce')) {
151 + Core::renderEditorHint(esc_html__('Compare Table needs WooCommerce to be active.', 'king-addons'));
151 152 return;
152 153 }
153 154
154 155 $settings = $this->get_settings_for_display();
@@ -154,8 +155,9 @@
154 155 $settings = $this->get_settings_for_display();
155 156 $products = $this->get_products($settings);
156 157
157 158 if (empty($products)) {
159 + Core::renderEditorHint(esc_html__('Choose products (or a category) in the Content tab to build the comparison.', 'king-addons'));
158 160 return;
159 161 }
160 162
161 163 $rows = $this->get_rows_config($settings);