PluginProbe ʕ •ᴥ•ʔ
ShopEngine Elementor WooCommerce Builder Addon – All in One WooCommerce Solution / 3.1.0
ShopEngine Elementor WooCommerce Builder Addon – All in One WooCommerce Solution v3.1.0
4.9.1 4.9.0 2.0.0 2.1.0 2.2.0 2.2.1 2.2.2 2.3.0 2.4.0 2.5.0 2.5.1 3.0.0 3.1.0 3.1.1 4.0.0 4.0.1 4.1.0 4.1.1 4.2.0 4.2.1 4.3.0 4.3.1 4.4.0 4.5.0 4.5.1 4.6.0 4.6.1 4.6.2 4.6.3 4.6.4 4.6.5 4.6.6 4.6.7 4.6.8 4.6.9 4.7.0 4.7.1 4.7.2 4.7.3 4.7.4 4.7.5 4.7.6 4.7.7 4.7.8 4.7.9 4.8.0 4.8.1 4.8.2 4.8.3 4.8.4 4.8.5 4.8.6 4.8.7 4.8.8 4.8.9 trunk 0.1.2-beta 0.1.3-beta 0.1.4-beta 1.0.0 1.1.0 1.1.1 1.1.2 1.1.3 1.2.0 1.2.1 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.4.0 1.4.1 1.5.0 1.5.1 1.6.0 1.6.1 1.7.0 1.8.0 1.8.1 1.9.0
shopengine / core / register / widget-list.php
shopengine / core / register Last commit date
base.php 3 years ago model.php 3 years ago module-list.php 3 years ago widget-list.php 3 years ago
widget-list.php
401 lines
1 <?php
2
3 namespace ShopEngine\Core\Register;
4
5 defined('ABSPATH') || exit;
6
7 class Widget_List extends \ShopEngine\Base\List_Model {
8
9 use \ShopEngine\Traits\Singleton;
10
11 protected $list_type = 'widgets';
12 protected $generate_base_class = true;
13
14 protected function raw_list() {
15 return array_merge( [
16 'additional-information' => [
17 'slug' => 'additional-information',
18 'title' => esc_html__('Additional Information', 'shopengine'),
19 'package' => 'free',
20 ],
21 'add-to-cart' => [
22 'slug' => 'add-to-cart',
23 'title' => esc_html__('Add To Cart', 'shopengine'),
24 'package' => 'free',
25 ],
26 'archive-description' => [
27 'slug' => 'archive-description',
28 'title' => esc_html__('Archive Description', 'shopengine'),
29 'package' => 'free',
30 ],
31 'archive-products' => [
32 'slug' => 'archive-products',
33 'title' => esc_html__('Archive Products', 'shopengine'),
34 'package' => 'free',
35 ],
36 'archive-title' => [
37 'slug' => 'archive-title',
38 'title' => esc_html__('Archive Title', 'shopengine'),
39 'package' => 'free',
40 ],
41 'archive-result-count' => [
42 'slug' => 'archive-result-count',
43 'title' => esc_html__('Archive Result Count', 'shopengine'),
44 'package' => 'free',
45 ],
46 'archive-view-mode' => [
47 'slug' => 'archive-view-mode',
48 'title' => esc_html__('Archive View Mode', 'shopengine'),
49 'package' => 'free',
50 ],
51 'filter-orderby' => [
52 'slug' => 'filter-orderby',
53 'title' => esc_html__('Order By Filter', 'shopengine'),
54 'package' => 'free',
55 ],
56 'filter-products-per-page' => [
57 'slug' => 'filter-products-per-page',
58 'title' => esc_html__('Products Per Page Filter', 'shopengine'),
59 'package' => 'free',
60 ],
61 'breadcrumbs' => [
62 'slug' => 'breadcrumbs',
63 'title' => esc_html__('Breadcrumbs', 'shopengine'),
64 'package' => 'free',
65 ],
66 'cart-table' => [
67 'slug' => 'cart-table',
68 'title' => esc_html__('Cart Table', 'shopengine'),
69 'package' => 'free',
70 ],
71 'cart-totals' => [
72 'slug' => 'cart-totals',
73 'title' => esc_html__('Cart Total', 'shopengine'),
74 'package' => 'free',
75 ],
76 'checkout-coupon-form' => [
77 'slug' => 'checkout-coupon-form',
78 'title' => esc_html__('Checkout Form-Coupon', 'shopengine'),
79 'package' => 'free',
80 ],
81 'checkout-form-additional' => [
82 'slug' => 'checkout-form-additional',
83 'title' => esc_html__('Checkout Form - Additional', 'shopengine'),
84 'package' => 'free',
85 ],
86 'checkout-form-billing' => [
87 'slug' => 'checkout-form-billing',
88 'title' => esc_html__('Checkout Form - Billing', 'shopengine'),
89 'package' => 'free',
90 ],
91 'checkout-form-shipping' => [
92 'slug' => 'checkout-form-shipping',
93 'title' => esc_html__('Checkout Form - Shipping', 'shopengine'),
94 'package' => 'free',
95 ],
96 'checkout-payment' => [
97 'slug' => 'checkout-payment',
98 'title' => esc_html__('Checkout Payment', 'shopengine'),
99 'package' => 'free',
100 ],
101 'checkout-review-order' => [
102 'slug' => 'checkout-review-order',
103 'title' => esc_html__('Order Review', 'shopengine'),
104 'package' => 'free',
105 ],
106 'checkout-shipping-methods' => [
107 'slug' => 'checkout-shipping-methods',
108 'title' => esc_html__('Checkout Shipping Methods', 'shopengine'),
109 'package' => 'free',
110 ],
111 'cross-sells' => [
112 'slug' => 'cross-sells',
113 'title' => esc_html__('Cross-Sell', 'shopengine'),
114 'package' => 'free',
115 ],
116 'product-categories' => [
117 'slug' => 'product-categories',
118 'title' => esc_html__('Product Categories', 'shopengine'),
119 'package' => 'free',
120 ],
121 'product-description' => [
122 'slug' => 'product-description',
123 'title' => esc_html__('Product Description', 'shopengine'),
124 'package' => 'free',
125 ],
126 'product-excerpt' => [
127 'slug' => 'product-excerpt',
128 'title' => esc_html__('Product Excerpt', 'shopengine'),
129 'package' => 'free',
130 ],
131 'product-image' => [
132 'slug' => 'product-image',
133 'title' => esc_html__('Product Image', 'shopengine'),
134 'package' => 'free',
135 ],
136 'product-meta' => [
137 'slug' => 'product-meta',
138 'title' => esc_html__('Product Meta', 'shopengine'),
139 'package' => 'free',
140 ],
141 'product-price' => [
142 'slug' => 'product-price',
143 'title' => esc_html__('Product Price', 'shopengine'),
144 'package' => 'free',
145 ],
146 'product-review' => [
147 'slug' => 'product-review',
148 'title' => esc_html__('Product Review', 'shopengine'),
149 'package' => 'free',
150 ],
151 'product-share' => [
152 'slug' => 'product-share',
153 'title' => esc_html__('Product Share', 'shopengine'),
154 'package' => 'free',
155 ],
156 'product-sku' => [
157 'slug' => 'product-sku',
158 'title' => esc_html__('Product SKU', 'shopengine'),
159 'package' => 'free',
160 ],
161 'product-stock' => [
162 'slug' => 'product-stock',
163 'title' => esc_html__('Product Stock', 'shopengine'),
164 'package' => 'free',
165 ],
166 'product-tabs' => [
167 'slug' => 'product-tabs',
168 'title' => esc_html__('Product Tabs', 'shopengine'),
169 'package' => 'free',
170 ],
171 'product-tags' => [
172 'slug' => 'product-tags',
173 'title' => esc_html__('Product Tags', 'shopengine'),
174 'package' => 'free',
175 ],
176 'product-title' => [
177 'slug' => 'product-title',
178 'title' => esc_html__('Product Title', 'shopengine'),
179 'package' => 'free',
180 ],
181 'product-rating' => [
182 'slug' => 'product-rating',
183 'title' => esc_html__('Rating', 'shopengine'),
184 'package' => 'free',
185 ],
186 'related' => [
187 'slug' => 'related',
188 'title' => esc_html__('Related Product', 'shopengine'),
189 'package' => 'free',
190 ],
191 'return-to-shop' => [
192 'slug' => 'return-to-shop',
193 'title' => esc_html__('Return To Shop', 'shopengine'),
194 'package' => 'free',
195 ],
196 'up-sells' => [
197 'slug' => 'up-sells',
198 'title' => esc_html__('Upsell', 'shopengine'),
199 'package' => 'free',
200 ],
201 'advanced-search' => [
202 'slug' => 'advanced-search',
203 'title' => esc_html__('Advanced Search', 'shopengine'),
204 'package' => 'free',
205 ],
206 'deal-products' => [
207 'slug' => 'deal-products',
208 'title' => esc_html__('Deal Products', 'shopengine'),
209 'package' => 'free',
210 ],
211 'filterable-product-list' => [
212 'slug' => 'filterable-product-list',
213 'title' => esc_html__('Filterable Product List', 'shopengine'),
214 'package' => 'free',
215 ],
216 'product-category-lists' => [
217 'slug' => 'product-category-lists',
218 'title' => esc_html__('Product Category List', 'shopengine'),
219 'package' => 'free',
220 ],
221 'product-list' => [
222 'slug' => 'product-list',
223 'title' => esc_html__('Product List', 'shopengine'),
224 'package' => 'free',
225 ],
226 'recently-viewed-products' => [
227 'slug' => 'recently-viewed-products',
228 'title' => esc_html__('Recently Viewed Products', 'shopengine'),
229 'package' => 'free',
230 ],
231 'view-single-product' => [
232 'slug' => 'view-single-product',
233 'title' => esc_html__('View Single Product', 'shopengine'),
234 'package' => 'free',
235 ],
236 'notice' => [
237 'slug' => 'notice',
238 'title' => esc_html__('Notice', 'shopengine'),
239 'package' => 'free',
240 ],
241 'checkout-form-login' => [
242 'slug' => 'checkout-form-login',
243 'title' => esc_html__('Checkout form login', 'shopengine'),
244 'package' => 'free'
245 ]
246 ],
247 $this->pro_list_for_free()
248 );
249 }
250
251
252 private function pro_list_for_free(){
253
254 if( class_exists('ShopEngine_Pro') ){
255 return [];
256 }
257
258 return [
259
260 'account-dashboard' => [
261 'slug' => 'account-dashboard',
262 'title' => esc_html__( 'Account Dashboard', 'shopengine' ),
263 'package' => 'pro-disabled',
264 'categories' => ['shopengine-my_account'],
265 ],
266 'account-address' => [
267 'slug' => 'account-address',
268 'title' => esc_html__( 'Account Address', 'shopengine' ),
269 'package' => 'pro-disabled',
270 'categories' => ['shopengine-my_account'],
271 ],
272 'account-details' => [
273 'slug' => 'account-details',
274 'title' => esc_html__( 'Account Details', 'shopengine' ),
275 'package' => 'pro-disabled',
276 'categories' => ['shopengine-my_account'],
277 ],
278 'account-downloads' => [
279 'slug' => 'account-downloads',
280 'title' => esc_html__( 'Account Downloads', 'shopengine' ),
281 'package' => 'pro-disabled',
282 'categories' => ['shopengine-my_account'],
283 ],
284 'account-form-login' => [
285 'slug' => 'account-form-login',
286 'title' => esc_html__( 'Account Form - Login', 'shopengine' ),
287 'package' => 'pro-disabled',
288 'categories' => ['shopengine-my_account'],
289 ],
290 'account-form-register' => [
291 'slug' => 'account-form-register',
292 'title' => esc_html__( 'Account Form - Register', 'shopengine' ),
293 'package' => 'pro-disabled',
294 'categories' => ['shopengine-my_account'],
295 ],
296 'account-logout' => [
297 'slug' => 'account-logout',
298 'title' => esc_html__( 'Account Logout', 'shopengine' ),
299 'package' => 'pro-disabled',
300 'categories' => ['shopengine-my_account'],
301 ],
302 'account-navigation' => [
303 'slug' => 'account-navigation',
304 'title' => esc_html__( 'Account Navigation', 'shopengine' ),
305 'package' => 'pro-disabled',
306 'categories' => ['shopengine-my_account'],
307 ],
308 'account-order-details' => [
309 'slug' => 'account-order-details',
310 'title' => esc_html__( 'Account Order - Details', 'shopengine' ),
311 'package' => 'pro-disabled',
312 'categories' => ['shopengine-my_account'],
313 ],
314 'account-orders' => [
315 'slug' => 'account-orders',
316 'title' => esc_html__( 'Account Orders', 'shopengine' ),
317 'package' => 'pro-disabled',
318 'categories' => ['shopengine-my_account'],
319 ],
320 'categories' => [
321 'slug' => 'categories',
322 'title' => esc_html__( 'Categories', 'shopengine' ),
323 'package' => 'pro-disabled',
324 'categories' => ['shopengine-general'],
325 ],
326 'product-filters' => [
327 'slug' => 'product-filters',
328 'title' => esc_html__( 'Product Filters', 'shopengine' ),
329 'package' => 'pro-disabled',
330 'categories' => ['shopengine-archive'],
331 ],
332 'thankyou-address-details' => [
333 'slug' => 'thankyou-address-details',
334 'title' => esc_html__( 'Thank You Address Details', 'shopengine' ),
335 'package' => 'pro-disabled',
336 'categories' => ['shopengine-order'],
337 ],
338 'thankyou-order-confirm' => [
339 'slug' => 'thankyou-order-confirm',
340 'title' => esc_html__( 'Order Confirm', 'shopengine' ),
341 'package' => 'pro-disabled',
342 'categories' => ['shopengine-order'],
343 ],
344 'thankyou-order-details' => [
345 'slug' => 'thankyou-order-details',
346 'title' => esc_html__( 'Order Details', 'shopengine' ),
347 'package' => 'pro-disabled',
348 'categories' => ['shopengine-order'],
349 ],
350 'thankyou-thankyou' => [
351 'slug' => 'thankyou-thankyou',
352 'title' => esc_html__( 'Order Thank You', 'shopengine' ),
353 'package' => 'pro-disabled',
354 'categories' => ['shopengine-order'],
355 ],
356 'currency-switcher' => [
357 'slug' => 'currency-switcher',
358 'title' => esc_html__('Currency Switcher', 'shopengine'),
359 'package' => 'pro-disabled',
360 'categories' => ['shopengine-general'],
361 ],
362 'flash-sale-products' => [
363 'slug' => 'flash-sale-products',
364 'title' => esc_html__('Flash Sale Products', 'shopengine'),
365 'package' => 'pro-disabled',
366 'categories' => ['shopengine-general'],
367 ],
368 'best-selling-product' => [
369 'slug' => 'best-selling-product',
370 'title' => esc_html__('Best Selling Product', 'shopengine'),
371 'package' => 'pro-disabled',
372 'categories' => ['shopengine-general'],
373 ],
374 'comparison-button' => [
375 'slug' => 'comparison-button',
376 'title' => esc_html__('Comparison Button', 'shopengine'),
377 'package' => 'pro-disabled',
378 'categories' => ['shopengine-general'],
379 ],
380 'product-size-charts' => [
381 'slug' => 'product-size-charts',
382 'title' => esc_html__('Product Size Chart', 'shopengine'),
383 'package' => 'pro-disabled',
384 'categories' => ['shopengine-single']
385 ],
386 'vacation' => [
387 'slug' => 'vacation',
388 'title' => esc_html__('Vacation', 'shopengine'),
389 'package' => 'pro-disabled',
390 'categories' => ['shopengine-general']
391 ],
392 'advanced-coupon' => [
393 'slug' => 'advanced-coupon',
394 'title' => esc_html__('Advanced Coupon', 'shopengine'),
395 'package' => 'pro-disabled',
396 'categories' => ['shopengine-general']
397 ]
398 ];
399 }
400 }
401