PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 3.2.0
ShopBuilder – WooCommerce Builder For Elementor v3.2.0
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 +388 -39 2.1.103.2.0 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,162 @@
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 + ),
227 483 ];
228 -
229 484 return apply_filters( 'rtsb/core/elements/general/widget_list', $list );
230 485 }
231 486
232 487 /**
@@ -506,8 +761,19 @@
506 761 'package' => $this->pro_package(),
507 762 'fields' => [],
508 763 ]
509 764 ),
765 + 'product_qr_code' => apply_filters(
766 + 'rtsb/elements/product_qr_code/options',
767 + [
768 + 'id' => 'product_qr_code',
769 + 'title' => esc_html__( 'QR Code', 'shopbuilder' ),
770 + 'category' => 'product',
771 + 'active' => '',
772 + 'package' => $this->pro_package(),
773 + 'fields' => [],
774 + ]
775 + ),
510 776 'product_reviews' => apply_filters(
511 777 'rtsb/elements/product_reviews/options',
512 778 [
513 779 'id' => 'product_reviews',
@@ -924,8 +1190,20 @@
924 1190 'package' => $this->pro_package(),
925 1191 'fields' => [],
926 1192 ]
927 1193 ),
1194 + 'product_filters' => apply_filters(
1195 + 'rtsb/elements/product_filters/options',
1196 + [
1197 + 'id' => 'product_filters',
1198 + 'title' => esc_html__( 'Product Filters', 'shopbuilder' ),
1199 + 'base_class' => Archive\ProductFilters::class,
1200 + 'category' => 'shop',
1201 + 'active' => 'on',
1202 + 'package' => 'free',
1203 + 'fields' => [],
1204 + ]
1205 + ),
928 1206
929 1207 'archive_result_count' => apply_filters(
930 1208 'rtsb/elements/archive_result_count/options',
931 1209 [
@@ -1177,9 +1455,9 @@
1177 1455 * @return array
1178 1456 */
1179 1457 protected function thankyou_page_widget_list() {
1180 1458 return [
1181 - 'order_received_text' => apply_filters(
1459 + 'order_received_text' => apply_filters(
1182 1460 'rtsb/elements/order_received_text/options',
1183 1461 [
1184 1462 'id' => 'order_received_text',
1185 1463 'title' => esc_html__( 'Order Received Text', 'shopbuilder' ),
@@ -1189,9 +1467,9 @@
1189 1467 'package' => $this->pro_package(),
1190 1468 'fields' => [],
1191 1469 ]
1192 1470 ),
1193 - 'order_details_summary' => apply_filters(
1471 + 'order_details_summary' => apply_filters(
1194 1472 'rtsb/elements/order_details_summary/options',
1195 1473 [
1196 1474 'id' => 'order_details_summary',
1197 1475 'title' => esc_html__( 'Order Details Summary', 'shopbuilder' ),
@@ -1201,9 +1479,9 @@
1201 1479 'package' => $this->pro_package(),
1202 1480 'fields' => [],
1203 1481 ]
1204 1482 ),
1205 - 'order_details_table' => apply_filters(
1483 + 'order_details_table' => apply_filters(
1206 1484 'rtsb/elements/order_details_table/options',
1207 1485 [
1208 1486 'id' => 'order_details_table',
1209 1487 'title' => esc_html__( 'Order Details Table', 'shopbuilder' ),
@@ -1213,9 +1491,9 @@
1213 1491 'package' => $this->pro_package(),
1214 1492 'fields' => [],
1215 1493 ]
1216 1494 ),
1217 - 'downloadable_products' => apply_filters(
1495 + 'downloadable_products' => apply_filters(
1218 1496 'rtsb/elements/downloadable_products/options',
1219 1497 [
1220 1498 'id' => 'downloadable_products',
1221 1499 'title' => esc_html__( 'Downloadable Products', 'shopbuilder' ),
@@ -1225,9 +1503,9 @@
1225 1503 'package' => $this->pro_package(),
1226 1504 'fields' => [],
1227 1505 ]
1228 1506 ),
1229 - 'order_billing_address' => apply_filters(
1507 + 'order_billing_address' => apply_filters(
1230 1508 'rtsb/elements/order_billing_address/options',
1231 1509 [
1232 1510 'id' => 'order_billing_address',
1233 1511 'title' => esc_html__( 'Order Billing Address', 'shopbuilder' ),
@@ -1237,9 +1515,9 @@
1237 1515 'package' => $this->pro_package(),
1238 1516 'fields' => [],
1239 1517 ]
1240 1518 ),
1241 - 'order_shipping_address' => apply_filters(
1519 + 'order_shipping_address' => apply_filters(
1242 1520 'rtsb/elements/order_shipping_address/options',
1243 1521 [
1244 1522 'id' => 'order_shipping_address',
1245 1523 'title' => esc_html__( 'Order Shipping Address', 'shopbuilder' ),
@@ -1249,11 +1527,45 @@
1249 1527 'package' => $this->pro_package(),
1250 1528 'fields' => [],
1251 1529 ]
1252 1530 ),
1531 + 'order_custom_fields_data' => apply_filters(
1532 + 'rtsb/elements/order_custom_fields_data/options',
1533 + [
1534 + 'id' => 'order_custom_fields_data',
1535 + 'title' => esc_html__( 'Checkout Form Custom Fields Data', 'shopbuilder' ),
1536 + 'category' => 'thank_you',
1537 + 'is_front_page' => 'thank_you',
1538 + 'active' => 'on',
1539 + 'package' => $this->pro_package(),
1540 + 'fields' => [],
1541 + ]
1542 + ),
1253 1543 ];
1254 1544 }
1545 + /**
1546 + * Checkout Page Order Pay Widget List.
1547 + *
1548 + * @return array
1549 + */
1550 + protected function orderpay_page_widget_list() {
1551 + return [
1552 + 'order_pay_form' => apply_filters(
1553 + 'rtsb/elements/order_pay_form/options',
1554 + [
1555 + 'id' => 'order_pay_form',
1556 + 'title' => esc_html__( 'Order Pay Form', 'shopbuilder' ),
1557 + 'category' => 'myaccount_dashboard',
1558 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1559 + 'active' => 'on',
1560 + 'package' => $this->pro_package(),
1561 + 'fields' => [],
1562 + ]
1563 + ),
1255 1564
1565 + ];
1566 + }
1567 +
1256 1568 /**
1257 1569 * Checkout Page Widget List.
1258 1570 *
1259 1571 * @return array
@@ -1258,10 +1570,21 @@
1258 1570 *
1259 1571 * @return array
1260 1572 */
1261 1573 protected function my_account_page_widget_list() {
1262 - return [
1263 -
1574 + $widgets = [
1575 + 'account_avatar' => apply_filters(
1576 + 'rtsb/elements/account_avatar/options',
1577 + [
1578 + 'id' => 'account_avatar',
1579 + 'title' => esc_html__( 'Account Avatar', '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 + ),
1264 1587 'account_navigation_edit_shipping' => apply_filters(
1265 1588 'rtsb/elements/account_navigation_edit_shipping/options',
1266 1589 [
1267 1590 'id' => 'account_navigation_edit_shipping',
@@ -1278,9 +1601,9 @@
1278 1601 [
1279 1602 'id' => 'account_dashboard',
1280 1603 'title' => esc_html__( 'Account Dashboard', 'shopbuilder' ),
1281 1604 'category' => 'myaccount_dashboard',
1282 - 'is_front_page' => 'myaccount_dashboard',
1605 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1283 1606 'active' => 'on',
1284 1607 'package' => $this->pro_package(),
1285 1608 'fields' => [],
1286 1609 ]
@@ -1290,9 +1613,9 @@
1290 1613 [
1291 1614 'id' => 'account_orders',
1292 1615 'title' => esc_html__( 'Account Orders', 'shopbuilder' ),
1293 1616 'category' => 'myaccount_dashboard',
1294 - 'is_front_page' => 'myaccount_order',
1617 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1295 1618 'active' => 'on',
1296 1619 'package' => $this->pro_package(),
1297 1620 'fields' => [],
1298 1621 ]
@@ -1302,9 +1625,9 @@
1302 1625 [
1303 1626 'id' => 'account_downloads',
1304 1627 'title' => esc_html__( 'Account Downloads', 'shopbuilder' ),
1305 1628 'category' => 'myaccount_dashboard',
1306 - 'is_front_page' => 'myaccount_downloads',
1629 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1307 1630 'active' => 'on',
1308 1631 'package' => $this->pro_package(),
1309 1632 'fields' => [],
1310 1633 ]
@@ -1314,9 +1637,9 @@
1314 1637 [
1315 1638 'id' => 'account_billing_address',
1316 1639 'title' => esc_html__( 'Account Billing Address', 'shopbuilder' ),
1317 1640 'category' => 'myaccount_dashboard',
1318 - 'is_front_page' => 'myaccount_address',
1641 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1319 1642 'active' => 'on',
1320 1643 'package' => $this->pro_package(),
1321 1644 'fields' => [],
1322 1645 ]
@@ -1326,9 +1649,9 @@
1326 1649 [
1327 1650 'id' => 'account_shipping_address',
1328 1651 'title' => esc_html__( 'Account Shipping Address', 'shopbuilder' ),
1329 1652 'category' => 'myaccount_dashboard',
1330 - 'is_front_page' => 'myaccount_address',
1653 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1331 1654 'active' => 'on',
1332 1655 'package' => $this->pro_package(),
1333 1656 'fields' => [],
1334 1657 ]
@@ -1338,9 +1661,9 @@
1338 1661 [
1339 1662 'id' => 'account_address_description',
1340 1663 'title' => esc_html__( 'Account Address Description', 'shopbuilder' ),
1341 1664 'category' => 'myaccount_dashboard',
1342 - 'is_front_page' => 'myaccount_address',
1665 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1343 1666 'active' => 'on',
1344 1667 'package' => $this->pro_package(),
1345 1668 'fields' => [],
1346 1669 ]
@@ -1350,9 +1673,9 @@
1350 1673 [
1351 1674 'id' => 'account_details',
1352 1675 'title' => esc_html__( 'Account Edit / Details', 'shopbuilder' ),
1353 1676 'category' => 'myaccount_dashboard',
1354 - 'is_front_page' => 'myaccount_edit_details',
1677 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1355 1678 'active' => 'on',
1356 1679 'package' => $this->pro_package(),
1357 1680 'fields' => [],
1358 1681 ]
@@ -1362,9 +1685,9 @@
1362 1685 [
1363 1686 'id' => 'account_order_status',
1364 1687 'title' => esc_html__( 'Account Order Status', 'shopbuilder' ),
1365 1688 'category' => 'myaccount_dashboard',
1366 - 'is_front_page' => 'myaccount_orders_details',
1689 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1367 1690 'active' => 'on',
1368 1691 'package' => $this->pro_package(),
1369 1692 'fields' => [],
1370 1693 ]
@@ -1374,9 +1697,9 @@
1374 1697 [
1375 1698 'id' => 'account_order_details_download',
1376 1699 'title' => esc_html__( 'Account Order Download', 'shopbuilder' ),
1377 1700 'category' => 'myaccount_dashboard',
1378 - 'is_front_page' => 'myaccount_orders_details',
1701 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1379 1702 'active' => 'on',
1380 1703 'package' => $this->pro_package(),
1381 1704 'fields' => [],
1382 1705 ]
@@ -1386,9 +1709,9 @@
1386 1709 [
1387 1710 'id' => 'account_order_details_note',
1388 1711 'title' => esc_html__( 'Account Order Note', 'shopbuilder' ),
1389 1712 'category' => 'myaccount_dashboard',
1390 - 'is_front_page' => 'myaccount_orders_details',
1713 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1391 1714 'active' => 'on',
1392 1715 'package' => $this->pro_package(),
1393 1716 'fields' => [],
1394 1717 ]
@@ -1398,9 +1721,9 @@
1398 1721 [
1399 1722 'id' => 'account_order_details_table',
1400 1723 'title' => esc_html__( 'Account Order Table', 'shopbuilder' ),
1401 1724 'category' => 'myaccount_dashboard',
1402 - 'is_front_page' => 'myaccount_orders_details',
1725 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1403 1726 'active' => 'on',
1404 1727 'package' => $this->pro_package(),
1405 1728 'fields' => [],
1406 1729 ]
@@ -1410,9 +1733,9 @@
1410 1733 [
1411 1734 'id' => 'account_order_details_order_again',
1412 1735 'title' => esc_html__( 'Account Order Again Button', 'shopbuilder' ),
1413 1736 'category' => 'myaccount_dashboard',
1414 - 'is_front_page' => 'myaccount_orders_details',
1737 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1415 1738 'active' => 'on',
1416 1739 'package' => $this->pro_package(),
1417 1740 'fields' => [],
1418 1741 ]
@@ -1422,9 +1745,9 @@
1422 1745 [
1423 1746 'id' => 'account_order_details_order_shipping',
1424 1747 'title' => esc_html__( 'Account Order Shipping', 'shopbuilder' ),
1425 1748 'category' => 'myaccount_dashboard',
1426 - 'is_front_page' => 'myaccount_orders_details',
1749 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1427 1750 'active' => 'on',
1428 1751 'package' => $this->pro_package(),
1429 1752 'fields' => [],
1430 1753 ]
@@ -1434,9 +1757,9 @@
1434 1757 [
1435 1758 'id' => 'account_order_details_order_billing',
1436 1759 'title' => esc_html__( 'Account Order Billing', 'shopbuilder' ),
1437 1760 'category' => 'myaccount_dashboard',
1438 - 'is_front_page' => 'myaccount_orders_details',
1761 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1439 1762 'active' => 'on',
1440 1763 'package' => $this->pro_package(),
1441 1764 'fields' => [],
1442 1765 ]
@@ -1446,9 +1769,9 @@
1446 1769 [
1447 1770 'id' => 'account_edit_billing_address',
1448 1771 'title' => esc_html__( 'Edit Billing Address', 'shopbuilder' ),
1449 1772 'category' => 'myaccount_dashboard',
1450 - 'is_front_page' => 'myaccount_edit_billing_address',
1773 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1451 1774 'active' => 'on',
1452 1775 'package' => $this->pro_package(),
1453 1776 'fields' => [],
1454 1777 ]
@@ -1458,15 +1781,41 @@
1458 1781 [
1459 1782 'id' => 'account_edit_shipping_address',
1460 1783 'title' => esc_html__( 'Edit Shipping Address', 'shopbuilder' ),
1461 1784 'category' => 'myaccount_dashboard',
1462 - 'is_front_page' => 'myaccount_edit_shipping_address',
1785 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1463 1786 'active' => 'on',
1464 1787 'package' => $this->pro_package(),
1465 1788 'fields' => [],
1466 1789 ]
1467 1790 ),
1791 + 'account_payment_methods' => apply_filters(
1792 + 'rtsb/elements/account_payment_methods/options',
1793 + [
1794 + 'id' => 'account_payment_methods',
1795 + 'title' => esc_html__( 'Payment Methods', 'shopbuilder' ),
1796 + 'category' => 'myaccount_dashboard',
1797 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1798 + 'active' => 'on',
1799 + 'package' => $this->pro_package(),
1800 + 'fields' => [],
1801 + ]
1802 + ),
1803 + 'account_add_payment_method' => apply_filters(
1804 + 'rtsb/elements/account_add_payment_method/options',
1805 + [
1806 + 'id' => 'account_add_payment_method',
1807 + 'title' => esc_html__( 'Add Payment Method', 'shopbuilder' ),
1808 + 'category' => 'myaccount_dashboard',
1809 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1810 + 'active' => 'on',
1811 + 'package' => $this->pro_package(),
1812 + 'fields' => [],
1813 + ]
1814 + ),
1468 1815 ];
1816 +
1817 + return apply_filters( 'rtsb/core/elements/my_account/widget_list', $widgets );
1469 1818 }
1470 1819
1471 1820 /***
1472 1821 * @return array
@@ -1514,9 +1863,9 @@
1514 1863 [
1515 1864 'id' => 'account_lost_password',
1516 1865 'title' => esc_html__( 'Lost Password Form', 'shopbuilder' ),
1517 1866 'category' => 'others_widget',
1518 - 'is_front_page' => 'myaccount_lost_password',
1867 + 'is_front_page' => 'myaccount_auth',
1519 1868 'active' => 'on',
1520 1869 'package' => $this->pro_package(),
1521 1870 'fields' => [],
1522 1871 ]