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 +9 -2 51.1.4451.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.
@@ -103,9 +103,14 @@
103 103 {
104 104 return ['woocommerce', 'compare', 'table', 'product'];
105 105 }
106 106
107 - /**
107 + public function get_custom_help_url()
108 + {
109 + return 'mailto:bug@kingaddons.com?subject=Bug Report - King Addons&body=Please describe the issue';
110 + }
111 +
112 + /**
108 113 * Register controls.
109 114 *
110 115 * @return void
111 116 */
@@ -142,8 +147,9 @@
142 147 */
143 148 public function render(): void
144 149 {
145 150 if (!class_exists('\WooCommerce')) {
151 + Core::renderEditorHint(esc_html__('Compare Table needs WooCommerce to be active.', 'king-addons'));
146 152 return;
147 153 }
148 154
149 155 $settings = $this->get_settings_for_display();
@@ -149,8 +155,9 @@
149 155 $settings = $this->get_settings_for_display();
150 156 $products = $this->get_products($settings);
151 157
152 158 if (empty($products)) {
159 + Core::renderEditorHint(esc_html__('Choose products (or a category) in the Content tab to build the comparison.', 'king-addons'));
153 160 return;
154 161 }
155 162
156 163 $rows = $this->get_rows_config($settings);