PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 2.6.0
ShopBuilder – WooCommerce Builder For Elementor v2.6.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 +556 -34 2.1.22.6.0 View file →
@@ -51,8 +51,11 @@
51 51 ],
52 52 'product' => [
53 53 'title' => esc_html__( 'Single', 'shopbuilder' ),
54 54 ],
55 + 'quick_view' => [
56 + 'title' => esc_html__( 'Quick View', 'shopbuilder' ),
57 + ],
55 58 'cart' => [
56 59 'title' => esc_html__( 'Cart', 'shopbuilder' ),
57 60 ],
58 61 'checkout' => [
@@ -79,8 +82,9 @@
79 82 */
80 83 protected function raw_list() {
81 84 $list = $this->product_page_widget_list()
82 85 + $this->general_widget_list()
86 + + $this->product_quick_view()
83 87 + $this->shop_archive_page_widget_list()
84 88 + $this->cart_page_widget_list()
85 89 + $this->checkout_page_widget_list()
86 90 + $this->thankyou_page_widget_list()
@@ -120,9 +124,8 @@
120 124 'package' => 'free',
121 125 'fields' => [],
122 126 ]
123 127 ),
124 -
125 128 'products_slider' => apply_filters(
126 129 'rtsb/elements/products_slider/options',
127 130 [
128 131 'id' => 'products_slider',
@@ -133,9 +136,19 @@
133 136 'package' => 'free',
134 137 'fields' => [],
135 138 ]
136 139 ),
137 -
140 + 'highlighted_product' => apply_filters(
141 + 'rtsb/elements/highlighted_product/options',
142 + [
143 + 'id' => 'highlighted_product',
144 + 'title' => esc_html__( 'Highlighted Product', 'shopbuilder' ),
145 + 'category' => 'general',
146 + 'active' => '',
147 + 'package' => $this->pro_package(),
148 + 'fields' => [],
149 + ]
150 + ),
138 151 'products_single_cateogory' => apply_filters(
139 152 'rtsb/elements/products_single_cateogory/options',
140 153 [
141 154 'id' => 'products_single_cateogory',
@@ -158,8 +171,31 @@
158 171 'package' => 'free',
159 172 'fields' => [],
160 173 ]
161 174 ),
175 + 'product_lookbook' => apply_filters(
176 + 'rtsb/elements/product_lookbook/options',
177 + [
178 + 'id' => 'product_lookbook',
179 + 'title' => esc_html__( 'Product LookBook', 'shopbuilder' ),
180 + 'category' => 'general',
181 + 'active' => '',
182 + 'package' => $this->pro_package(),
183 + 'fields' => [],
184 + ]
185 + ),
186 + 'rtsb_wishlist' => apply_filters(
187 + 'rtsb/elements/rtsb_wishlist/options',
188 + [
189 + 'id' => 'rtsb_wishlist',
190 + 'title' => esc_html__( 'Wishlist Table', 'shopbuilder' ),
191 + 'base_class' => General\Wishlist::class,
192 + 'category' => 'general',
193 + 'active' => 'on',
194 + 'package' => 'free',
195 + 'fields' => [],
196 + ]
197 + ),
162 198 'social_share' => apply_filters(
163 199 'rtsb/elements/social_share/options',
164 200 [
165 201 'id' => 'social_share',
@@ -194,14 +230,14 @@
194 230 'package' => 'free',
195 231 'fields' => [],
196 232 ]
197 233 ),
198 - 'rtsb_wishlist' => apply_filters(
199 - 'rtsb/elements/rtsb_wishlist/options',
234 + 'advanced_heading' => apply_filters(
235 + 'rtsb/elements/advanced_heading/options',
200 236 [
201 - 'id' => 'rtsb_wishlist',
202 - 'title' => esc_html__( 'Wishlist Table', 'shopbuilder' ),
203 - 'base_class' => General\Wishlist::class,
237 + 'id' => 'advanced_heading',
238 + 'title' => esc_html__( 'Advanced Heading', 'shopbuilder' ),
239 + 'base_class' => General\AdvancedHeading\AdvancedHeading::class,
204 240 'category' => 'general',
205 241 'active' => 'on',
206 242 'package' => 'free',
207 243 'fields' => [],
@@ -206,8 +242,211 @@
206 242 'package' => 'free',
207 243 'fields' => [],
208 244 ]
209 245 ),
246 + 'dropcaps' => apply_filters(
247 + 'rtsb/elements/dropcaps/options',
248 + [
249 + 'id' => 'dropcaps',
250 + 'title' => esc_html__( 'Dropcaps', 'shopbuilder' ),
251 + 'base_class' => General\DropCaps\DropCaps::class,
252 + 'category' => 'general',
253 + 'active' => 'on',
254 + 'package' => 'free',
255 + 'fields' => [],
256 + ]
257 + ),
258 + 'shopbuilder_button' => apply_filters(
259 + 'rtsb/elements/shopbuilder_button/options',
260 + [
261 + 'id' => 'shopbuilder_button',
262 + 'title' => esc_html__( 'Advanced Button', 'shopbuilder' ),
263 + 'base_class' => General\ShopBuilderButton\ShopBuilderButton::class,
264 + 'category' => 'general',
265 + 'active' => 'on',
266 + 'package' => 'free',
267 + 'fields' => [],
268 + ]
269 + ),
270 + 'shopbuilder_cta' => apply_filters(
271 + 'rtsb/elements/shopbuilder_cta/options',
272 + [
273 + 'id' => 'shopbuilder_cta',
274 + 'title' => esc_html__( 'Call To Action', 'shopbuilder' ),
275 + 'base_class' => General\CallToAction\CallToAction::class,
276 + 'category' => 'general',
277 + 'active' => 'on',
278 + 'package' => 'free',
279 + 'fields' => [],
280 + ]
281 + ),
282 + 'shopbuilder_info_box' => apply_filters(
283 + 'rtsb/elements/shopbuilder_info_box/options',
284 + [
285 + 'id' => 'shopbuilder_info_box',
286 + 'title' => esc_html__( 'Info Box', 'shopbuilder' ),
287 + 'base_class' => General\InfoBox\InfoBox::class,
288 + 'category' => 'general',
289 + 'active' => 'on',
290 + 'package' => 'free',
291 + 'fields' => [],
292 + ]
293 + ),
294 + 'shopbuilder_flip_box' => apply_filters(
295 + 'rtsb/elements/shopbuilder_flip_box/options',
296 + [
297 + 'id' => 'shopbuilder_flip_box',
298 + 'title' => esc_html__( 'Flip Box', 'shopbuilder' ),
299 + 'base_class' => General\FlipBox\FlipBox::class,
300 + 'category' => 'general',
301 + 'active' => 'on',
302 + 'package' => 'free',
303 + 'fields' => [],
304 + ]
305 + ),
306 + 'shopbuilder_pricing_table' => apply_filters(
307 + 'rtsb/elements/shopbuilder_pricing_table/options',
308 + [
309 + 'id' => 'shopbuilder_pricing_table',
310 + 'title' => esc_html__( 'Pricing Table', 'shopbuilder' ),
311 + 'base_class' => General\PricingTable\PricingTable::class,
312 + 'category' => 'general',
313 + 'active' => 'on',
314 + 'package' => 'free',
315 + 'fields' => [],
316 + ]
317 + ),
318 + 'image_hotspots' => apply_filters(
319 + 'rtsb/elements/image_hotspots/options',
320 + [
321 + 'id' => 'image_hotspots',
322 + 'title' => esc_html__( 'Image Hotspots', 'shopbuilder' ),
323 + 'category' => 'general',
324 + 'active' => '',
325 + 'package' => $this->pro_package(),
326 + 'fields' => [],
327 + ]
328 + ),
329 + 'shopbuilder_counter' => apply_filters(
330 + 'rtsb/elements/shopbuilder_counter/options',
331 + [
332 + 'id' => 'shopbuilder_counter',
333 + 'title' => esc_html__( 'Fun Facts', 'shopbuilder' ),
334 + 'base_class' => General\Counter\Counter::class,
335 + 'category' => 'general',
336 + 'active' => 'on',
337 + 'package' => 'free',
338 + 'fields' => [],
339 + ]
340 + ),
341 + 'shopbuilder_countdown' => apply_filters(
342 + 'rtsb/elements/shopbuilder_countdown/options',
343 + [
344 + 'id' => 'shopbuilder_countdown',
345 + 'title' => esc_html__( 'Countdown', 'shopbuilder' ),
346 + 'base_class' => General\CountDown\CountDown::class,
347 + 'category' => 'general',
348 + 'active' => 'on',
349 + 'package' => 'free',
350 + 'fields' => [],
351 + ]
352 + ),
353 + 'shopbuilder_progress_bar' => apply_filters(
354 + 'rtsb/elements/shopbuilder_progress_bar/options',
355 + [
356 + 'id' => 'shopbuilder_progress_bar',
357 + 'title' => esc_html__( 'Progress Bar', 'shopbuilder' ),
358 + 'base_class' => General\ProgressBar\ProgressBar::class,
359 + 'category' => 'general',
360 + 'active' => 'on',
361 + 'package' => 'free',
362 + 'fields' => [],
363 + ]
364 + ),
365 + 'image_accordion' => apply_filters(
366 + 'rtsb/elements/image_accordion/options',
367 + [
368 + 'id' => 'image_accordion',
369 + 'title' => esc_html__( 'Image Accordion', 'shopbuilder' ),
370 + 'base_class' => General\ImageAccordion\ImageAccordion::class,
371 + 'category' => 'general',
372 + 'active' => 'on',
373 + 'package' => 'free',
374 + 'fields' => [],
375 + ]
376 + ),
377 + 'shopbuilder_faq' => apply_filters(
378 + 'rtsb/elements/shopbuilder_faq/options',
379 + [
380 + 'id' => 'shopbuilder_faq',
381 + 'title' => esc_html__( 'FAQ', 'shopbuilder' ),
382 + 'base_class' => General\ShopBuilderFaq\ShopBuilderFaq::class,
383 + 'category' => 'general',
384 + 'active' => 'on',
385 + 'package' => 'free',
386 + 'fields' => [],
387 + ]
388 + ),
389 + 'logo_slider_and_grid' => apply_filters(
390 + 'rtsb/elements/logo_slider_and_grid/options',
391 + [
392 + 'id' => 'logo_slider_and_grid',
393 + 'title' => esc_html__( 'Logo Slider and Grid', 'shopbuilder' ),
394 + 'base_class' => General\LogoSliderAndGrid\LogoSliderAndGrid::class,
395 + 'category' => 'general',
396 + 'active' => 'on',
397 + 'package' => 'free',
398 + 'fields' => [],
399 + ]
400 + ),
401 + 'testimonial' => apply_filters(
402 + 'rtsb/elements/testimonial/options',
403 + [
404 + 'id' => 'testimonial',
405 + 'title' => esc_html__( 'Testimonials', 'shopbuilder' ),
406 + 'base_class' => General\Testimonial\Testimonial::class,
407 + 'category' => 'general',
408 + 'active' => 'on',
409 + 'package' => 'free',
410 + 'fields' => [],
411 + ]
412 + ),
413 + 'team_member' => apply_filters(
414 + 'rtsb/elements/team_member/options',
415 + [
416 + 'id' => 'team_member',
417 + 'title' => esc_html__( 'Team Members', 'shopbuilder' ),
418 + 'base_class' => General\TeamMember\TeamMember::class,
419 + 'category' => 'general',
420 + 'active' => 'on',
421 + 'package' => 'free',
422 + 'fields' => [],
423 + ]
424 + ),
425 + 'post_grid' => apply_filters(
426 + 'rtsb/elements/post_grid/options',
427 + [
428 + 'id' => 'post_grid',
429 + 'title' => esc_html__( 'Post Grid', 'shopbuilder' ),
430 + 'base_class' => General\PostGrid\PostGrid::class,
431 + 'category' => 'general',
432 + 'active' => 'on',
433 + 'package' => 'free',
434 + 'fields' => [],
435 + ]
436 + ),
437 + 'post_list' => apply_filters(
438 + 'rtsb/elements/post_list/options',
439 + [
440 + 'id' => 'post_list',
441 + 'title' => esc_html__( 'Post List', 'shopbuilder' ),
442 + 'base_class' => General\PostList\PostList::class,
443 + 'category' => 'general',
444 + 'active' => 'on',
445 + 'package' => 'free',
446 + 'fields' => [],
447 + ]
448 + ),
210 449 ];
211 450
212 451 return apply_filters( 'rtsb/core/elements/general/widget_list', $list );
213 452 }
@@ -271,10 +510,10 @@
271 510 'product_onsale' => apply_filters(
272 511 'rtsb/elements/product_onsale/options',
273 512 [
274 513 'id' => 'product_onsale',
275 - 'title' => esc_html__( 'Sale Flash - Onsale', 'shopbuilder' ),
276 - 'base_class' => Single\ProductOnSale::class,
514 + 'title' => esc_html__( 'Product Badges', 'shopbuilder' ),
515 + 'base_class' => Single\ProductBadges::class,
277 516 'category' => 'product',
278 517 'active' => 'on',
279 518 'package' => 'free',
280 519 'fields' => [],
@@ -422,8 +661,19 @@
422 661 'package' => $this->pro_package(),
423 662 'fields' => [],
424 663 ]
425 664 ),
665 + 'product_stock_counter' => apply_filters(
666 + 'rtsb/elements/product_stock_counter/options',
667 + [
668 + 'id' => 'product_stock_counter',
669 + 'title' => esc_html__( 'Product Stock Count', 'shopbuilder' ),
670 + 'category' => 'product',
671 + 'active' => '',
672 + 'package' => $this->pro_package(),
673 + 'fields' => [],
674 + ]
675 + ),
426 676 'flash_sale_countdown' => apply_filters(
427 677 'rtsb/elements/flash_sale_countdown/options',
428 678 [
429 679 'id' => 'flash_sale_countdown',
@@ -568,8 +818,267 @@
568 818 return apply_filters( 'rtsb/core/elements/product_page/widget_list', $list );
569 819 }
570 820
571 821 /**
822 + * Product Single Widget List.
823 + *
824 + * @return array
825 + */
826 + protected function product_quick_view() {
827 +
828 + $list = [
829 + 'qv_product_title' => apply_filters(
830 + 'rtsb/elements/qv_product_title/options',
831 + [
832 + 'id' => 'qv_product_title',
833 + 'title' => esc_html__( 'Product Title', 'shopbuilder' ),
834 + 'base_class' => Single\ProductTitle::class,
835 + 'category' => 'quick_view',
836 + 'is_front_page' => 'quick_view',
837 + 'active' => 'on',
838 + 'package' => $this->pro_package(),
839 + 'fields' => [],
840 + ]
841 + ),
842 + 'qv_product_description' => apply_filters(
843 + 'rtsb/elements/qv_product_description/options',
844 + [
845 + 'id' => 'qv_product_description',
846 + 'title' => esc_html__( 'Product Description', 'shopbuilder' ),
847 + 'base_class' => Single\ProductDescription::class,
848 + 'category' => 'quick_view',
849 + 'is_front_page' => 'quick_view',
850 + 'active' => 'on',
851 + 'package' => $this->pro_package(),
852 + 'fields' => [],
853 + ]
854 + ),
855 + 'qv_product_short_description' => apply_filters(
856 + 'rtsb/elements/qv_product_short_description/options',
857 + [
858 + 'id' => 'qv_product_short_description',
859 + 'title' => esc_html__( 'Short Description', 'shopbuilder' ),
860 + 'base_class' => Single\ShortDescription::class,
861 + 'category' => 'quick_view',
862 + 'is_front_page' => 'quick_view',
863 + 'active' => 'on',
864 + 'package' => $this->pro_package(),
865 + 'fields' => [],
866 + ]
867 + ),
868 + 'qv_product_images' => apply_filters(
869 + 'rtsb/elements/qv_product_images/options',
870 + [
871 + 'id' => 'qv_product_images',
872 + 'title' => esc_html__( 'Product Images', 'shopbuilder' ),
873 + 'base_class' => Single\ProductImages::class,
874 + 'category' => 'quick_view',
875 + 'is_front_page' => 'quick_view',
876 + 'active' => 'on',
877 + 'package' => $this->pro_package(),
878 + 'fields' => [],
879 + ]
880 + ),
881 + 'qv_product_badges' => apply_filters(
882 + 'rtsb/elements/qv_product_badges/options',
883 + [
884 + 'id' => 'qv_product_badges',
885 + 'title' => esc_html__( 'Product Badges', 'shopbuilder' ),
886 + 'base_class' => Single\ProductBadges::class,
887 + 'category' => 'quick_view',
888 + 'is_front_page' => 'quick_view',
889 + 'active' => 'on',
890 + 'package' => $this->pro_package(),
891 + 'fields' => [],
892 + ]
893 + ),
894 + 'qv_product_additional_info' => apply_filters(
895 + 'rtsb/elements/qv_product_additional_info/options',
896 + [
897 + 'id' => 'qv_product_additional_info',
898 + 'title' => esc_html__( 'Additional Information', 'shopbuilder' ),
899 + 'base_class' => Single\AdditionalInformation::class,
900 + 'category' => 'quick_view',
901 + 'is_front_page' => 'quick_view',
902 + 'active' => 'on',
903 + 'package' => $this->pro_package(),
904 + 'fields' => [],
905 + ]
906 + ),
907 + 'qv_product_price' => apply_filters(
908 + 'rtsb/elements/qv_product_price/options',
909 + [
910 + 'id' => 'qv_product_price',
911 + 'title' => esc_html__( 'Product Price', 'shopbuilder' ),
912 + 'base_class' => Single\ProductPrice::class,
913 + 'category' => 'quick_view',
914 + 'is_front_page' => 'quick_view',
915 + 'active' => 'on',
916 + 'package' => $this->pro_package(),
917 + 'fields' => [],
918 + ]
919 + ),
920 + 'qv_product_meta' => apply_filters(
921 + 'rtsb/elements/qv_product_meta/options',
922 + [
923 + 'id' => 'qv_product_meta',
924 + 'title' => esc_html__( 'Product Meta', 'shopbuilder' ),
925 + 'base_class' => Single\ProductMeta::class,
926 + 'category' => 'quick_view',
927 + 'is_front_page' => 'quick_view',
928 + 'active' => 'on',
929 + 'package' => $this->pro_package(),
930 + 'fields' => [],
931 + ]
932 + ),
933 + 'qv_product_categories' => apply_filters(
934 + 'rtsb/elements/qv_product_categories/options',
935 + [
936 + 'id' => 'qv_product_categories',
937 + 'title' => esc_html__( 'Product Categories', 'shopbuilder' ),
938 + 'base_class' => Single\ProductCats::class,
939 + 'category' => 'quick_view',
940 + 'is_front_page' => 'quick_view',
941 + 'active' => 'on',
942 + 'package' => $this->pro_package(),
943 + 'fields' => [],
944 + ]
945 + ),
946 + 'qv_product_rating' => apply_filters(
947 + 'rtsb/elements/qv_product_rating/options',
948 + [
949 + 'id' => 'qv_product_rating',
950 + 'title' => esc_html__( 'Product Rating', 'shopbuilder' ),
951 + 'base_class' => Single\ProductRating::class,
952 + 'category' => 'quick_view',
953 + 'is_front_page' => 'quick_view',
954 + 'active' => 'on',
955 + 'package' => $this->pro_package(),
956 + 'fields' => [],
957 + ]
958 + ),
959 + 'qv_product_tags' => apply_filters(
960 + 'rtsb/elements/qv_product_tags/options',
961 + [
962 + 'id' => 'qv_product_tags',
963 + 'title' => esc_html__( 'Product Tags', 'shopbuilder' ),
964 + 'base_class' => Single\ProductTags::class,
965 + 'category' => 'quick_view',
966 + 'is_front_page' => 'quick_view',
967 + 'active' => 'on',
968 + 'package' => $this->pro_package(),
969 + 'fields' => [],
970 + ]
971 + ),
972 + 'qv_product_sku' => apply_filters(
973 + 'rtsb/elements/qv_product_sku/options',
974 + [
975 + 'id' => 'qv_product_sku',
976 + 'title' => esc_html__( 'Product SKU', 'shopbuilder' ),
977 + 'base_class' => Single\ProductSKU::class,
978 + 'category' => 'quick_view',
979 + 'is_front_page' => 'quick_view',
980 + 'active' => 'on',
981 + 'package' => $this->pro_package(),
982 + 'fields' => [],
983 + ]
984 + ),
985 + 'qv_product_stock' => apply_filters(
986 + 'rtsb/elements/qv_product_stock/options',
987 + [
988 + 'id' => 'qv_product_stock',
989 + 'title' => esc_html__( 'Product Stock', 'shopbuilder' ),
990 + 'base_class' => Single\ProductStock::class,
991 + 'category' => 'quick_view',
992 + 'is_front_page' => 'quick_view',
993 + 'active' => 'on',
994 + 'package' => $this->pro_package(),
995 + 'fields' => [],
996 + ]
997 + ),
998 + 'qv_actions_button' => apply_filters(
999 + 'rtsb/elements/qv_actions_button/options',
1000 + [
1001 + 'id' => 'qv_actions_button',
1002 + 'title' => esc_html__( 'Action Buttons', 'shopbuilder' ),
1003 + 'base_class' => Single\ActionsButton::class,
1004 + 'category' => 'quick_view',
1005 + 'is_front_page' => 'quick_view',
1006 + 'active' => 'on',
1007 + 'package' => $this->pro_package(),
1008 + 'fields' => [],
1009 + ]
1010 + ),
1011 + 'qv_product_add_to_cart' => apply_filters(
1012 + 'rtsb/elements/qv_product_add_to_cart/options',
1013 + [
1014 + 'id' => 'qv_product_add_to_cart',
1015 + 'title' => esc_html__( 'Add to Cart', 'shopbuilder' ),
1016 + 'base_class' => Single\ProductAddToCart::class,
1017 + 'category' => 'quick_view',
1018 + 'is_front_page' => 'quick_view',
1019 + 'active' => 'on',
1020 + 'package' => $this->pro_package(),
1021 + 'fields' => [],
1022 + ]
1023 + ),
1024 + 'qv_product_sales_count' => apply_filters(
1025 + 'rtsb/elements/qv_product_sales_count/options',
1026 + [
1027 + 'id' => 'qv_product_sales_count',
1028 + 'title' => esc_html__( 'Sales Count', 'shopbuilder' ),
1029 + 'category' => 'quick_view',
1030 + 'is_front_page' => 'quick_view',
1031 + 'active' => 'on',
1032 + 'package' => $this->pro_package(),
1033 + 'fields' => [],
1034 + ]
1035 + ),
1036 + 'qv_social_share' => apply_filters(
1037 + 'rtsb/settings/qv_social_share/options',
1038 + [
1039 + 'id' => 'qv_social_share',
1040 + 'title' => esc_html__( 'Social Share', 'shopbuilder' ),
1041 + 'base_class' => General\SocialShare::class,
1042 + 'active' => 'on',
1043 + 'category' => 'quick_view',
1044 + 'is_front_page' => 'quick_view',
1045 + 'package' => $this->pro_package(),
1046 + 'fields' => [],
1047 + ]
1048 + ),
1049 + 'qv_product_quick_checkout' => apply_filters(
1050 + 'rtsb/elements/qv_product_quick_checkout/options',
1051 + [
1052 + 'id' => 'qv_product_quick_checkout',
1053 + 'title' => esc_html__( 'Quick Checkout', 'shopbuilder' ),
1054 + 'category' => 'quick_view',
1055 + 'is_front_page' => 'quick_view',
1056 + 'active' => 'on',
1057 + 'package' => $this->pro_package(),
1058 + 'fields' => [],
1059 + ]
1060 + ),
1061 +
1062 + 'qv_product_size_chart' => apply_filters(
1063 + 'rtsb/elements/qv_product_size_chart/options',
1064 + [
1065 + 'id' => 'qv_product_size_chart',
1066 + 'title' => esc_html__( 'Size Chart', 'shopbuilder' ),
1067 + 'category' => 'quick_view',
1068 + 'is_front_page' => 'quick_view',
1069 + 'active' => '',
1070 + 'package' => $this->pro_package(),
1071 + 'fields' => [],
1072 + ]
1073 + ),
1074 +
1075 + ];
1076 +
1077 + return apply_filters( 'rtsb/core/elements/quick_view/widget_list', $list );
1078 + }
1079 +
1080 + /**
572 1081 * Product Archive Widget List.
573 1082 *
574 1083 * @return array
575 1084 */
@@ -890,9 +1399,9 @@
890 1399 * @return array
891 1400 */
892 1401 protected function thankyou_page_widget_list() {
893 1402 return [
894 - 'order_received_text' => apply_filters(
1403 + 'order_received_text' => apply_filters(
895 1404 'rtsb/elements/order_received_text/options',
896 1405 [
897 1406 'id' => 'order_received_text',
898 1407 'title' => esc_html__( 'Order Received Text', 'shopbuilder' ),
@@ -902,9 +1411,9 @@
902 1411 'package' => $this->pro_package(),
903 1412 'fields' => [],
904 1413 ]
905 1414 ),
906 - 'order_details_summary' => apply_filters(
1415 + 'order_details_summary' => apply_filters(
907 1416 'rtsb/elements/order_details_summary/options',
908 1417 [
909 1418 'id' => 'order_details_summary',
910 1419 'title' => esc_html__( 'Order Details Summary', 'shopbuilder' ),
@@ -914,9 +1423,9 @@
914 1423 'package' => $this->pro_package(),
915 1424 'fields' => [],
916 1425 ]
917 1426 ),
918 - 'order_details_table' => apply_filters(
1427 + 'order_details_table' => apply_filters(
919 1428 'rtsb/elements/order_details_table/options',
920 1429 [
921 1430 'id' => 'order_details_table',
922 1431 'title' => esc_html__( 'Order Details Table', 'shopbuilder' ),
@@ -926,9 +1435,9 @@
926 1435 'package' => $this->pro_package(),
927 1436 'fields' => [],
928 1437 ]
929 1438 ),
930 - 'downloadable_products' => apply_filters(
1439 + 'downloadable_products' => apply_filters(
931 1440 'rtsb/elements/downloadable_products/options',
932 1441 [
933 1442 'id' => 'downloadable_products',
934 1443 'title' => esc_html__( 'Downloadable Products', 'shopbuilder' ),
@@ -938,9 +1447,9 @@
938 1447 'package' => $this->pro_package(),
939 1448 'fields' => [],
940 1449 ]
941 1450 ),
942 - 'order_billing_address' => apply_filters(
1451 + 'order_billing_address' => apply_filters(
943 1452 'rtsb/elements/order_billing_address/options',
944 1453 [
945 1454 'id' => 'order_billing_address',
946 1455 'title' => esc_html__( 'Order Billing Address', 'shopbuilder' ),
@@ -950,9 +1459,9 @@
950 1459 'package' => $this->pro_package(),
951 1460 'fields' => [],
952 1461 ]
953 1462 ),
954 - 'order_shipping_address' => apply_filters(
1463 + 'order_shipping_address' => apply_filters(
955 1464 'rtsb/elements/order_shipping_address/options',
956 1465 [
957 1466 'id' => 'order_shipping_address',
958 1467 'title' => esc_html__( 'Order Shipping Address', 'shopbuilder' ),
@@ -962,8 +1471,20 @@
962 1471 'package' => $this->pro_package(),
963 1472 'fields' => [],
964 1473 ]
965 1474 ),
1475 + 'order_custom_fields_data' => apply_filters(
1476 + 'rtsb/elements/order_custom_fields_data/options',
1477 + [
1478 + 'id' => 'order_custom_fields_data',
1479 + 'title' => esc_html__( 'Checkout Form Custom Fields Data', 'shopbuilder' ),
1480 + 'category' => 'thank_you',
1481 + 'is_front_page' => 'thank_you',
1482 + 'active' => 'on',
1483 + 'package' => $this->pro_package(),
1484 + 'fields' => [],
1485 + ]
1486 + ),
966 1487 ];
967 1488 }
968 1489
969 1490 /**
@@ -971,10 +1492,9 @@
971 1492 *
972 1493 * @return array
973 1494 */
974 1495 protected function my_account_page_widget_list() {
975 - return [
976 -
1496 + $widgets = [
977 1497 'account_navigation_edit_shipping' => apply_filters(
978 1498 'rtsb/elements/account_navigation_edit_shipping/options',
979 1499 [
980 1500 'id' => 'account_navigation_edit_shipping',
@@ -991,9 +1511,9 @@
991 1511 [
992 1512 'id' => 'account_dashboard',
993 1513 'title' => esc_html__( 'Account Dashboard', 'shopbuilder' ),
994 1514 'category' => 'myaccount_dashboard',
995 - 'is_front_page' => 'myaccount_dashboard',
1515 + 'is_front_page' => 'all_myaccount_dashboard_inner',
996 1516 'active' => 'on',
997 1517 'package' => $this->pro_package(),
998 1518 'fields' => [],
999 1519 ]
@@ -1003,9 +1523,9 @@
1003 1523 [
1004 1524 'id' => 'account_orders',
1005 1525 'title' => esc_html__( 'Account Orders', 'shopbuilder' ),
1006 1526 'category' => 'myaccount_dashboard',
1007 - 'is_front_page' => 'myaccount_order',
1527 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1008 1528 'active' => 'on',
1009 1529 'package' => $this->pro_package(),
1010 1530 'fields' => [],
1011 1531 ]
@@ -1015,9 +1535,9 @@
1015 1535 [
1016 1536 'id' => 'account_downloads',
1017 1537 'title' => esc_html__( 'Account Downloads', 'shopbuilder' ),
1018 1538 'category' => 'myaccount_dashboard',
1019 - 'is_front_page' => 'myaccount_downloads',
1539 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1020 1540 'active' => 'on',
1021 1541 'package' => $this->pro_package(),
1022 1542 'fields' => [],
1023 1543 ]
@@ -1027,9 +1547,9 @@
1027 1547 [
1028 1548 'id' => 'account_billing_address',
1029 1549 'title' => esc_html__( 'Account Billing Address', 'shopbuilder' ),
1030 1550 'category' => 'myaccount_dashboard',
1031 - 'is_front_page' => 'myaccount_address',
1551 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1032 1552 'active' => 'on',
1033 1553 'package' => $this->pro_package(),
1034 1554 'fields' => [],
1035 1555 ]
@@ -1039,9 +1559,9 @@
1039 1559 [
1040 1560 'id' => 'account_shipping_address',
1041 1561 'title' => esc_html__( 'Account Shipping Address', 'shopbuilder' ),
1042 1562 'category' => 'myaccount_dashboard',
1043 - 'is_front_page' => 'myaccount_address',
1563 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1044 1564 'active' => 'on',
1045 1565 'package' => $this->pro_package(),
1046 1566 'fields' => [],
1047 1567 ]
@@ -1051,9 +1571,9 @@
1051 1571 [
1052 1572 'id' => 'account_address_description',
1053 1573 'title' => esc_html__( 'Account Address Description', 'shopbuilder' ),
1054 1574 'category' => 'myaccount_dashboard',
1055 - 'is_front_page' => 'myaccount_address',
1575 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1056 1576 'active' => 'on',
1057 1577 'package' => $this->pro_package(),
1058 1578 'fields' => [],
1059 1579 ]
@@ -1063,9 +1583,9 @@
1063 1583 [
1064 1584 'id' => 'account_details',
1065 1585 'title' => esc_html__( 'Account Edit / Details', 'shopbuilder' ),
1066 1586 'category' => 'myaccount_dashboard',
1067 - 'is_front_page' => 'myaccount_edit_details',
1587 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1068 1588 'active' => 'on',
1069 1589 'package' => $this->pro_package(),
1070 1590 'fields' => [],
1071 1591 ]
@@ -1075,9 +1595,9 @@
1075 1595 [
1076 1596 'id' => 'account_order_status',
1077 1597 'title' => esc_html__( 'Account Order Status', 'shopbuilder' ),
1078 1598 'category' => 'myaccount_dashboard',
1079 - 'is_front_page' => 'myaccount_orders_details',
1599 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1080 1600 'active' => 'on',
1081 1601 'package' => $this->pro_package(),
1082 1602 'fields' => [],
1083 1603 ]
@@ -1087,9 +1607,9 @@
1087 1607 [
1088 1608 'id' => 'account_order_details_download',
1089 1609 'title' => esc_html__( 'Account Order Download', 'shopbuilder' ),
1090 1610 'category' => 'myaccount_dashboard',
1091 - 'is_front_page' => 'myaccount_orders_details',
1611 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1092 1612 'active' => 'on',
1093 1613 'package' => $this->pro_package(),
1094 1614 'fields' => [],
1095 1615 ]
@@ -1099,9 +1619,9 @@
1099 1619 [
1100 1620 'id' => 'account_order_details_note',
1101 1621 'title' => esc_html__( 'Account Order Note', 'shopbuilder' ),
1102 1622 'category' => 'myaccount_dashboard',
1103 - 'is_front_page' => 'myaccount_orders_details',
1623 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1104 1624 'active' => 'on',
1105 1625 'package' => $this->pro_package(),
1106 1626 'fields' => [],
1107 1627 ]
@@ -1111,9 +1631,9 @@
1111 1631 [
1112 1632 'id' => 'account_order_details_table',
1113 1633 'title' => esc_html__( 'Account Order Table', 'shopbuilder' ),
1114 1634 'category' => 'myaccount_dashboard',
1115 - 'is_front_page' => 'myaccount_orders_details',
1635 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1116 1636 'active' => 'on',
1117 1637 'package' => $this->pro_package(),
1118 1638 'fields' => [],
1119 1639 ]
@@ -1123,9 +1643,9 @@
1123 1643 [
1124 1644 'id' => 'account_order_details_order_again',
1125 1645 'title' => esc_html__( 'Account Order Again Button', 'shopbuilder' ),
1126 1646 'category' => 'myaccount_dashboard',
1127 - 'is_front_page' => 'myaccount_orders_details',
1647 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1128 1648 'active' => 'on',
1129 1649 'package' => $this->pro_package(),
1130 1650 'fields' => [],
1131 1651 ]
@@ -1135,9 +1655,9 @@
1135 1655 [
1136 1656 'id' => 'account_order_details_order_shipping',
1137 1657 'title' => esc_html__( 'Account Order Shipping', 'shopbuilder' ),
1138 1658 'category' => 'myaccount_dashboard',
1139 - 'is_front_page' => 'myaccount_orders_details',
1659 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1140 1660 'active' => 'on',
1141 1661 'package' => $this->pro_package(),
1142 1662 'fields' => [],
1143 1663 ]
@@ -1147,9 +1667,9 @@
1147 1667 [
1148 1668 'id' => 'account_order_details_order_billing',
1149 1669 'title' => esc_html__( 'Account Order Billing', 'shopbuilder' ),
1150 1670 'category' => 'myaccount_dashboard',
1151 - 'is_front_page' => 'myaccount_orders_details',
1671 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1152 1672 'active' => 'on',
1153 1673 'package' => $this->pro_package(),
1154 1674 'fields' => [],
1155 1675 ]
@@ -1159,9 +1679,9 @@
1159 1679 [
1160 1680 'id' => 'account_edit_billing_address',
1161 1681 'title' => esc_html__( 'Edit Billing Address', 'shopbuilder' ),
1162 1682 'category' => 'myaccount_dashboard',
1163 - 'is_front_page' => 'myaccount_edit_billing_address',
1683 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1164 1684 'active' => 'on',
1165 1685 'package' => $this->pro_package(),
1166 1686 'fields' => [],
1167 1687 ]
@@ -1171,9 +1691,9 @@
1171 1691 [
1172 1692 'id' => 'account_edit_shipping_address',
1173 1693 'title' => esc_html__( 'Edit Shipping Address', 'shopbuilder' ),
1174 1694 'category' => 'myaccount_dashboard',
1175 - 'is_front_page' => 'myaccount_edit_shipping_address',
1695 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1176 1696 'active' => 'on',
1177 1697 'package' => $this->pro_package(),
1178 1698 'fields' => [],
1179 1699 ]
@@ -1178,8 +1698,10 @@
1178 1698 'fields' => [],
1179 1699 ]
1180 1700 ),
1181 1701 ];
1702 +
1703 + return apply_filters( 'rtsb/core/elements/my_account/widget_list', $widgets );
1182 1704 }
1183 1705
1184 1706 /***
1185 1707 * @return array
@@ -1227,9 +1749,9 @@
1227 1749 [
1228 1750 'id' => 'account_lost_password',
1229 1751 'title' => esc_html__( 'Lost Password Form', 'shopbuilder' ),
1230 1752 'category' => 'others_widget',
1231 - 'is_front_page' => 'myaccount_lost_password',
1753 + 'is_front_page' => 'myaccount_auth',
1232 1754 'active' => 'on',
1233 1755 'package' => $this->pro_package(),
1234 1756 'fields' => [],
1235 1757 ]