| @@ -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,8 +243,233 @@ | ||
| 206 | 243 | 'package' => 'free', |
| 207 | 244 | 'fields' => [], |
| 208 | 245 | ] |
| 209 | 246 | ), |
| 247 | + 'dropcaps' => apply_filters( | |
| 248 | + 'rtsb/elements/dropcaps/options', | |
| 249 | + [ | |
| 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' ), | |
| 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 | + ), | |
| 210 | 472 | ]; |
| 211 | 473 | |
| 212 | 474 | return apply_filters( 'rtsb/core/elements/general/widget_list', $list ); |
| 213 | 475 | } |
| @@ -271,10 +533,10 @@ | ||
| 271 | 533 | 'product_onsale' => apply_filters( |
| 272 | 534 | 'rtsb/elements/product_onsale/options', |
| 273 | 535 | [ |
| 274 | 536 | 'id' => 'product_onsale', |
| 275 | - 'title' => esc_html__( 'Sale Flash - Onsale', 'shopbuilder' ), | |
| 276 | - 'base_class' => Single\ProductOnSale::class, | |
| 537 | + 'title' => esc_html__( 'Product Badges', 'shopbuilder' ), | |
| 538 | + 'base_class' => Single\ProductBadges::class, | |
| 277 | 539 | 'category' => 'product', |
| 278 | 540 | 'active' => 'on', |
| 279 | 541 | 'package' => 'free', |
| 280 | 542 | 'fields' => [], |
| @@ -422,8 +684,19 @@ | ||
| 422 | 684 | 'package' => $this->pro_package(), |
| 423 | 685 | 'fields' => [], |
| 424 | 686 | ] |
| 425 | 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 | + ), | |
| 426 | 699 | 'flash_sale_countdown' => apply_filters( |
| 427 | 700 | 'rtsb/elements/flash_sale_countdown/options', |
| 428 | 701 | [ |
| 429 | 702 | 'id' => 'flash_sale_countdown', |
| @@ -478,8 +751,19 @@ | ||
| 478 | 751 | 'package' => $this->pro_package(), |
| 479 | 752 | 'fields' => [], |
| 480 | 753 | ] |
| 481 | 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 | + ), | |
| 482 | 766 | 'product_reviews' => apply_filters( |
| 483 | 767 | 'rtsb/elements/product_reviews/options', |
| 484 | 768 | [ |
| 485 | 769 | 'id' => 'product_reviews', |
| @@ -568,8 +852,267 @@ | ||
| 568 | 852 | return apply_filters( 'rtsb/core/elements/product_page/widget_list', $list ); |
| 569 | 853 | } |
| 570 | 854 | |
| 571 | 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 | + /** | |
| 572 | 1115 | * Product Archive Widget List. |
| 573 | 1116 | * |
| 574 | 1117 | * @return array |
| 575 | 1118 | */ |
| @@ -637,8 +1180,20 @@ | ||
| 637 | 1180 | 'package' => $this->pro_package(), |
| 638 | 1181 | 'fields' => [], |
| 639 | 1182 | ] |
| 640 | 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 | + ), | |
| 641 | 1196 | |
| 642 | 1197 | 'archive_result_count' => apply_filters( |
| 643 | 1198 | 'rtsb/elements/archive_result_count/options', |
| 644 | 1199 | [ |
| @@ -890,9 +1445,9 @@ | ||
| 890 | 1445 | * @return array |
| 891 | 1446 | */ |
| 892 | 1447 | protected function thankyou_page_widget_list() { |
| 893 | 1448 | return [ |
| 894 | - 'order_received_text' => apply_filters( | |
| 1449 | + 'order_received_text' => apply_filters( | |
| 895 | 1450 | 'rtsb/elements/order_received_text/options', |
| 896 | 1451 | [ |
| 897 | 1452 | 'id' => 'order_received_text', |
| 898 | 1453 | 'title' => esc_html__( 'Order Received Text', 'shopbuilder' ), |
| @@ -902,9 +1457,9 @@ | ||
| 902 | 1457 | 'package' => $this->pro_package(), |
| 903 | 1458 | 'fields' => [], |
| 904 | 1459 | ] |
| 905 | 1460 | ), |
| 906 | - 'order_details_summary' => apply_filters( | |
| 1461 | + 'order_details_summary' => apply_filters( | |
| 907 | 1462 | 'rtsb/elements/order_details_summary/options', |
| 908 | 1463 | [ |
| 909 | 1464 | 'id' => 'order_details_summary', |
| 910 | 1465 | 'title' => esc_html__( 'Order Details Summary', 'shopbuilder' ), |
| @@ -914,9 +1469,9 @@ | ||
| 914 | 1469 | 'package' => $this->pro_package(), |
| 915 | 1470 | 'fields' => [], |
| 916 | 1471 | ] |
| 917 | 1472 | ), |
| 918 | - 'order_details_table' => apply_filters( | |
| 1473 | + 'order_details_table' => apply_filters( | |
| 919 | 1474 | 'rtsb/elements/order_details_table/options', |
| 920 | 1475 | [ |
| 921 | 1476 | 'id' => 'order_details_table', |
| 922 | 1477 | 'title' => esc_html__( 'Order Details Table', 'shopbuilder' ), |
| @@ -926,9 +1481,9 @@ | ||
| 926 | 1481 | 'package' => $this->pro_package(), |
| 927 | 1482 | 'fields' => [], |
| 928 | 1483 | ] |
| 929 | 1484 | ), |
| 930 | - 'downloadable_products' => apply_filters( | |
| 1485 | + 'downloadable_products' => apply_filters( | |
| 931 | 1486 | 'rtsb/elements/downloadable_products/options', |
| 932 | 1487 | [ |
| 933 | 1488 | 'id' => 'downloadable_products', |
| 934 | 1489 | 'title' => esc_html__( 'Downloadable Products', 'shopbuilder' ), |
| @@ -938,9 +1493,9 @@ | ||
| 938 | 1493 | 'package' => $this->pro_package(), |
| 939 | 1494 | 'fields' => [], |
| 940 | 1495 | ] |
| 941 | 1496 | ), |
| 942 | - 'order_billing_address' => apply_filters( | |
| 1497 | + 'order_billing_address' => apply_filters( | |
| 943 | 1498 | 'rtsb/elements/order_billing_address/options', |
| 944 | 1499 | [ |
| 945 | 1500 | 'id' => 'order_billing_address', |
| 946 | 1501 | 'title' => esc_html__( 'Order Billing Address', 'shopbuilder' ), |
| @@ -950,9 +1505,9 @@ | ||
| 950 | 1505 | 'package' => $this->pro_package(), |
| 951 | 1506 | 'fields' => [], |
| 952 | 1507 | ] |
| 953 | 1508 | ), |
| 954 | - 'order_shipping_address' => apply_filters( | |
| 1509 | + 'order_shipping_address' => apply_filters( | |
| 955 | 1510 | 'rtsb/elements/order_shipping_address/options', |
| 956 | 1511 | [ |
| 957 | 1512 | 'id' => 'order_shipping_address', |
| 958 | 1513 | 'title' => esc_html__( 'Order Shipping Address', 'shopbuilder' ), |
| @@ -962,11 +1517,45 @@ | ||
| 962 | 1517 | 'package' => $this->pro_package(), |
| 963 | 1518 | 'fields' => [], |
| 964 | 1519 | ] |
| 965 | 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 | + ), | |
| 966 | 1533 | ]; |
| 967 | 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 | + ), | |
| 968 | 1554 | |
| 1555 | + ]; | |
| 1556 | + } | |
| 1557 | + | |
| 969 | 1558 | /** |
| 970 | 1559 | * Checkout Page Widget List. |
| 971 | 1560 | * |
| 972 | 1561 | * @return array |
| @@ -971,10 +1560,9 @@ | ||
| 971 | 1560 | * |
| 972 | 1561 | * @return array |
| 973 | 1562 | */ |
| 974 | 1563 | protected function my_account_page_widget_list() { |
| 975 | - return [ | |
| 976 | - | |
| 1564 | + $widgets = [ | |
| 977 | 1565 | 'account_navigation_edit_shipping' => apply_filters( |
| 978 | 1566 | 'rtsb/elements/account_navigation_edit_shipping/options', |
| 979 | 1567 | [ |
| 980 | 1568 | 'id' => 'account_navigation_edit_shipping', |
| @@ -991,9 +1579,9 @@ | ||
| 991 | 1579 | [ |
| 992 | 1580 | 'id' => 'account_dashboard', |
| 993 | 1581 | 'title' => esc_html__( 'Account Dashboard', 'shopbuilder' ), |
| 994 | 1582 | 'category' => 'myaccount_dashboard', |
| 995 | - 'is_front_page' => 'myaccount_dashboard', | |
| 1583 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 996 | 1584 | 'active' => 'on', |
| 997 | 1585 | 'package' => $this->pro_package(), |
| 998 | 1586 | 'fields' => [], |
| 999 | 1587 | ] |
| @@ -1003,9 +1591,9 @@ | ||
| 1003 | 1591 | [ |
| 1004 | 1592 | 'id' => 'account_orders', |
| 1005 | 1593 | 'title' => esc_html__( 'Account Orders', 'shopbuilder' ), |
| 1006 | 1594 | 'category' => 'myaccount_dashboard', |
| 1007 | - 'is_front_page' => 'myaccount_order', | |
| 1595 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1008 | 1596 | 'active' => 'on', |
| 1009 | 1597 | 'package' => $this->pro_package(), |
| 1010 | 1598 | 'fields' => [], |
| 1011 | 1599 | ] |
| @@ -1015,9 +1603,9 @@ | ||
| 1015 | 1603 | [ |
| 1016 | 1604 | 'id' => 'account_downloads', |
| 1017 | 1605 | 'title' => esc_html__( 'Account Downloads', 'shopbuilder' ), |
| 1018 | 1606 | 'category' => 'myaccount_dashboard', |
| 1019 | - 'is_front_page' => 'myaccount_downloads', | |
| 1607 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1020 | 1608 | 'active' => 'on', |
| 1021 | 1609 | 'package' => $this->pro_package(), |
| 1022 | 1610 | 'fields' => [], |
| 1023 | 1611 | ] |
| @@ -1027,9 +1615,9 @@ | ||
| 1027 | 1615 | [ |
| 1028 | 1616 | 'id' => 'account_billing_address', |
| 1029 | 1617 | 'title' => esc_html__( 'Account Billing Address', 'shopbuilder' ), |
| 1030 | 1618 | 'category' => 'myaccount_dashboard', |
| 1031 | - 'is_front_page' => 'myaccount_address', | |
| 1619 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1032 | 1620 | 'active' => 'on', |
| 1033 | 1621 | 'package' => $this->pro_package(), |
| 1034 | 1622 | 'fields' => [], |
| 1035 | 1623 | ] |
| @@ -1039,9 +1627,9 @@ | ||
| 1039 | 1627 | [ |
| 1040 | 1628 | 'id' => 'account_shipping_address', |
| 1041 | 1629 | 'title' => esc_html__( 'Account Shipping Address', 'shopbuilder' ), |
| 1042 | 1630 | 'category' => 'myaccount_dashboard', |
| 1043 | - 'is_front_page' => 'myaccount_address', | |
| 1631 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1044 | 1632 | 'active' => 'on', |
| 1045 | 1633 | 'package' => $this->pro_package(), |
| 1046 | 1634 | 'fields' => [], |
| 1047 | 1635 | ] |
| @@ -1051,9 +1639,9 @@ | ||
| 1051 | 1639 | [ |
| 1052 | 1640 | 'id' => 'account_address_description', |
| 1053 | 1641 | 'title' => esc_html__( 'Account Address Description', 'shopbuilder' ), |
| 1054 | 1642 | 'category' => 'myaccount_dashboard', |
| 1055 | - 'is_front_page' => 'myaccount_address', | |
| 1643 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1056 | 1644 | 'active' => 'on', |
| 1057 | 1645 | 'package' => $this->pro_package(), |
| 1058 | 1646 | 'fields' => [], |
| 1059 | 1647 | ] |
| @@ -1063,9 +1651,9 @@ | ||
| 1063 | 1651 | [ |
| 1064 | 1652 | 'id' => 'account_details', |
| 1065 | 1653 | 'title' => esc_html__( 'Account Edit / Details', 'shopbuilder' ), |
| 1066 | 1654 | 'category' => 'myaccount_dashboard', |
| 1067 | - 'is_front_page' => 'myaccount_edit_details', | |
| 1655 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1068 | 1656 | 'active' => 'on', |
| 1069 | 1657 | 'package' => $this->pro_package(), |
| 1070 | 1658 | 'fields' => [], |
| 1071 | 1659 | ] |
| @@ -1075,9 +1663,9 @@ | ||
| 1075 | 1663 | [ |
| 1076 | 1664 | 'id' => 'account_order_status', |
| 1077 | 1665 | 'title' => esc_html__( 'Account Order Status', 'shopbuilder' ), |
| 1078 | 1666 | 'category' => 'myaccount_dashboard', |
| 1079 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1667 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1080 | 1668 | 'active' => 'on', |
| 1081 | 1669 | 'package' => $this->pro_package(), |
| 1082 | 1670 | 'fields' => [], |
| 1083 | 1671 | ] |
| @@ -1087,9 +1675,9 @@ | ||
| 1087 | 1675 | [ |
| 1088 | 1676 | 'id' => 'account_order_details_download', |
| 1089 | 1677 | 'title' => esc_html__( 'Account Order Download', 'shopbuilder' ), |
| 1090 | 1678 | 'category' => 'myaccount_dashboard', |
| 1091 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1679 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1092 | 1680 | 'active' => 'on', |
| 1093 | 1681 | 'package' => $this->pro_package(), |
| 1094 | 1682 | 'fields' => [], |
| 1095 | 1683 | ] |
| @@ -1099,9 +1687,9 @@ | ||
| 1099 | 1687 | [ |
| 1100 | 1688 | 'id' => 'account_order_details_note', |
| 1101 | 1689 | 'title' => esc_html__( 'Account Order Note', 'shopbuilder' ), |
| 1102 | 1690 | 'category' => 'myaccount_dashboard', |
| 1103 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1691 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1104 | 1692 | 'active' => 'on', |
| 1105 | 1693 | 'package' => $this->pro_package(), |
| 1106 | 1694 | 'fields' => [], |
| 1107 | 1695 | ] |
| @@ -1111,9 +1699,9 @@ | ||
| 1111 | 1699 | [ |
| 1112 | 1700 | 'id' => 'account_order_details_table', |
| 1113 | 1701 | 'title' => esc_html__( 'Account Order Table', 'shopbuilder' ), |
| 1114 | 1702 | 'category' => 'myaccount_dashboard', |
| 1115 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1703 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1116 | 1704 | 'active' => 'on', |
| 1117 | 1705 | 'package' => $this->pro_package(), |
| 1118 | 1706 | 'fields' => [], |
| 1119 | 1707 | ] |
| @@ -1123,9 +1711,9 @@ | ||
| 1123 | 1711 | [ |
| 1124 | 1712 | 'id' => 'account_order_details_order_again', |
| 1125 | 1713 | 'title' => esc_html__( 'Account Order Again Button', 'shopbuilder' ), |
| 1126 | 1714 | 'category' => 'myaccount_dashboard', |
| 1127 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1715 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1128 | 1716 | 'active' => 'on', |
| 1129 | 1717 | 'package' => $this->pro_package(), |
| 1130 | 1718 | 'fields' => [], |
| 1131 | 1719 | ] |
| @@ -1135,9 +1723,9 @@ | ||
| 1135 | 1723 | [ |
| 1136 | 1724 | 'id' => 'account_order_details_order_shipping', |
| 1137 | 1725 | 'title' => esc_html__( 'Account Order Shipping', 'shopbuilder' ), |
| 1138 | 1726 | 'category' => 'myaccount_dashboard', |
| 1139 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1727 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1140 | 1728 | 'active' => 'on', |
| 1141 | 1729 | 'package' => $this->pro_package(), |
| 1142 | 1730 | 'fields' => [], |
| 1143 | 1731 | ] |
| @@ -1147,9 +1735,9 @@ | ||
| 1147 | 1735 | [ |
| 1148 | 1736 | 'id' => 'account_order_details_order_billing', |
| 1149 | 1737 | 'title' => esc_html__( 'Account Order Billing', 'shopbuilder' ), |
| 1150 | 1738 | 'category' => 'myaccount_dashboard', |
| 1151 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1739 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1152 | 1740 | 'active' => 'on', |
| 1153 | 1741 | 'package' => $this->pro_package(), |
| 1154 | 1742 | 'fields' => [], |
| 1155 | 1743 | ] |
| @@ -1159,9 +1747,9 @@ | ||
| 1159 | 1747 | [ |
| 1160 | 1748 | 'id' => 'account_edit_billing_address', |
| 1161 | 1749 | 'title' => esc_html__( 'Edit Billing Address', 'shopbuilder' ), |
| 1162 | 1750 | 'category' => 'myaccount_dashboard', |
| 1163 | - 'is_front_page' => 'myaccount_edit_billing_address', | |
| 1751 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1164 | 1752 | 'active' => 'on', |
| 1165 | 1753 | 'package' => $this->pro_package(), |
| 1166 | 1754 | 'fields' => [], |
| 1167 | 1755 | ] |
| @@ -1171,9 +1759,9 @@ | ||
| 1171 | 1759 | [ |
| 1172 | 1760 | 'id' => 'account_edit_shipping_address', |
| 1173 | 1761 | 'title' => esc_html__( 'Edit Shipping Address', 'shopbuilder' ), |
| 1174 | 1762 | 'category' => 'myaccount_dashboard', |
| 1175 | - 'is_front_page' => 'myaccount_edit_shipping_address', | |
| 1763 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1176 | 1764 | 'active' => 'on', |
| 1177 | 1765 | 'package' => $this->pro_package(), |
| 1178 | 1766 | 'fields' => [], |
| 1179 | 1767 | ] |
| @@ -1178,8 +1766,10 @@ | ||
| 1178 | 1766 | 'fields' => [], |
| 1179 | 1767 | ] |
| 1180 | 1768 | ), |
| 1181 | 1769 | ]; |
| 1770 | + | |
| 1771 | + return apply_filters( 'rtsb/core/elements/my_account/widget_list', $widgets ); | |
| 1182 | 1772 | } |
| 1183 | 1773 | |
| 1184 | 1774 | /*** |
| 1185 | 1775 | * @return array |
| @@ -1227,9 +1817,9 @@ | ||
| 1227 | 1817 | [ |
| 1228 | 1818 | 'id' => 'account_lost_password', |
| 1229 | 1819 | 'title' => esc_html__( 'Lost Password Form', 'shopbuilder' ), |
| 1230 | 1820 | 'category' => 'others_widget', |
| 1231 | - 'is_front_page' => 'myaccount_lost_password', | |
| 1821 | + 'is_front_page' => 'myaccount_auth', | |
| 1232 | 1822 | 'active' => 'on', |
| 1233 | 1823 | 'package' => $this->pro_package(), |
| 1234 | 1824 | 'fields' => [], |
| 1235 | 1825 | ] |