PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 2.6.5
ShopBuilder – WooCommerce Builder For Elementor v2.6.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 +615 -39 2.1.72.6.5 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,12 +82,14 @@
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()
91 + + $this->orderpay_page_widget_list()
87 92 + $this->my_account_page_widget_list()
88 93 + $this->myaccount_auth_page_widget_list();
89 94
90 95 return apply_filters( 'rtsb/core/elements/raw_list', $list );
@@ -120,9 +125,8 @@
120 125 'package' => 'free',
121 126 'fields' => [],
122 127 ]
123 128 ),
124 -
125 129 'products_slider' => apply_filters(
126 130 'rtsb/elements/products_slider/options',
127 131 [
128 132 'id' => 'products_slider',
@@ -133,9 +137,19 @@
133 137 'package' => 'free',
134 138 'fields' => [],
135 139 ]
136 140 ),
137 -
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 + ),
138 152 'products_single_cateogory' => apply_filters(
139 153 'rtsb/elements/products_single_cateogory/options',
140 154 [
141 155 'id' => 'products_single_cateogory',
@@ -158,8 +172,31 @@
158 172 'package' => 'free',
159 173 'fields' => [],
160 174 ]
161 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 + ),
162 199 'social_share' => apply_filters(
163 200 'rtsb/elements/social_share/options',
164 201 [
165 202 'id' => 'social_share',
@@ -194,14 +231,14 @@
194 231 'package' => 'free',
195 232 'fields' => [],
196 233 ]
197 234 ),
198 - 'rtsb_wishlist' => apply_filters(
199 - 'rtsb/elements/rtsb_wishlist/options',
235 + 'advanced_heading' => apply_filters(
236 + 'rtsb/elements/advanced_heading/options',
200 237 [
201 - 'id' => 'rtsb_wishlist',
202 - 'title' => esc_html__( 'Wishlist Table', 'shopbuilder' ),
203 - 'base_class' => General\Wishlist::class,
238 + 'id' => 'advanced_heading',
239 + 'title' => esc_html__( 'Advanced Heading', 'shopbuilder' ),
240 + 'base_class' => General\AdvancedHeading\AdvancedHeading::class,
204 241 'category' => 'general',
205 242 'active' => 'on',
206 243 'package' => 'free',
207 244 'fields' => [],
@@ -206,15 +243,14 @@
206 243 'package' => 'free',
207 244 'fields' => [],
208 245 ]
209 246 ),
210 -
211 - 'dynamic_content' => apply_filters(
212 - 'rtsb/elements/dynamic_content/options',
247 + 'dropcaps' => apply_filters(
248 + 'rtsb/elements/dropcaps/options',
213 249 [
214 - 'id' => 'dynamic_content',
215 - 'title' => esc_html__( 'Dynamic Content', 'shopbuilder' ),
216 - 'base_class' => General\DynamicContent::class,
250 + 'id' => 'dropcaps',
251 + 'title' => esc_html__( 'Dropcaps', 'shopbuilder' ),
252 + 'base_class' => General\DropCaps\DropCaps::class,
217 253 'category' => 'general',
218 254 'active' => 'on',
219 255 'package' => 'free',
220 256 'fields' => [],
@@ -219,9 +255,221 @@
219 255 'package' => 'free',
220 256 'fields' => [],
221 257 ]
222 258 ),
223 -
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' ),
324 + 'category' => 'general',
325 + 'active' => '',
326 + 'package' => $this->pro_package(),
327 + 'fields' => [],
328 + ]
329 + ),
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 + ),
224 472 ];
225 473
226 474 return apply_filters( 'rtsb/core/elements/general/widget_list', $list );
227 475 }
@@ -436,8 +684,19 @@
436 684 'package' => $this->pro_package(),
437 685 'fields' => [],
438 686 ]
439 687 ),
688 + 'product_stock_counter' => apply_filters(
689 + 'rtsb/elements/product_stock_counter/options',
690 + [
691 + 'id' => 'product_stock_counter',
692 + 'title' => esc_html__( 'Product Stock Count', 'shopbuilder' ),
693 + 'category' => 'product',
694 + 'active' => '',
695 + 'package' => $this->pro_package(),
696 + 'fields' => [],
697 + ]
698 + ),
440 699 'flash_sale_countdown' => apply_filters(
441 700 'rtsb/elements/flash_sale_countdown/options',
442 701 [
443 702 'id' => 'flash_sale_countdown',
@@ -492,8 +751,19 @@
492 751 'package' => $this->pro_package(),
493 752 'fields' => [],
494 753 ]
495 754 ),
755 + 'product_qr_code' => apply_filters(
756 + 'rtsb/elements/product_qr_code/options',
757 + [
758 + 'id' => 'product_qr_code',
759 + 'title' => esc_html__( 'QR Code', 'shopbuilder' ),
760 + 'category' => 'product',
761 + 'active' => '',
762 + 'package' => $this->pro_package(),
763 + 'fields' => [],
764 + ]
765 + ),
496 766 'product_reviews' => apply_filters(
497 767 'rtsb/elements/product_reviews/options',
498 768 [
499 769 'id' => 'product_reviews',
@@ -582,8 +852,267 @@
582 852 return apply_filters( 'rtsb/core/elements/product_page/widget_list', $list );
583 853 }
584 854
585 855 /**
856 + * Product Single Widget List.
857 + *
858 + * @return array
859 + */
860 + protected function product_quick_view() {
861 +
862 + $list = [
863 + 'qv_product_title' => apply_filters(
864 + 'rtsb/elements/qv_product_title/options',
865 + [
866 + 'id' => 'qv_product_title',
867 + 'title' => esc_html__( 'Product Title', 'shopbuilder' ),
868 + 'base_class' => Single\ProductTitle::class,
869 + 'category' => 'quick_view',
870 + 'is_front_page' => 'quick_view',
871 + 'active' => 'on',
872 + 'package' => $this->pro_package(),
873 + 'fields' => [],
874 + ]
875 + ),
876 + 'qv_product_description' => apply_filters(
877 + 'rtsb/elements/qv_product_description/options',
878 + [
879 + 'id' => 'qv_product_description',
880 + 'title' => esc_html__( 'Product Description', 'shopbuilder' ),
881 + 'base_class' => Single\ProductDescription::class,
882 + 'category' => 'quick_view',
883 + 'is_front_page' => 'quick_view',
884 + 'active' => 'on',
885 + 'package' => $this->pro_package(),
886 + 'fields' => [],
887 + ]
888 + ),
889 + 'qv_product_short_description' => apply_filters(
890 + 'rtsb/elements/qv_product_short_description/options',
891 + [
892 + 'id' => 'qv_product_short_description',
893 + 'title' => esc_html__( 'Short Description', 'shopbuilder' ),
894 + 'base_class' => Single\ShortDescription::class,
895 + 'category' => 'quick_view',
896 + 'is_front_page' => 'quick_view',
897 + 'active' => 'on',
898 + 'package' => $this->pro_package(),
899 + 'fields' => [],
900 + ]
901 + ),
902 + 'qv_product_images' => apply_filters(
903 + 'rtsb/elements/qv_product_images/options',
904 + [
905 + 'id' => 'qv_product_images',
906 + 'title' => esc_html__( 'Product Images', 'shopbuilder' ),
907 + 'base_class' => Single\ProductImages::class,
908 + 'category' => 'quick_view',
909 + 'is_front_page' => 'quick_view',
910 + 'active' => 'on',
911 + 'package' => $this->pro_package(),
912 + 'fields' => [],
913 + ]
914 + ),
915 + 'qv_product_badges' => apply_filters(
916 + 'rtsb/elements/qv_product_badges/options',
917 + [
918 + 'id' => 'qv_product_badges',
919 + 'title' => esc_html__( 'Product Badges', 'shopbuilder' ),
920 + 'base_class' => Single\ProductBadges::class,
921 + 'category' => 'quick_view',
922 + 'is_front_page' => 'quick_view',
923 + 'active' => 'on',
924 + 'package' => $this->pro_package(),
925 + 'fields' => [],
926 + ]
927 + ),
928 + 'qv_product_additional_info' => apply_filters(
929 + 'rtsb/elements/qv_product_additional_info/options',
930 + [
931 + 'id' => 'qv_product_additional_info',
932 + 'title' => esc_html__( 'Additional Information', 'shopbuilder' ),
933 + 'base_class' => Single\AdditionalInformation::class,
934 + 'category' => 'quick_view',
935 + 'is_front_page' => 'quick_view',
936 + 'active' => 'on',
937 + 'package' => $this->pro_package(),
938 + 'fields' => [],
939 + ]
940 + ),
941 + 'qv_product_price' => apply_filters(
942 + 'rtsb/elements/qv_product_price/options',
943 + [
944 + 'id' => 'qv_product_price',
945 + 'title' => esc_html__( 'Product Price', 'shopbuilder' ),
946 + 'base_class' => Single\ProductPrice::class,
947 + 'category' => 'quick_view',
948 + 'is_front_page' => 'quick_view',
949 + 'active' => 'on',
950 + 'package' => $this->pro_package(),
951 + 'fields' => [],
952 + ]
953 + ),
954 + 'qv_product_meta' => apply_filters(
955 + 'rtsb/elements/qv_product_meta/options',
956 + [
957 + 'id' => 'qv_product_meta',
958 + 'title' => esc_html__( 'Product Meta', 'shopbuilder' ),
959 + 'base_class' => Single\ProductMeta::class,
960 + 'category' => 'quick_view',
961 + 'is_front_page' => 'quick_view',
962 + 'active' => 'on',
963 + 'package' => $this->pro_package(),
964 + 'fields' => [],
965 + ]
966 + ),
967 + 'qv_product_categories' => apply_filters(
968 + 'rtsb/elements/qv_product_categories/options',
969 + [
970 + 'id' => 'qv_product_categories',
971 + 'title' => esc_html__( 'Product Categories', 'shopbuilder' ),
972 + 'base_class' => Single\ProductCats::class,
973 + 'category' => 'quick_view',
974 + 'is_front_page' => 'quick_view',
975 + 'active' => 'on',
976 + 'package' => $this->pro_package(),
977 + 'fields' => [],
978 + ]
979 + ),
980 + 'qv_product_rating' => apply_filters(
981 + 'rtsb/elements/qv_product_rating/options',
982 + [
983 + 'id' => 'qv_product_rating',
984 + 'title' => esc_html__( 'Product Rating', 'shopbuilder' ),
985 + 'base_class' => Single\ProductRating::class,
986 + 'category' => 'quick_view',
987 + 'is_front_page' => 'quick_view',
988 + 'active' => 'on',
989 + 'package' => $this->pro_package(),
990 + 'fields' => [],
991 + ]
992 + ),
993 + 'qv_product_tags' => apply_filters(
994 + 'rtsb/elements/qv_product_tags/options',
995 + [
996 + 'id' => 'qv_product_tags',
997 + 'title' => esc_html__( 'Product Tags', 'shopbuilder' ),
998 + 'base_class' => Single\ProductTags::class,
999 + 'category' => 'quick_view',
1000 + 'is_front_page' => 'quick_view',
1001 + 'active' => 'on',
1002 + 'package' => $this->pro_package(),
1003 + 'fields' => [],
1004 + ]
1005 + ),
1006 + 'qv_product_sku' => apply_filters(
1007 + 'rtsb/elements/qv_product_sku/options',
1008 + [
1009 + 'id' => 'qv_product_sku',
1010 + 'title' => esc_html__( 'Product SKU', 'shopbuilder' ),
1011 + 'base_class' => Single\ProductSKU::class,
1012 + 'category' => 'quick_view',
1013 + 'is_front_page' => 'quick_view',
1014 + 'active' => 'on',
1015 + 'package' => $this->pro_package(),
1016 + 'fields' => [],
1017 + ]
1018 + ),
1019 + 'qv_product_stock' => apply_filters(
1020 + 'rtsb/elements/qv_product_stock/options',
1021 + [
1022 + 'id' => 'qv_product_stock',
1023 + 'title' => esc_html__( 'Product Stock', 'shopbuilder' ),
1024 + 'base_class' => Single\ProductStock::class,
1025 + 'category' => 'quick_view',
1026 + 'is_front_page' => 'quick_view',
1027 + 'active' => 'on',
1028 + 'package' => $this->pro_package(),
1029 + 'fields' => [],
1030 + ]
1031 + ),
1032 + 'qv_actions_button' => apply_filters(
1033 + 'rtsb/elements/qv_actions_button/options',
1034 + [
1035 + 'id' => 'qv_actions_button',
1036 + 'title' => esc_html__( 'Action Buttons', 'shopbuilder' ),
1037 + 'base_class' => Single\ActionsButton::class,
1038 + 'category' => 'quick_view',
1039 + 'is_front_page' => 'quick_view',
1040 + 'active' => 'on',
1041 + 'package' => $this->pro_package(),
1042 + 'fields' => [],
1043 + ]
1044 + ),
1045 + 'qv_product_add_to_cart' => apply_filters(
1046 + 'rtsb/elements/qv_product_add_to_cart/options',
1047 + [
1048 + 'id' => 'qv_product_add_to_cart',
1049 + 'title' => esc_html__( 'Add to Cart', 'shopbuilder' ),
1050 + 'base_class' => Single\ProductAddToCart::class,
1051 + 'category' => 'quick_view',
1052 + 'is_front_page' => 'quick_view',
1053 + 'active' => 'on',
1054 + 'package' => $this->pro_package(),
1055 + 'fields' => [],
1056 + ]
1057 + ),
1058 + 'qv_product_sales_count' => apply_filters(
1059 + 'rtsb/elements/qv_product_sales_count/options',
1060 + [
1061 + 'id' => 'qv_product_sales_count',
1062 + 'title' => esc_html__( 'Sales Count', 'shopbuilder' ),
1063 + 'category' => 'quick_view',
1064 + 'is_front_page' => 'quick_view',
1065 + 'active' => 'on',
1066 + 'package' => $this->pro_package(),
1067 + 'fields' => [],
1068 + ]
1069 + ),
1070 + 'qv_social_share' => apply_filters(
1071 + 'rtsb/settings/qv_social_share/options',
1072 + [
1073 + 'id' => 'qv_social_share',
1074 + 'title' => esc_html__( 'Social Share', 'shopbuilder' ),
1075 + 'base_class' => General\SocialShare::class,
1076 + 'active' => 'on',
1077 + 'category' => 'quick_view',
1078 + 'is_front_page' => 'quick_view',
1079 + 'package' => $this->pro_package(),
1080 + 'fields' => [],
1081 + ]
1082 + ),
1083 + 'qv_product_quick_checkout' => apply_filters(
1084 + 'rtsb/elements/qv_product_quick_checkout/options',
1085 + [
1086 + 'id' => 'qv_product_quick_checkout',
1087 + 'title' => esc_html__( 'Quick Checkout', 'shopbuilder' ),
1088 + 'category' => 'quick_view',
1089 + 'is_front_page' => 'quick_view',
1090 + 'active' => 'on',
1091 + 'package' => $this->pro_package(),
1092 + 'fields' => [],
1093 + ]
1094 + ),
1095 +
1096 + 'qv_product_size_chart' => apply_filters(
1097 + 'rtsb/elements/qv_product_size_chart/options',
1098 + [
1099 + 'id' => 'qv_product_size_chart',
1100 + 'title' => esc_html__( 'Size Chart', 'shopbuilder' ),
1101 + 'category' => 'quick_view',
1102 + 'is_front_page' => 'quick_view',
1103 + 'active' => '',
1104 + 'package' => $this->pro_package(),
1105 + 'fields' => [],
1106 + ]
1107 + ),
1108 +
1109 + ];
1110 +
1111 + return apply_filters( 'rtsb/core/elements/quick_view/widget_list', $list );
1112 + }
1113 +
1114 + /**
586 1115 * Product Archive Widget List.
587 1116 *
588 1117 * @return array
589 1118 */
@@ -651,8 +1180,20 @@
651 1180 'package' => $this->pro_package(),
652 1181 'fields' => [],
653 1182 ]
654 1183 ),
1184 + 'product_filters' => apply_filters(
1185 + 'rtsb/elements/product_filters/options',
1186 + [
1187 + 'id' => 'product_filters',
1188 + 'title' => esc_html__( 'Product Filters', 'shopbuilder' ),
1189 + 'base_class' => Archive\ProductFilters::class,
1190 + 'category' => 'shop',
1191 + 'active' => 'on',
1192 + 'package' => 'free',
1193 + 'fields' => [],
1194 + ]
1195 + ),
655 1196
656 1197 'archive_result_count' => apply_filters(
657 1198 'rtsb/elements/archive_result_count/options',
658 1199 [
@@ -904,9 +1445,9 @@
904 1445 * @return array
905 1446 */
906 1447 protected function thankyou_page_widget_list() {
907 1448 return [
908 - 'order_received_text' => apply_filters(
1449 + 'order_received_text' => apply_filters(
909 1450 'rtsb/elements/order_received_text/options',
910 1451 [
911 1452 'id' => 'order_received_text',
912 1453 'title' => esc_html__( 'Order Received Text', 'shopbuilder' ),
@@ -916,9 +1457,9 @@
916 1457 'package' => $this->pro_package(),
917 1458 'fields' => [],
918 1459 ]
919 1460 ),
920 - 'order_details_summary' => apply_filters(
1461 + 'order_details_summary' => apply_filters(
921 1462 'rtsb/elements/order_details_summary/options',
922 1463 [
923 1464 'id' => 'order_details_summary',
924 1465 'title' => esc_html__( 'Order Details Summary', 'shopbuilder' ),
@@ -928,9 +1469,9 @@
928 1469 'package' => $this->pro_package(),
929 1470 'fields' => [],
930 1471 ]
931 1472 ),
932 - 'order_details_table' => apply_filters(
1473 + 'order_details_table' => apply_filters(
933 1474 'rtsb/elements/order_details_table/options',
934 1475 [
935 1476 'id' => 'order_details_table',
936 1477 'title' => esc_html__( 'Order Details Table', 'shopbuilder' ),
@@ -940,9 +1481,9 @@
940 1481 'package' => $this->pro_package(),
941 1482 'fields' => [],
942 1483 ]
943 1484 ),
944 - 'downloadable_products' => apply_filters(
1485 + 'downloadable_products' => apply_filters(
945 1486 'rtsb/elements/downloadable_products/options',
946 1487 [
947 1488 'id' => 'downloadable_products',
948 1489 'title' => esc_html__( 'Downloadable Products', 'shopbuilder' ),
@@ -952,9 +1493,9 @@
952 1493 'package' => $this->pro_package(),
953 1494 'fields' => [],
954 1495 ]
955 1496 ),
956 - 'order_billing_address' => apply_filters(
1497 + 'order_billing_address' => apply_filters(
957 1498 'rtsb/elements/order_billing_address/options',
958 1499 [
959 1500 'id' => 'order_billing_address',
960 1501 'title' => esc_html__( 'Order Billing Address', 'shopbuilder' ),
@@ -964,9 +1505,9 @@
964 1505 'package' => $this->pro_package(),
965 1506 'fields' => [],
966 1507 ]
967 1508 ),
968 - 'order_shipping_address' => apply_filters(
1509 + 'order_shipping_address' => apply_filters(
969 1510 'rtsb/elements/order_shipping_address/options',
970 1511 [
971 1512 'id' => 'order_shipping_address',
972 1513 'title' => esc_html__( 'Order Shipping Address', 'shopbuilder' ),
@@ -976,11 +1517,45 @@
976 1517 'package' => $this->pro_package(),
977 1518 'fields' => [],
978 1519 ]
979 1520 ),
1521 + 'order_custom_fields_data' => apply_filters(
1522 + 'rtsb/elements/order_custom_fields_data/options',
1523 + [
1524 + 'id' => 'order_custom_fields_data',
1525 + 'title' => esc_html__( 'Checkout Form Custom Fields Data', 'shopbuilder' ),
1526 + 'category' => 'thank_you',
1527 + 'is_front_page' => 'thank_you',
1528 + 'active' => 'on',
1529 + 'package' => $this->pro_package(),
1530 + 'fields' => [],
1531 + ]
1532 + ),
980 1533 ];
981 1534 }
1535 + /**
1536 + * Checkout Page Order Pay Widget List.
1537 + *
1538 + * @return array
1539 + */
1540 + protected function orderpay_page_widget_list() {
1541 + return [
1542 + 'order_pay_form' => apply_filters(
1543 + 'rtsb/elements/order_pay_form/options',
1544 + [
1545 + 'id' => 'order_pay_form',
1546 + 'title' => esc_html__( 'Order Pay Form', 'shopbuilder' ),
1547 + 'category' => 'myaccount_dashboard',
1548 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1549 + 'active' => 'on',
1550 + 'package' => $this->pro_package(),
1551 + 'fields' => [],
1552 + ]
1553 + ),
982 1554
1555 + ];
1556 + }
1557 +
983 1558 /**
984 1559 * Checkout Page Widget List.
985 1560 *
986 1561 * @return array
@@ -985,10 +1560,9 @@
985 1560 *
986 1561 * @return array
987 1562 */
988 1563 protected function my_account_page_widget_list() {
989 - return [
990 -
1564 + $widgets = [
991 1565 'account_navigation_edit_shipping' => apply_filters(
992 1566 'rtsb/elements/account_navigation_edit_shipping/options',
993 1567 [
994 1568 'id' => 'account_navigation_edit_shipping',
@@ -1005,9 +1579,9 @@
1005 1579 [
1006 1580 'id' => 'account_dashboard',
1007 1581 'title' => esc_html__( 'Account Dashboard', 'shopbuilder' ),
1008 1582 'category' => 'myaccount_dashboard',
1009 - 'is_front_page' => 'myaccount_dashboard',
1583 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1010 1584 'active' => 'on',
1011 1585 'package' => $this->pro_package(),
1012 1586 'fields' => [],
1013 1587 ]
@@ -1017,9 +1591,9 @@
1017 1591 [
1018 1592 'id' => 'account_orders',
1019 1593 'title' => esc_html__( 'Account Orders', 'shopbuilder' ),
1020 1594 'category' => 'myaccount_dashboard',
1021 - 'is_front_page' => 'myaccount_order',
1595 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1022 1596 'active' => 'on',
1023 1597 'package' => $this->pro_package(),
1024 1598 'fields' => [],
1025 1599 ]
@@ -1029,9 +1603,9 @@
1029 1603 [
1030 1604 'id' => 'account_downloads',
1031 1605 'title' => esc_html__( 'Account Downloads', 'shopbuilder' ),
1032 1606 'category' => 'myaccount_dashboard',
1033 - 'is_front_page' => 'myaccount_downloads',
1607 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1034 1608 'active' => 'on',
1035 1609 'package' => $this->pro_package(),
1036 1610 'fields' => [],
1037 1611 ]
@@ -1041,9 +1615,9 @@
1041 1615 [
1042 1616 'id' => 'account_billing_address',
1043 1617 'title' => esc_html__( 'Account Billing Address', 'shopbuilder' ),
1044 1618 'category' => 'myaccount_dashboard',
1045 - 'is_front_page' => 'myaccount_address',
1619 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1046 1620 'active' => 'on',
1047 1621 'package' => $this->pro_package(),
1048 1622 'fields' => [],
1049 1623 ]
@@ -1053,9 +1627,9 @@
1053 1627 [
1054 1628 'id' => 'account_shipping_address',
1055 1629 'title' => esc_html__( 'Account Shipping Address', 'shopbuilder' ),
1056 1630 'category' => 'myaccount_dashboard',
1057 - 'is_front_page' => 'myaccount_address',
1631 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1058 1632 'active' => 'on',
1059 1633 'package' => $this->pro_package(),
1060 1634 'fields' => [],
1061 1635 ]
@@ -1065,9 +1639,9 @@
1065 1639 [
1066 1640 'id' => 'account_address_description',
1067 1641 'title' => esc_html__( 'Account Address Description', 'shopbuilder' ),
1068 1642 'category' => 'myaccount_dashboard',
1069 - 'is_front_page' => 'myaccount_address',
1643 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1070 1644 'active' => 'on',
1071 1645 'package' => $this->pro_package(),
1072 1646 'fields' => [],
1073 1647 ]
@@ -1077,9 +1651,9 @@
1077 1651 [
1078 1652 'id' => 'account_details',
1079 1653 'title' => esc_html__( 'Account Edit / Details', 'shopbuilder' ),
1080 1654 'category' => 'myaccount_dashboard',
1081 - 'is_front_page' => 'myaccount_edit_details',
1655 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1082 1656 'active' => 'on',
1083 1657 'package' => $this->pro_package(),
1084 1658 'fields' => [],
1085 1659 ]
@@ -1089,9 +1663,9 @@
1089 1663 [
1090 1664 'id' => 'account_order_status',
1091 1665 'title' => esc_html__( 'Account Order Status', 'shopbuilder' ),
1092 1666 'category' => 'myaccount_dashboard',
1093 - 'is_front_page' => 'myaccount_orders_details',
1667 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1094 1668 'active' => 'on',
1095 1669 'package' => $this->pro_package(),
1096 1670 'fields' => [],
1097 1671 ]
@@ -1101,9 +1675,9 @@
1101 1675 [
1102 1676 'id' => 'account_order_details_download',
1103 1677 'title' => esc_html__( 'Account Order Download', 'shopbuilder' ),
1104 1678 'category' => 'myaccount_dashboard',
1105 - 'is_front_page' => 'myaccount_orders_details',
1679 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1106 1680 'active' => 'on',
1107 1681 'package' => $this->pro_package(),
1108 1682 'fields' => [],
1109 1683 ]
@@ -1113,9 +1687,9 @@
1113 1687 [
1114 1688 'id' => 'account_order_details_note',
1115 1689 'title' => esc_html__( 'Account Order Note', 'shopbuilder' ),
1116 1690 'category' => 'myaccount_dashboard',
1117 - 'is_front_page' => 'myaccount_orders_details',
1691 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1118 1692 'active' => 'on',
1119 1693 'package' => $this->pro_package(),
1120 1694 'fields' => [],
1121 1695 ]
@@ -1125,9 +1699,9 @@
1125 1699 [
1126 1700 'id' => 'account_order_details_table',
1127 1701 'title' => esc_html__( 'Account Order Table', 'shopbuilder' ),
1128 1702 'category' => 'myaccount_dashboard',
1129 - 'is_front_page' => 'myaccount_orders_details',
1703 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1130 1704 'active' => 'on',
1131 1705 'package' => $this->pro_package(),
1132 1706 'fields' => [],
1133 1707 ]
@@ -1137,9 +1711,9 @@
1137 1711 [
1138 1712 'id' => 'account_order_details_order_again',
1139 1713 'title' => esc_html__( 'Account Order Again Button', 'shopbuilder' ),
1140 1714 'category' => 'myaccount_dashboard',
1141 - 'is_front_page' => 'myaccount_orders_details',
1715 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1142 1716 'active' => 'on',
1143 1717 'package' => $this->pro_package(),
1144 1718 'fields' => [],
1145 1719 ]
@@ -1149,9 +1723,9 @@
1149 1723 [
1150 1724 'id' => 'account_order_details_order_shipping',
1151 1725 'title' => esc_html__( 'Account Order Shipping', 'shopbuilder' ),
1152 1726 'category' => 'myaccount_dashboard',
1153 - 'is_front_page' => 'myaccount_orders_details',
1727 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1154 1728 'active' => 'on',
1155 1729 'package' => $this->pro_package(),
1156 1730 'fields' => [],
1157 1731 ]
@@ -1161,9 +1735,9 @@
1161 1735 [
1162 1736 'id' => 'account_order_details_order_billing',
1163 1737 'title' => esc_html__( 'Account Order Billing', 'shopbuilder' ),
1164 1738 'category' => 'myaccount_dashboard',
1165 - 'is_front_page' => 'myaccount_orders_details',
1739 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1166 1740 'active' => 'on',
1167 1741 'package' => $this->pro_package(),
1168 1742 'fields' => [],
1169 1743 ]
@@ -1173,9 +1747,9 @@
1173 1747 [
1174 1748 'id' => 'account_edit_billing_address',
1175 1749 'title' => esc_html__( 'Edit Billing Address', 'shopbuilder' ),
1176 1750 'category' => 'myaccount_dashboard',
1177 - 'is_front_page' => 'myaccount_edit_billing_address',
1751 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1178 1752 'active' => 'on',
1179 1753 'package' => $this->pro_package(),
1180 1754 'fields' => [],
1181 1755 ]
@@ -1185,9 +1759,9 @@
1185 1759 [
1186 1760 'id' => 'account_edit_shipping_address',
1187 1761 'title' => esc_html__( 'Edit Shipping Address', 'shopbuilder' ),
1188 1762 'category' => 'myaccount_dashboard',
1189 - 'is_front_page' => 'myaccount_edit_shipping_address',
1763 + 'is_front_page' => 'all_myaccount_dashboard_inner',
1190 1764 'active' => 'on',
1191 1765 'package' => $this->pro_package(),
1192 1766 'fields' => [],
1193 1767 ]
@@ -1192,8 +1766,10 @@
1192 1766 'fields' => [],
1193 1767 ]
1194 1768 ),
1195 1769 ];
1770 +
1771 + return apply_filters( 'rtsb/core/elements/my_account/widget_list', $widgets );
1196 1772 }
1197 1773
1198 1774 /***
1199 1775 * @return array
@@ -1241,9 +1817,9 @@
1241 1817 [
1242 1818 'id' => 'account_lost_password',
1243 1819 'title' => esc_html__( 'Lost Password Form', 'shopbuilder' ),
1244 1820 'category' => 'others_widget',
1245 - 'is_front_page' => 'myaccount_lost_password',
1821 + 'is_front_page' => 'myaccount_auth',
1246 1822 'active' => 'on',
1247 1823 'package' => $this->pro_package(),
1248 1824 'fields' => [],
1249 1825 ]