PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 3.2.5
ShopBuilder – WooCommerce Builder For Elementor v3.2.5
3.4.2 3.4.1 3.4.0 2.0.1 2.0.2 2.0.3 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2.0 2.2.1 2.2.2 All 63 releases
← All changes | app/Models/ElementList.php +411 -39 2.1.103.2.5 View file →
@@ -11,9 +11,8 @@
11 11 use RadiusTheme\SB\Elementor\Widgets\Cart;
12 12 use RadiusTheme\SB\Elementor\Widgets\Checkout;
13 13 use RadiusTheme\SB\Elementor\Widgets\General;
14 14 use RadiusTheme\SB\Elementor\Widgets\Single;
15 -use RadiusTheme\SB\Helpers\Fns;
16 15 use RadiusTheme\SB\Models\Base\ListModel;
17 16 use RadiusTheme\SB\Traits\SingletonTrait;
18 17 use RadiusTheme\SBPRO\Elementor\Widgets\Checkout as CheckoutPro;
19 18
@@ -88,8 +87,9 @@
88 87 + $this->shop_archive_page_widget_list()
89 88 + $this->cart_page_widget_list()
90 89 + $this->checkout_page_widget_list()
91 90 + $this->thankyou_page_widget_list()
91 + + $this->orderpay_page_widget_list()
92 92 + $this->my_account_page_widget_list()
93 93 + $this->myaccount_auth_page_widget_list();
94 94
95 95 return apply_filters( 'rtsb/core/elements/raw_list', $list );
@@ -125,9 +125,8 @@
125 125 'package' => 'free',
126 126 'fields' => [],
127 127 ]
128 128 ),
129 -
130 129 'products_slider' => apply_filters(
131 130 'rtsb/elements/products_slider/options',
132 131 [
133 132 'id' => 'products_slider',
@@ -138,9 +137,19 @@
138 137 'package' => 'free',
139 138 'fields' => [],
140 139 ]
141 140 ),
142 -
141 + 'highlighted_product' => apply_filters(
142 + 'rtsb/elements/highlighted_product/options',
143 + [
144 + 'id' => 'highlighted_product',
145 + 'title' => esc_html__( 'Highlighted Product', 'shopbuilder' ),
146 + 'category' => 'general',
147 + 'active' => '',
148 + 'package' => $this->pro_package(),
149 + 'fields' => [],
150 + ]
151 + ),
143 152 'products_single_cateogory' => apply_filters(
144 153 'rtsb/elements/products_single_cateogory/options',
145 154 [
146 155 'id' => 'products_single_cateogory',
@@ -163,8 +172,31 @@
163 172 'package' => 'free',
164 173 'fields' => [],
165 174 ]
166 175 ),
176 + 'product_lookbook' => apply_filters(
177 + 'rtsb/elements/product_lookbook/options',
178 + [
179 + 'id' => 'product_lookbook',
180 + 'title' => esc_html__( 'Product LookBook', 'shopbuilder' ),
181 + 'category' => 'general',
182 + 'active' => '',
183 + 'package' => $this->pro_package(),
184 + 'fields' => [],
185 + ]
186 + ),
187 + 'rtsb_wishlist' => apply_filters(
188 + 'rtsb/elements/rtsb_wishlist/options',
189 + [
190 + 'id' => 'rtsb_wishlist',
191 + 'title' => esc_html__( 'Wishlist Table', 'shopbuilder' ),
192 + 'base_class' => General\Wishlist::class,
193 + 'category' => 'general',
194 + 'active' => 'on',
195 + 'package' => 'free',
196 + 'fields' => [],
197 + ]
198 + ),
167 199 'social_share' => apply_filters(
168 200 'rtsb/elements/social_share/options',
169 201 [
170 202 'id' => 'social_share',
@@ -199,14 +231,14 @@
199 231 'package' => 'free',
200 232 'fields' => [],
201 233 ]
202 234 ),
203 - 'rtsb_wishlist' => apply_filters(
204 - 'rtsb/elements/rtsb_wishlist/options',
235 + 'advanced_heading' => apply_filters(
236 + 'rtsb/elements/advanced_heading/options',
205 237 [
206 - 'id' => 'rtsb_wishlist',
207 - 'title' => esc_html__( 'Wishlist Table', 'shopbuilder' ),
208 - 'base_class' => General\Wishlist::class,
238 + 'id' => 'advanced_heading',
239 + 'title' => esc_html__( 'Advanced Heading', 'shopbuilder' ),
240 + 'base_class' => General\AdvancedHeading\AdvancedHeading::class,
209 241 'category' => 'general',
210 242 'active' => 'on',
211 243 'package' => 'free',
212 244 'fields' => [],
@@ -211,13 +243,85 @@
211 243 'package' => 'free',
212 244 'fields' => [],
213 245 ]
214 246 ),
215 - 'highlighted_product' => apply_filters(
216 - 'rtsb/elements/highlighted_product/options',
247 + 'dropcaps' => apply_filters(
248 + 'rtsb/elements/dropcaps/options',
217 249 [
218 - 'id' => 'highlighted_product',
219 - 'title' => esc_html__( 'Highlighted Product', 'shopbuilder' ),
250 + 'id' => 'dropcaps',
251 + 'title' => esc_html__( 'Dropcaps', 'shopbuilder' ),
252 + 'base_class' => General\DropCaps\DropCaps::class,
253 + 'category' => 'general',
254 + 'active' => 'on',
255 + 'package' => 'free',
256 + 'fields' => [],
257 + ]
258 + ),
259 + 'shopbuilder_button' => apply_filters(
260 + 'rtsb/elements/shopbuilder_button/options',
261 + [
262 + 'id' => 'shopbuilder_button',
263 + 'title' => esc_html__( 'Advanced Button', 'shopbuilder' ),
264 + 'base_class' => General\ShopBuilderButton\ShopBuilderButton::class,
265 + 'category' => 'general',
266 + 'active' => 'on',
267 + 'package' => 'free',
268 + 'fields' => [],
269 + ]
270 + ),
271 + 'shopbuilder_cta' => apply_filters(
272 + 'rtsb/elements/shopbuilder_cta/options',
273 + [
274 + 'id' => 'shopbuilder_cta',
275 + 'title' => esc_html__( 'Call To Action', 'shopbuilder' ),
276 + 'base_class' => General\CallToAction\CallToAction::class,
277 + 'category' => 'general',
278 + 'active' => 'on',
279 + 'package' => 'free',
280 + 'fields' => [],
281 + ]
282 + ),
283 + 'shopbuilder_info_box' => apply_filters(
284 + 'rtsb/elements/shopbuilder_info_box/options',
285 + [
286 + 'id' => 'shopbuilder_info_box',
287 + 'title' => esc_html__( 'Info Box', 'shopbuilder' ),
288 + 'base_class' => General\InfoBox\InfoBox::class,
289 + 'category' => 'general',
290 + 'active' => 'on',
291 + 'package' => 'free',
292 + 'fields' => [],
293 + ]
294 + ),
295 + 'shopbuilder_flip_box' => apply_filters(
296 + 'rtsb/elements/shopbuilder_flip_box/options',
297 + [
298 + 'id' => 'shopbuilder_flip_box',
299 + 'title' => esc_html__( 'Flip Box', 'shopbuilder' ),
300 + 'base_class' => General\FlipBox\FlipBox::class,
301 + 'category' => 'general',
302 + 'active' => 'on',
303 + 'package' => 'free',
304 + 'fields' => [],
305 + ]
306 + ),
307 + 'shopbuilder_pricing_table' => apply_filters(
308 + 'rtsb/elements/shopbuilder_pricing_table/options',
309 + [
310 + 'id' => 'shopbuilder_pricing_table',
311 + 'title' => esc_html__( 'Pricing Table', 'shopbuilder' ),
312 + 'base_class' => General\PricingTable\PricingTable::class,
313 + 'category' => 'general',
314 + 'active' => 'on',
315 + 'package' => 'free',
316 + 'fields' => [],
317 + ]
318 + ),
319 + 'image_hotspots' => apply_filters(
320 + 'rtsb/elements/image_hotspots/options',
321 + [
322 + 'id' => 'image_hotspots',
323 + 'title' => esc_html__( 'Image Hotspots', 'shopbuilder' ),
220 324 'category' => 'general',
221 325 'active' => '',
222 326 'package' => $this->pro_package(),
223 327 'fields' => [],
@@ -222,11 +326,173 @@
222 326 'package' => $this->pro_package(),
223 327 'fields' => [],
224 328 ]
225 329 ),
226 -
330 + 'coupon_list' => apply_filters(
331 + 'rtsb/elements/coupon_list/options',
332 + [
333 + 'id' => 'coupon_list',
334 + 'title' => esc_html__( 'Coupon List', 'shopbuilder' ),
335 + 'category' => 'general',
336 + 'active' => '',
337 + 'package' => $this->pro_package(),
338 + 'fields' => [],
339 + ]
340 + ),
341 + 'hero_slider' => apply_filters(
342 + 'rtsb/elements/hero_slider/options',
343 + [
344 + 'id' => 'hero_slider',
345 + 'title' => esc_html__( 'Hero Slider', 'shopbuilder' ),
346 + 'category' => 'general',
347 + 'active' => '',
348 + 'package' => $this->pro_package(),
349 + 'fields' => [],
350 + ]
351 + ),
352 + 'shopbuilder_counter' => apply_filters(
353 + 'rtsb/elements/shopbuilder_counter/options',
354 + [
355 + 'id' => 'shopbuilder_counter',
356 + 'title' => esc_html__( 'Fun Facts', 'shopbuilder' ),
357 + 'base_class' => General\Counter\Counter::class,
358 + 'category' => 'general',
359 + 'active' => 'on',
360 + 'package' => 'free',
361 + 'fields' => [],
362 + ]
363 + ),
364 + 'shopbuilder_countdown' => apply_filters(
365 + 'rtsb/elements/shopbuilder_countdown/options',
366 + [
367 + 'id' => 'shopbuilder_countdown',
368 + 'title' => esc_html__( 'Countdown', 'shopbuilder' ),
369 + 'base_class' => General\CountDown\CountDown::class,
370 + 'category' => 'general',
371 + 'active' => 'on',
372 + 'package' => 'free',
373 + 'fields' => [],
374 + ]
375 + ),
376 + 'shopbuilder_progress_bar' => apply_filters(
377 + 'rtsb/elements/shopbuilder_progress_bar/options',
378 + [
379 + 'id' => 'shopbuilder_progress_bar',
380 + 'title' => esc_html__( 'Progress Bar', 'shopbuilder' ),
381 + 'base_class' => General\ProgressBar\ProgressBar::class,
382 + 'category' => 'general',
383 + 'active' => 'on',
384 + 'package' => 'free',
385 + 'fields' => [],
386 + ]
387 + ),
388 + 'image_accordion' => apply_filters(
389 + 'rtsb/elements/image_accordion/options',
390 + [
391 + 'id' => 'image_accordion',
392 + 'title' => esc_html__( 'Image Accordion', 'shopbuilder' ),
393 + 'base_class' => General\ImageAccordion\ImageAccordion::class,
394 + 'category' => 'general',
395 + 'active' => 'on',
396 + 'package' => 'free',
397 + 'fields' => [],
398 + ]
399 + ),
400 + 'shopbuilder_faq' => apply_filters(
401 + 'rtsb/elements/shopbuilder_faq/options',
402 + [
403 + 'id' => 'shopbuilder_faq',
404 + 'title' => esc_html__( 'FAQ', 'shopbuilder' ),
405 + 'base_class' => General\ShopBuilderFaq\ShopBuilderFaq::class,
406 + 'category' => 'general',
407 + 'active' => 'on',
408 + 'package' => 'free',
409 + 'fields' => [],
410 + ]
411 + ),
412 + 'logo_slider_and_grid' => apply_filters(
413 + 'rtsb/elements/logo_slider_and_grid/options',
414 + [
415 + 'id' => 'logo_slider_and_grid',
416 + 'title' => esc_html__( 'Logo Slider and Grid', 'shopbuilder' ),
417 + 'base_class' => General\LogoSliderAndGrid\LogoSliderAndGrid::class,
418 + 'category' => 'general',
419 + 'active' => 'on',
420 + 'package' => 'free',
421 + 'fields' => [],
422 + ]
423 + ),
424 + 'testimonial' => apply_filters(
425 + 'rtsb/elements/testimonial/options',
426 + [
427 + 'id' => 'testimonial',
428 + 'title' => esc_html__( 'Testimonials', 'shopbuilder' ),
429 + 'base_class' => General\Testimonial\Testimonial::class,
430 + 'category' => 'general',
431 + 'active' => 'on',
432 + 'package' => 'free',
433 + 'fields' => [],
434 + ]
435 + ),
436 + 'team_member' => apply_filters(
437 + 'rtsb/elements/team_member/options',
438 + [
439 + 'id' => 'team_member',
440 + 'title' => esc_html__( 'Team Members', 'shopbuilder' ),
441 + 'base_class' => General\TeamMember\TeamMember::class,
442 + 'category' => 'general',
443 + 'active' => 'on',
444 + 'package' => 'free',
445 + 'fields' => [],
446 + ]
447 + ),
448 + 'post_grid' => apply_filters(
449 + 'rtsb/elements/post_grid/options',
450 + [
451 + 'id' => 'post_grid',
452 + 'title' => esc_html__( 'Post Grid', 'shopbuilder' ),
453 + 'base_class' => General\PostGrid\PostGrid::class,
454 + 'category' => 'general',
455 + 'active' => 'on',
456 + 'package' => 'free',
457 + 'fields' => [],
458 + ]
459 + ),
460 + 'post_list' => apply_filters(
461 + 'rtsb/elements/post_list/options',
462 + [
463 + 'id' => 'post_list',
464 + 'title' => esc_html__( 'Post List', 'shopbuilder' ),
465 + 'base_class' => General\PostList\PostList::class,
466 + 'category' => 'general',
467 + 'active' => 'on',
468 + 'package' => 'free',
469 + 'fields' => [],
470 + ]
471 + ),
472 + 'advanced_ajax_search' => apply_filters(
473 + 'rtsb/elements/advanced_ajax_search/options',
474 + [
475 + 'id' => 'advanced_ajax_search',
476 + 'title' => esc_html__( 'Advanced Ajax Search', 'shopbuilder' ),
477 + 'category' => 'general',
478 + 'active' => '',
479 + 'package' => $this->pro_package(),
480 + 'fields' => [],
481 + ]
482 + ),
483 + 'save_for_buy_later' => apply_filters(
484 + 'rtsb/elements/save_for_buy_later/options',
485 + [
486 + 'id' => 'save_for_buy_later',
487 + 'title' => esc_html__( 'Saved For Buy Later', 'shopbuilder' ),
488 + 'category' => 'general',
489 + 'active' => '',
490 + 'package' => $this->pro_package(),
491 + 'fields' => [],
492 + ]
493 + ),
227 494 ];
228 -
229 495 return apply_filters( 'rtsb/core/elements/general/widget_list', $list );
230 496 }
231 497
232 498 /**
@@ -506,8 +772,19 @@
506 772 'package' => $this->pro_package(),
507 773 'fields' => [],
508 774 ]
509 775 ),
776 + 'product_qr_code' => apply_filters(
777 + 'rtsb/elements/product_qr_code/options',
778 + [
779 + 'id' => 'product_qr_code',
780 + 'title' => esc_html__( 'QR Code', 'shopbuilder' ),
781 + 'category' => 'product',
782 + 'active' => '',
783 + 'package' => $this->pro_package(),
784 + 'fields' => [],
785 + ]
786 + ),
510 787 'product_reviews' => apply_filters(
511 788 'rtsb/elements/product_reviews/options',
512 789 [
513 790 'id' => 'product_reviews',
@@ -924,8 +1201,20 @@
924 1201 'package' => $this->pro_package(),
925 1202 'fields' => [],
926 1203 ]
927 1204 ),
1205 + 'product_filters' => apply_filters(
1206 + 'rtsb/elements/product_filters/options',
1207 + [
1208 + 'id' => 'product_filters',
1209 + 'title' => esc_html__( 'Product Filters', 'shopbuilder' ),
1210 + 'base_class' => Archive\ProductFilters::class,
1211 + 'category' => 'shop',
1212 + 'active' => 'on',
1213 + 'package' => 'free',
1214 + 'fields' => [],
1215 + ]
1216 + ),
928 1217
929 1218 'archive_result_count' => apply_filters(
930 1219 'rtsb/elements/archive_result_count/options',
931 1220 [
@@ -1044,8 +1333,20 @@
1044 1333 'package' => 'free',
1045 1334 'fields' => [],
1046 1335 ]
1047 1336 ),
1337 + 'save_for_later_preview' => apply_filters(
1338 + 'rtsb/elements/save_for_later_preview/options',
1339 + [
1340 + 'id' => 'save_for_later_preview',
1341 + 'title' => esc_html__( 'Save For Later Preview', 'shopbuilder' ),
1342 + 'base_class' => Cart\SaveForLaterPreview::class,
1343 + 'category' => 'cart',
1344 + 'active' => 'on',
1345 + 'package' => $this->pro_package(),
1346 + 'fields' => [],
1347 + ]
1348 + ),
1048 1349 ];
1049 1350
1050 1351 return apply_filters( 'rtsb/core/elements/cart/widget_list', $list );
1051 1352 }
@@ -1177,9 +1478,9 @@
1177 1478 * @return array
1178 1479 */
1179 1480 protected function thankyou_page_widget_list() {
1180 1481 return [
1181 - 'order_received_text' => apply_filters(
1482 + 'order_received_text' => apply_filters(
1182 1483 'rtsb/elements/order_received_text/options',
1183 1484 [
1184 1485 'id' => 'order_received_text',
1185 1486 'title' => esc_html__( 'Order Received Text', 'shopbuilder' ),
@@ -1189,9 +1490,9 @@
1189 1490 'package' => $this->pro_package(),
1190 1491 'fields' => [],
1191 1492 ]
1192 1493 ),
1193 - 'order_details_summary' => apply_filters(
1494 + 'order_details_summary' => apply_filters(
1194 1495 'rtsb/elements/order_details_summary/options',
1195 1496 [
1196 1497 'id' => 'order_details_summary',
1197 1498 'title' => esc_html__( 'Order Details Summary', 'shopbuilder' ),
@@ -1201,9 +1502,9 @@
1201 1502 'package' => $this->pro_package(),
1202 1503 'fields' => [],
1203 1504 ]
1204 1505 ),
1205 - 'order_details_table' => apply_filters(
1506 + 'order_details_table' => apply_filters(
1206 1507 'rtsb/elements/order_details_table/options',
1207 1508 [
1208 1509 'id' => 'order_details_table',
1209 1510 'title' => esc_html__( 'Order Details Table', 'shopbuilder' ),
@@ -1213,9 +1514,9 @@
1213 1514 'package' => $this->pro_package(),
1214 1515 'fields' => [],
1215 1516 ]
1216 1517 ),
1217 - 'downloadable_products' => apply_filters(
1518 + 'downloadable_products' => apply_filters(
1218 1519 'rtsb/elements/downloadable_products/options',
1219 1520 [
1220 1521 'id' => 'downloadable_products',
1221 1522 'title' => esc_html__( 'Downloadable Products', 'shopbuilder' ),
@@ -1225,9 +1526,9 @@
1225 1526 'package' => $this->pro_package(),
1226 1527 'fields' => [],
1227 1528 ]
1228 1529 ),
1229 - 'order_billing_address' => apply_filters(
1530 + 'order_billing_address' => apply_filters(
1230 1531 'rtsb/elements/order_billing_address/options',
1231 1532 [
1232 1533 'id' => 'order_billing_address',
1233 1534 'title' => esc_html__( 'Order Billing Address', 'shopbuilder' ),
@@ -1237,9 +1538,9 @@
1237 1538 'package' => $this->pro_package(),
1238 1539 'fields' => [],
1239 1540 ]
1240 1541 ),
1241 - 'order_shipping_address' => apply_filters(
1542 + 'order_shipping_address' => apply_filters(
1242 1543 'rtsb/elements/order_shipping_address/options',
1243 1544 [
1244 1545 'id' => 'order_shipping_address',
1245 1546 'title' => esc_html__( 'Order Shipping Address', 'shopbuilder' ),
@@ -1249,11 +1550,45 @@
1249 1550 'package' => $this->pro_package(),
1250 1551 'fields' => [],
1251 1552 ]
1252 1553 ),
1554 + 'order_custom_fields_data' => apply_filters(
1555 + 'rtsb/elements/order_custom_fields_data/options',
1556 + [
1557 + 'id' => 'order_custom_fields_data',
1558 + 'title' => esc_html__( 'Checkout Form Custom Fields Data', 'shopbuilder' ),
1559 + 'category' => 'thank_you',
1560 + 'is_front_page' => 'thank_you',
1561 + 'active' => 'on',
1562 + 'package' => $this->pro_package(),
1563 + 'fields' => [],
1564 + ]
1565 + ),
1253 1566 ];
1254 1567 }
1568 + /**
1569 + * Checkout Page Order Pay Widget List.
1570 + *
1571 + * @return array
1572 + */
1573 + protected function orderpay_page_widget_list() {
1574 + return [
1575 + 'order_pay_form' => apply_filters(
1576 + 'rtsb/elements/order_pay_form/options',
1577 + [
1578 + 'id' => 'order_pay_form',
1579 + 'title' => esc_html__( 'Order Pay Form', 'shopbuilder' ),
1580 + 'category' => 'myaccount_dashboard',
1581 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1582 + 'active' => 'on',
1583 + 'package' => $this->pro_package(),
1584 + 'fields' => [],
1585 + ]
1586 + ),
1255 1587
1588 + ];
1589 + }
1590 +
1256 1591 /**
1257 1592 * Checkout Page Widget List.
1258 1593 *
1259 1594 * @return array
@@ -1258,10 +1593,21 @@
1258 1593 *
1259 1594 * @return array
1260 1595 */
1261 1596 protected function my_account_page_widget_list() {
1262 - return [
1263 -
1597 + $widgets = [
1598 + 'account_avatar' => apply_filters(
1599 + 'rtsb/elements/account_avatar/options',
1600 + [
1601 + 'id' => 'account_avatar',
1602 + 'title' => esc_html__( 'Account Avatar', 'shopbuilder' ),
1603 + 'category' => 'myaccount_dashboard',
1604 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1605 + 'active' => 'on',
1606 + 'package' => $this->pro_package(),
1607 + 'fields' => [],
1608 + ]
1609 + ),
1264 1610 'account_navigation_edit_shipping' => apply_filters(
1265 1611 'rtsb/elements/account_navigation_edit_shipping/options',
1266 1612 [
1267 1613 'id' => 'account_navigation_edit_shipping',
@@ -1278,9 +1624,9 @@
1278 1624 [
1279 1625 'id' => 'account_dashboard',
1280 1626 'title' => esc_html__( 'Account Dashboard', 'shopbuilder' ),
1281 1627 'category' => 'myaccount_dashboard',
1282 - 'is_front_page' => 'myaccount_dashboard',
1628 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1283 1629 'active' => 'on',
1284 1630 'package' => $this->pro_package(),
1285 1631 'fields' => [],
1286 1632 ]
@@ -1290,9 +1636,9 @@
1290 1636 [
1291 1637 'id' => 'account_orders',
1292 1638 'title' => esc_html__( 'Account Orders', 'shopbuilder' ),
1293 1639 'category' => 'myaccount_dashboard',
1294 - 'is_front_page' => 'myaccount_order',
1640 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1295 1641 'active' => 'on',
1296 1642 'package' => $this->pro_package(),
1297 1643 'fields' => [],
1298 1644 ]
@@ -1302,9 +1648,9 @@
1302 1648 [
1303 1649 'id' => 'account_downloads',
1304 1650 'title' => esc_html__( 'Account Downloads', 'shopbuilder' ),
1305 1651 'category' => 'myaccount_dashboard',
1306 - 'is_front_page' => 'myaccount_downloads',
1652 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1307 1653 'active' => 'on',
1308 1654 'package' => $this->pro_package(),
1309 1655 'fields' => [],
1310 1656 ]
@@ -1314,9 +1660,9 @@
1314 1660 [
1315 1661 'id' => 'account_billing_address',
1316 1662 'title' => esc_html__( 'Account Billing Address', 'shopbuilder' ),
1317 1663 'category' => 'myaccount_dashboard',
1318 - 'is_front_page' => 'myaccount_address',
1664 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1319 1665 'active' => 'on',
1320 1666 'package' => $this->pro_package(),
1321 1667 'fields' => [],
1322 1668 ]
@@ -1326,9 +1672,9 @@
1326 1672 [
1327 1673 'id' => 'account_shipping_address',
1328 1674 'title' => esc_html__( 'Account Shipping Address', 'shopbuilder' ),
1329 1675 'category' => 'myaccount_dashboard',
1330 - 'is_front_page' => 'myaccount_address',
1676 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1331 1677 'active' => 'on',
1332 1678 'package' => $this->pro_package(),
1333 1679 'fields' => [],
1334 1680 ]
@@ -1338,9 +1684,9 @@
1338 1684 [
1339 1685 'id' => 'account_address_description',
1340 1686 'title' => esc_html__( 'Account Address Description', 'shopbuilder' ),
1341 1687 'category' => 'myaccount_dashboard',
1342 - 'is_front_page' => 'myaccount_address',
1688 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1343 1689 'active' => 'on',
1344 1690 'package' => $this->pro_package(),
1345 1691 'fields' => [],
1346 1692 ]
@@ -1350,9 +1696,9 @@
1350 1696 [
1351 1697 'id' => 'account_details',
1352 1698 'title' => esc_html__( 'Account Edit / Details', 'shopbuilder' ),
1353 1699 'category' => 'myaccount_dashboard',
1354 - 'is_front_page' => 'myaccount_edit_details',
1700 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1355 1701 'active' => 'on',
1356 1702 'package' => $this->pro_package(),
1357 1703 'fields' => [],
1358 1704 ]
@@ -1362,9 +1708,9 @@
1362 1708 [
1363 1709 'id' => 'account_order_status',
1364 1710 'title' => esc_html__( 'Account Order Status', 'shopbuilder' ),
1365 1711 'category' => 'myaccount_dashboard',
1366 - 'is_front_page' => 'myaccount_orders_details',
1712 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1367 1713 'active' => 'on',
1368 1714 'package' => $this->pro_package(),
1369 1715 'fields' => [],
1370 1716 ]
@@ -1374,9 +1720,9 @@
1374 1720 [
1375 1721 'id' => 'account_order_details_download',
1376 1722 'title' => esc_html__( 'Account Order Download', 'shopbuilder' ),
1377 1723 'category' => 'myaccount_dashboard',
1378 - 'is_front_page' => 'myaccount_orders_details',
1724 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1379 1725 'active' => 'on',
1380 1726 'package' => $this->pro_package(),
1381 1727 'fields' => [],
1382 1728 ]
@@ -1386,9 +1732,9 @@
1386 1732 [
1387 1733 'id' => 'account_order_details_note',
1388 1734 'title' => esc_html__( 'Account Order Note', 'shopbuilder' ),
1389 1735 'category' => 'myaccount_dashboard',
1390 - 'is_front_page' => 'myaccount_orders_details',
1736 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1391 1737 'active' => 'on',
1392 1738 'package' => $this->pro_package(),
1393 1739 'fields' => [],
1394 1740 ]
@@ -1398,9 +1744,9 @@
1398 1744 [
1399 1745 'id' => 'account_order_details_table',
1400 1746 'title' => esc_html__( 'Account Order Table', 'shopbuilder' ),
1401 1747 'category' => 'myaccount_dashboard',
1402 - 'is_front_page' => 'myaccount_orders_details',
1748 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1403 1749 'active' => 'on',
1404 1750 'package' => $this->pro_package(),
1405 1751 'fields' => [],
1406 1752 ]
@@ -1410,9 +1756,9 @@
1410 1756 [
1411 1757 'id' => 'account_order_details_order_again',
1412 1758 'title' => esc_html__( 'Account Order Again Button', 'shopbuilder' ),
1413 1759 'category' => 'myaccount_dashboard',
1414 - 'is_front_page' => 'myaccount_orders_details',
1760 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1415 1761 'active' => 'on',
1416 1762 'package' => $this->pro_package(),
1417 1763 'fields' => [],
1418 1764 ]
@@ -1422,9 +1768,9 @@
1422 1768 [
1423 1769 'id' => 'account_order_details_order_shipping',
1424 1770 'title' => esc_html__( 'Account Order Shipping', 'shopbuilder' ),
1425 1771 'category' => 'myaccount_dashboard',
1426 - 'is_front_page' => 'myaccount_orders_details',
1772 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1427 1773 'active' => 'on',
1428 1774 'package' => $this->pro_package(),
1429 1775 'fields' => [],
1430 1776 ]
@@ -1434,9 +1780,9 @@
1434 1780 [
1435 1781 'id' => 'account_order_details_order_billing',
1436 1782 'title' => esc_html__( 'Account Order Billing', 'shopbuilder' ),
1437 1783 'category' => 'myaccount_dashboard',
1438 - 'is_front_page' => 'myaccount_orders_details',
1784 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1439 1785 'active' => 'on',
1440 1786 'package' => $this->pro_package(),
1441 1787 'fields' => [],
1442 1788 ]
@@ -1446,9 +1792,9 @@
1446 1792 [
1447 1793 'id' => 'account_edit_billing_address',
1448 1794 'title' => esc_html__( 'Edit Billing Address', 'shopbuilder' ),
1449 1795 'category' => 'myaccount_dashboard',
1450 - 'is_front_page' => 'myaccount_edit_billing_address',
1796 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1451 1797 'active' => 'on',
1452 1798 'package' => $this->pro_package(),
1453 1799 'fields' => [],
1454 1800 ]
@@ -1458,15 +1804,41 @@
1458 1804 [
1459 1805 'id' => 'account_edit_shipping_address',
1460 1806 'title' => esc_html__( 'Edit Shipping Address', 'shopbuilder' ),
1461 1807 'category' => 'myaccount_dashboard',
1462 - 'is_front_page' => 'myaccount_edit_shipping_address',
1808 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1463 1809 'active' => 'on',
1464 1810 'package' => $this->pro_package(),
1465 1811 'fields' => [],
1466 1812 ]
1467 1813 ),
1814 + 'account_payment_methods' => apply_filters(
1815 + 'rtsb/elements/account_payment_methods/options',
1816 + [
1817 + 'id' => 'account_payment_methods',
1818 + 'title' => esc_html__( 'Payment Methods', 'shopbuilder' ),
1819 + 'category' => 'myaccount_dashboard',
1820 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1821 + 'active' => 'on',
1822 + 'package' => $this->pro_package(),
1823 + 'fields' => [],
1824 + ]
1825 + ),
1826 + 'account_add_payment_method' => apply_filters(
1827 + 'rtsb/elements/account_add_payment_method/options',
1828 + [
1829 + 'id' => 'account_add_payment_method',
1830 + 'title' => esc_html__( 'Add Payment Method', 'shopbuilder' ),
1831 + 'category' => 'myaccount_dashboard',
1832 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1833 + 'active' => 'on',
1834 + 'package' => $this->pro_package(),
1835 + 'fields' => [],
1836 + ]
1837 + ),
1468 1838 ];
1839 +
1840 + return apply_filters( 'rtsb/core/elements/my_account/widget_list', $widgets );
1469 1841 }
1470 1842
1471 1843 /***
1472 1844 * @return array
@@ -1514,9 +1886,9 @@
1514 1886 [
1515 1887 'id' => 'account_lost_password',
1516 1888 'title' => esc_html__( 'Lost Password Form', 'shopbuilder' ),
1517 1889 'category' => 'others_widget',
1518 - 'is_front_page' => 'myaccount_lost_password',
1890 + 'is_front_page' => 'myaccount_auth',
1519 1891 'active' => 'on',
1520 1892 'package' => $this->pro_package(),
1521 1893 'fields' => [],
1522 1894 ]