| @@ -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,10 +243,256 @@ | ||
| 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 | + ), | |
| 472 | + 'advanced_ajax_search' => apply_filters( | |
| 473 | + 'rtsb/elements/advanced_ajax_search/options', | |
| 474 | + [ | |
| 475 | + 'id' => 'advanced_ajax_search', | |
| 476 | + 'title' => esc_html__( 'Advanced Ajax Search', 'shopbuilder' ), | |
| 477 | + 'category' => 'general', | |
| 478 | + 'active' => '', | |
| 479 | + 'package' => $this->pro_package(), | |
| 480 | + 'fields' => [], | |
| 481 | + ] | |
| 482 | + ), | |
| 483 | + 'save_for_buy_later' => apply_filters( | |
| 484 | + 'rtsb/elements/save_for_buy_later/options', | |
| 485 | + [ | |
| 486 | + 'id' => 'save_for_buy_later', | |
| 487 | + 'title' => esc_html__( 'Saved For Buy Later', 'shopbuilder' ), | |
| 488 | + 'category' => 'general', | |
| 489 | + 'active' => '', | |
| 490 | + 'package' => $this->pro_package(), | |
| 491 | + 'fields' => [], | |
| 492 | + ] | |
| 493 | + ), | |
| 210 | 494 | ]; |
| 211 | - | |
| 212 | 495 | return apply_filters( 'rtsb/core/elements/general/widget_list', $list ); |
| 213 | 496 | } |
| 214 | 497 | |
| 215 | 498 | /** |
| @@ -271,10 +554,10 @@ | ||
| 271 | 554 | 'product_onsale' => apply_filters( |
| 272 | 555 | 'rtsb/elements/product_onsale/options', |
| 273 | 556 | [ |
| 274 | 557 | 'id' => 'product_onsale', |
| 275 | - 'title' => esc_html__( 'Sale Flash - Onsale', 'shopbuilder' ), | |
| 276 | - 'base_class' => Single\ProductOnSale::class, | |
| 558 | + 'title' => esc_html__( 'Product Badges', 'shopbuilder' ), | |
| 559 | + 'base_class' => Single\ProductBadges::class, | |
| 277 | 560 | 'category' => 'product', |
| 278 | 561 | 'active' => 'on', |
| 279 | 562 | 'package' => 'free', |
| 280 | 563 | 'fields' => [], |
| @@ -422,8 +705,19 @@ | ||
| 422 | 705 | 'package' => $this->pro_package(), |
| 423 | 706 | 'fields' => [], |
| 424 | 707 | ] |
| 425 | 708 | ), |
| 709 | + 'product_stock_counter' => apply_filters( | |
| 710 | + 'rtsb/elements/product_stock_counter/options', | |
| 711 | + [ | |
| 712 | + 'id' => 'product_stock_counter', | |
| 713 | + 'title' => esc_html__( 'Product Stock Count', 'shopbuilder' ), | |
| 714 | + 'category' => 'product', | |
| 715 | + 'active' => '', | |
| 716 | + 'package' => $this->pro_package(), | |
| 717 | + 'fields' => [], | |
| 718 | + ] | |
| 719 | + ), | |
| 426 | 720 | 'flash_sale_countdown' => apply_filters( |
| 427 | 721 | 'rtsb/elements/flash_sale_countdown/options', |
| 428 | 722 | [ |
| 429 | 723 | 'id' => 'flash_sale_countdown', |
| @@ -478,8 +772,19 @@ | ||
| 478 | 772 | 'package' => $this->pro_package(), |
| 479 | 773 | 'fields' => [], |
| 480 | 774 | ] |
| 481 | 775 | ), |
| 776 | + 'product_qr_code' => apply_filters( | |
| 777 | + 'rtsb/elements/product_qr_code/options', | |
| 778 | + [ | |
| 779 | + 'id' => 'product_qr_code', | |
| 780 | + 'title' => esc_html__( 'QR Code', 'shopbuilder' ), | |
| 781 | + 'category' => 'product', | |
| 782 | + 'active' => '', | |
| 783 | + 'package' => $this->pro_package(), | |
| 784 | + 'fields' => [], | |
| 785 | + ] | |
| 786 | + ), | |
| 482 | 787 | 'product_reviews' => apply_filters( |
| 483 | 788 | 'rtsb/elements/product_reviews/options', |
| 484 | 789 | [ |
| 485 | 790 | 'id' => 'product_reviews', |
| @@ -568,8 +873,267 @@ | ||
| 568 | 873 | return apply_filters( 'rtsb/core/elements/product_page/widget_list', $list ); |
| 569 | 874 | } |
| 570 | 875 | |
| 571 | 876 | /** |
| 877 | + * Product Single Widget List. | |
| 878 | + * | |
| 879 | + * @return array | |
| 880 | + */ | |
| 881 | + protected function product_quick_view() { | |
| 882 | + | |
| 883 | + $list = [ | |
| 884 | + 'qv_product_title' => apply_filters( | |
| 885 | + 'rtsb/elements/qv_product_title/options', | |
| 886 | + [ | |
| 887 | + 'id' => 'qv_product_title', | |
| 888 | + 'title' => esc_html__( 'Product Title', 'shopbuilder' ), | |
| 889 | + 'base_class' => Single\ProductTitle::class, | |
| 890 | + 'category' => 'quick_view', | |
| 891 | + 'is_front_page' => 'quick_view', | |
| 892 | + 'active' => 'on', | |
| 893 | + 'package' => $this->pro_package(), | |
| 894 | + 'fields' => [], | |
| 895 | + ] | |
| 896 | + ), | |
| 897 | + 'qv_product_description' => apply_filters( | |
| 898 | + 'rtsb/elements/qv_product_description/options', | |
| 899 | + [ | |
| 900 | + 'id' => 'qv_product_description', | |
| 901 | + 'title' => esc_html__( 'Product Description', 'shopbuilder' ), | |
| 902 | + 'base_class' => Single\ProductDescription::class, | |
| 903 | + 'category' => 'quick_view', | |
| 904 | + 'is_front_page' => 'quick_view', | |
| 905 | + 'active' => 'on', | |
| 906 | + 'package' => $this->pro_package(), | |
| 907 | + 'fields' => [], | |
| 908 | + ] | |
| 909 | + ), | |
| 910 | + 'qv_product_short_description' => apply_filters( | |
| 911 | + 'rtsb/elements/qv_product_short_description/options', | |
| 912 | + [ | |
| 913 | + 'id' => 'qv_product_short_description', | |
| 914 | + 'title' => esc_html__( 'Short Description', 'shopbuilder' ), | |
| 915 | + 'base_class' => Single\ShortDescription::class, | |
| 916 | + 'category' => 'quick_view', | |
| 917 | + 'is_front_page' => 'quick_view', | |
| 918 | + 'active' => 'on', | |
| 919 | + 'package' => $this->pro_package(), | |
| 920 | + 'fields' => [], | |
| 921 | + ] | |
| 922 | + ), | |
| 923 | + 'qv_product_images' => apply_filters( | |
| 924 | + 'rtsb/elements/qv_product_images/options', | |
| 925 | + [ | |
| 926 | + 'id' => 'qv_product_images', | |
| 927 | + 'title' => esc_html__( 'Product Images', 'shopbuilder' ), | |
| 928 | + 'base_class' => Single\ProductImages::class, | |
| 929 | + 'category' => 'quick_view', | |
| 930 | + 'is_front_page' => 'quick_view', | |
| 931 | + 'active' => 'on', | |
| 932 | + 'package' => $this->pro_package(), | |
| 933 | + 'fields' => [], | |
| 934 | + ] | |
| 935 | + ), | |
| 936 | + 'qv_product_badges' => apply_filters( | |
| 937 | + 'rtsb/elements/qv_product_badges/options', | |
| 938 | + [ | |
| 939 | + 'id' => 'qv_product_badges', | |
| 940 | + 'title' => esc_html__( 'Product Badges', 'shopbuilder' ), | |
| 941 | + 'base_class' => Single\ProductBadges::class, | |
| 942 | + 'category' => 'quick_view', | |
| 943 | + 'is_front_page' => 'quick_view', | |
| 944 | + 'active' => 'on', | |
| 945 | + 'package' => $this->pro_package(), | |
| 946 | + 'fields' => [], | |
| 947 | + ] | |
| 948 | + ), | |
| 949 | + 'qv_product_additional_info' => apply_filters( | |
| 950 | + 'rtsb/elements/qv_product_additional_info/options', | |
| 951 | + [ | |
| 952 | + 'id' => 'qv_product_additional_info', | |
| 953 | + 'title' => esc_html__( 'Additional Information', 'shopbuilder' ), | |
| 954 | + 'base_class' => Single\AdditionalInformation::class, | |
| 955 | + 'category' => 'quick_view', | |
| 956 | + 'is_front_page' => 'quick_view', | |
| 957 | + 'active' => 'on', | |
| 958 | + 'package' => $this->pro_package(), | |
| 959 | + 'fields' => [], | |
| 960 | + ] | |
| 961 | + ), | |
| 962 | + 'qv_product_price' => apply_filters( | |
| 963 | + 'rtsb/elements/qv_product_price/options', | |
| 964 | + [ | |
| 965 | + 'id' => 'qv_product_price', | |
| 966 | + 'title' => esc_html__( 'Product Price', 'shopbuilder' ), | |
| 967 | + 'base_class' => Single\ProductPrice::class, | |
| 968 | + 'category' => 'quick_view', | |
| 969 | + 'is_front_page' => 'quick_view', | |
| 970 | + 'active' => 'on', | |
| 971 | + 'package' => $this->pro_package(), | |
| 972 | + 'fields' => [], | |
| 973 | + ] | |
| 974 | + ), | |
| 975 | + 'qv_product_meta' => apply_filters( | |
| 976 | + 'rtsb/elements/qv_product_meta/options', | |
| 977 | + [ | |
| 978 | + 'id' => 'qv_product_meta', | |
| 979 | + 'title' => esc_html__( 'Product Meta', 'shopbuilder' ), | |
| 980 | + 'base_class' => Single\ProductMeta::class, | |
| 981 | + 'category' => 'quick_view', | |
| 982 | + 'is_front_page' => 'quick_view', | |
| 983 | + 'active' => 'on', | |
| 984 | + 'package' => $this->pro_package(), | |
| 985 | + 'fields' => [], | |
| 986 | + ] | |
| 987 | + ), | |
| 988 | + 'qv_product_categories' => apply_filters( | |
| 989 | + 'rtsb/elements/qv_product_categories/options', | |
| 990 | + [ | |
| 991 | + 'id' => 'qv_product_categories', | |
| 992 | + 'title' => esc_html__( 'Product Categories', 'shopbuilder' ), | |
| 993 | + 'base_class' => Single\ProductCats::class, | |
| 994 | + 'category' => 'quick_view', | |
| 995 | + 'is_front_page' => 'quick_view', | |
| 996 | + 'active' => 'on', | |
| 997 | + 'package' => $this->pro_package(), | |
| 998 | + 'fields' => [], | |
| 999 | + ] | |
| 1000 | + ), | |
| 1001 | + 'qv_product_rating' => apply_filters( | |
| 1002 | + 'rtsb/elements/qv_product_rating/options', | |
| 1003 | + [ | |
| 1004 | + 'id' => 'qv_product_rating', | |
| 1005 | + 'title' => esc_html__( 'Product Rating', 'shopbuilder' ), | |
| 1006 | + 'base_class' => Single\ProductRating::class, | |
| 1007 | + 'category' => 'quick_view', | |
| 1008 | + 'is_front_page' => 'quick_view', | |
| 1009 | + 'active' => 'on', | |
| 1010 | + 'package' => $this->pro_package(), | |
| 1011 | + 'fields' => [], | |
| 1012 | + ] | |
| 1013 | + ), | |
| 1014 | + 'qv_product_tags' => apply_filters( | |
| 1015 | + 'rtsb/elements/qv_product_tags/options', | |
| 1016 | + [ | |
| 1017 | + 'id' => 'qv_product_tags', | |
| 1018 | + 'title' => esc_html__( 'Product Tags', 'shopbuilder' ), | |
| 1019 | + 'base_class' => Single\ProductTags::class, | |
| 1020 | + 'category' => 'quick_view', | |
| 1021 | + 'is_front_page' => 'quick_view', | |
| 1022 | + 'active' => 'on', | |
| 1023 | + 'package' => $this->pro_package(), | |
| 1024 | + 'fields' => [], | |
| 1025 | + ] | |
| 1026 | + ), | |
| 1027 | + 'qv_product_sku' => apply_filters( | |
| 1028 | + 'rtsb/elements/qv_product_sku/options', | |
| 1029 | + [ | |
| 1030 | + 'id' => 'qv_product_sku', | |
| 1031 | + 'title' => esc_html__( 'Product SKU', 'shopbuilder' ), | |
| 1032 | + 'base_class' => Single\ProductSKU::class, | |
| 1033 | + 'category' => 'quick_view', | |
| 1034 | + 'is_front_page' => 'quick_view', | |
| 1035 | + 'active' => 'on', | |
| 1036 | + 'package' => $this->pro_package(), | |
| 1037 | + 'fields' => [], | |
| 1038 | + ] | |
| 1039 | + ), | |
| 1040 | + 'qv_product_stock' => apply_filters( | |
| 1041 | + 'rtsb/elements/qv_product_stock/options', | |
| 1042 | + [ | |
| 1043 | + 'id' => 'qv_product_stock', | |
| 1044 | + 'title' => esc_html__( 'Product Stock', 'shopbuilder' ), | |
| 1045 | + 'base_class' => Single\ProductStock::class, | |
| 1046 | + 'category' => 'quick_view', | |
| 1047 | + 'is_front_page' => 'quick_view', | |
| 1048 | + 'active' => 'on', | |
| 1049 | + 'package' => $this->pro_package(), | |
| 1050 | + 'fields' => [], | |
| 1051 | + ] | |
| 1052 | + ), | |
| 1053 | + 'qv_actions_button' => apply_filters( | |
| 1054 | + 'rtsb/elements/qv_actions_button/options', | |
| 1055 | + [ | |
| 1056 | + 'id' => 'qv_actions_button', | |
| 1057 | + 'title' => esc_html__( 'Action Buttons', 'shopbuilder' ), | |
| 1058 | + 'base_class' => Single\ActionsButton::class, | |
| 1059 | + 'category' => 'quick_view', | |
| 1060 | + 'is_front_page' => 'quick_view', | |
| 1061 | + 'active' => 'on', | |
| 1062 | + 'package' => $this->pro_package(), | |
| 1063 | + 'fields' => [], | |
| 1064 | + ] | |
| 1065 | + ), | |
| 1066 | + 'qv_product_add_to_cart' => apply_filters( | |
| 1067 | + 'rtsb/elements/qv_product_add_to_cart/options', | |
| 1068 | + [ | |
| 1069 | + 'id' => 'qv_product_add_to_cart', | |
| 1070 | + 'title' => esc_html__( 'Add to Cart', 'shopbuilder' ), | |
| 1071 | + 'base_class' => Single\ProductAddToCart::class, | |
| 1072 | + 'category' => 'quick_view', | |
| 1073 | + 'is_front_page' => 'quick_view', | |
| 1074 | + 'active' => 'on', | |
| 1075 | + 'package' => $this->pro_package(), | |
| 1076 | + 'fields' => [], | |
| 1077 | + ] | |
| 1078 | + ), | |
| 1079 | + 'qv_product_sales_count' => apply_filters( | |
| 1080 | + 'rtsb/elements/qv_product_sales_count/options', | |
| 1081 | + [ | |
| 1082 | + 'id' => 'qv_product_sales_count', | |
| 1083 | + 'title' => esc_html__( 'Sales Count', 'shopbuilder' ), | |
| 1084 | + 'category' => 'quick_view', | |
| 1085 | + 'is_front_page' => 'quick_view', | |
| 1086 | + 'active' => 'on', | |
| 1087 | + 'package' => $this->pro_package(), | |
| 1088 | + 'fields' => [], | |
| 1089 | + ] | |
| 1090 | + ), | |
| 1091 | + 'qv_social_share' => apply_filters( | |
| 1092 | + 'rtsb/settings/qv_social_share/options', | |
| 1093 | + [ | |
| 1094 | + 'id' => 'qv_social_share', | |
| 1095 | + 'title' => esc_html__( 'Social Share', 'shopbuilder' ), | |
| 1096 | + 'base_class' => General\SocialShare::class, | |
| 1097 | + 'active' => 'on', | |
| 1098 | + 'category' => 'quick_view', | |
| 1099 | + 'is_front_page' => 'quick_view', | |
| 1100 | + 'package' => $this->pro_package(), | |
| 1101 | + 'fields' => [], | |
| 1102 | + ] | |
| 1103 | + ), | |
| 1104 | + 'qv_product_quick_checkout' => apply_filters( | |
| 1105 | + 'rtsb/elements/qv_product_quick_checkout/options', | |
| 1106 | + [ | |
| 1107 | + 'id' => 'qv_product_quick_checkout', | |
| 1108 | + 'title' => esc_html__( 'Quick Checkout', 'shopbuilder' ), | |
| 1109 | + 'category' => 'quick_view', | |
| 1110 | + 'is_front_page' => 'quick_view', | |
| 1111 | + 'active' => 'on', | |
| 1112 | + 'package' => $this->pro_package(), | |
| 1113 | + 'fields' => [], | |
| 1114 | + ] | |
| 1115 | + ), | |
| 1116 | + | |
| 1117 | + 'qv_product_size_chart' => apply_filters( | |
| 1118 | + 'rtsb/elements/qv_product_size_chart/options', | |
| 1119 | + [ | |
| 1120 | + 'id' => 'qv_product_size_chart', | |
| 1121 | + 'title' => esc_html__( 'Size Chart', 'shopbuilder' ), | |
| 1122 | + 'category' => 'quick_view', | |
| 1123 | + 'is_front_page' => 'quick_view', | |
| 1124 | + 'active' => '', | |
| 1125 | + 'package' => $this->pro_package(), | |
| 1126 | + 'fields' => [], | |
| 1127 | + ] | |
| 1128 | + ), | |
| 1129 | + | |
| 1130 | + ]; | |
| 1131 | + | |
| 1132 | + return apply_filters( 'rtsb/core/elements/quick_view/widget_list', $list ); | |
| 1133 | + } | |
| 1134 | + | |
| 1135 | + /** | |
| 572 | 1136 | * Product Archive Widget List. |
| 573 | 1137 | * |
| 574 | 1138 | * @return array |
| 575 | 1139 | */ |
| @@ -637,8 +1201,20 @@ | ||
| 637 | 1201 | 'package' => $this->pro_package(), |
| 638 | 1202 | 'fields' => [], |
| 639 | 1203 | ] |
| 640 | 1204 | ), |
| 1205 | + 'product_filters' => apply_filters( | |
| 1206 | + 'rtsb/elements/product_filters/options', | |
| 1207 | + [ | |
| 1208 | + 'id' => 'product_filters', | |
| 1209 | + 'title' => esc_html__( 'Product Filters', 'shopbuilder' ), | |
| 1210 | + 'base_class' => Archive\ProductFilters::class, | |
| 1211 | + 'category' => 'shop', | |
| 1212 | + 'active' => 'on', | |
| 1213 | + 'package' => 'free', | |
| 1214 | + 'fields' => [], | |
| 1215 | + ] | |
| 1216 | + ), | |
| 641 | 1217 | |
| 642 | 1218 | 'archive_result_count' => apply_filters( |
| 643 | 1219 | 'rtsb/elements/archive_result_count/options', |
| 644 | 1220 | [ |
| @@ -757,8 +1333,20 @@ | ||
| 757 | 1333 | 'package' => 'free', |
| 758 | 1334 | 'fields' => [], |
| 759 | 1335 | ] |
| 760 | 1336 | ), |
| 1337 | + 'save_for_later_preview' => apply_filters( | |
| 1338 | + 'rtsb/elements/save_for_later_preview/options', | |
| 1339 | + [ | |
| 1340 | + 'id' => 'save_for_later_preview', | |
| 1341 | + 'title' => esc_html__( 'Save For Later Preview', 'shopbuilder' ), | |
| 1342 | + 'base_class' => Cart\SaveForLaterPreview::class, | |
| 1343 | + 'category' => 'cart', | |
| 1344 | + 'active' => 'on', | |
| 1345 | + 'package' => $this->pro_package(), | |
| 1346 | + 'fields' => [], | |
| 1347 | + ] | |
| 1348 | + ), | |
| 761 | 1349 | ]; |
| 762 | 1350 | |
| 763 | 1351 | return apply_filters( 'rtsb/core/elements/cart/widget_list', $list ); |
| 764 | 1352 | } |
| @@ -890,9 +1478,9 @@ | ||
| 890 | 1478 | * @return array |
| 891 | 1479 | */ |
| 892 | 1480 | protected function thankyou_page_widget_list() { |
| 893 | 1481 | return [ |
| 894 | - 'order_received_text' => apply_filters( | |
| 1482 | + 'order_received_text' => apply_filters( | |
| 895 | 1483 | 'rtsb/elements/order_received_text/options', |
| 896 | 1484 | [ |
| 897 | 1485 | 'id' => 'order_received_text', |
| 898 | 1486 | 'title' => esc_html__( 'Order Received Text', 'shopbuilder' ), |
| @@ -902,9 +1490,9 @@ | ||
| 902 | 1490 | 'package' => $this->pro_package(), |
| 903 | 1491 | 'fields' => [], |
| 904 | 1492 | ] |
| 905 | 1493 | ), |
| 906 | - 'order_details_summary' => apply_filters( | |
| 1494 | + 'order_details_summary' => apply_filters( | |
| 907 | 1495 | 'rtsb/elements/order_details_summary/options', |
| 908 | 1496 | [ |
| 909 | 1497 | 'id' => 'order_details_summary', |
| 910 | 1498 | 'title' => esc_html__( 'Order Details Summary', 'shopbuilder' ), |
| @@ -914,9 +1502,9 @@ | ||
| 914 | 1502 | 'package' => $this->pro_package(), |
| 915 | 1503 | 'fields' => [], |
| 916 | 1504 | ] |
| 917 | 1505 | ), |
| 918 | - 'order_details_table' => apply_filters( | |
| 1506 | + 'order_details_table' => apply_filters( | |
| 919 | 1507 | 'rtsb/elements/order_details_table/options', |
| 920 | 1508 | [ |
| 921 | 1509 | 'id' => 'order_details_table', |
| 922 | 1510 | 'title' => esc_html__( 'Order Details Table', 'shopbuilder' ), |
| @@ -926,9 +1514,9 @@ | ||
| 926 | 1514 | 'package' => $this->pro_package(), |
| 927 | 1515 | 'fields' => [], |
| 928 | 1516 | ] |
| 929 | 1517 | ), |
| 930 | - 'downloadable_products' => apply_filters( | |
| 1518 | + 'downloadable_products' => apply_filters( | |
| 931 | 1519 | 'rtsb/elements/downloadable_products/options', |
| 932 | 1520 | [ |
| 933 | 1521 | 'id' => 'downloadable_products', |
| 934 | 1522 | 'title' => esc_html__( 'Downloadable Products', 'shopbuilder' ), |
| @@ -938,9 +1526,9 @@ | ||
| 938 | 1526 | 'package' => $this->pro_package(), |
| 939 | 1527 | 'fields' => [], |
| 940 | 1528 | ] |
| 941 | 1529 | ), |
| 942 | - 'order_billing_address' => apply_filters( | |
| 1530 | + 'order_billing_address' => apply_filters( | |
| 943 | 1531 | 'rtsb/elements/order_billing_address/options', |
| 944 | 1532 | [ |
| 945 | 1533 | 'id' => 'order_billing_address', |
| 946 | 1534 | 'title' => esc_html__( 'Order Billing Address', 'shopbuilder' ), |
| @@ -950,9 +1538,9 @@ | ||
| 950 | 1538 | 'package' => $this->pro_package(), |
| 951 | 1539 | 'fields' => [], |
| 952 | 1540 | ] |
| 953 | 1541 | ), |
| 954 | - 'order_shipping_address' => apply_filters( | |
| 1542 | + 'order_shipping_address' => apply_filters( | |
| 955 | 1543 | 'rtsb/elements/order_shipping_address/options', |
| 956 | 1544 | [ |
| 957 | 1545 | 'id' => 'order_shipping_address', |
| 958 | 1546 | 'title' => esc_html__( 'Order Shipping Address', 'shopbuilder' ), |
| @@ -962,11 +1550,45 @@ | ||
| 962 | 1550 | 'package' => $this->pro_package(), |
| 963 | 1551 | 'fields' => [], |
| 964 | 1552 | ] |
| 965 | 1553 | ), |
| 1554 | + 'order_custom_fields_data' => apply_filters( | |
| 1555 | + 'rtsb/elements/order_custom_fields_data/options', | |
| 1556 | + [ | |
| 1557 | + 'id' => 'order_custom_fields_data', | |
| 1558 | + 'title' => esc_html__( 'Checkout Form Custom Fields Data', 'shopbuilder' ), | |
| 1559 | + 'category' => 'thank_you', | |
| 1560 | + 'is_front_page' => 'thank_you', | |
| 1561 | + 'active' => 'on', | |
| 1562 | + 'package' => $this->pro_package(), | |
| 1563 | + 'fields' => [], | |
| 1564 | + ] | |
| 1565 | + ), | |
| 966 | 1566 | ]; |
| 967 | 1567 | } |
| 1568 | + /** | |
| 1569 | + * Checkout Page Order Pay Widget List. | |
| 1570 | + * | |
| 1571 | + * @return array | |
| 1572 | + */ | |
| 1573 | + protected function orderpay_page_widget_list() { | |
| 1574 | + return [ | |
| 1575 | + 'order_pay_form' => apply_filters( | |
| 1576 | + 'rtsb/elements/order_pay_form/options', | |
| 1577 | + [ | |
| 1578 | + 'id' => 'order_pay_form', | |
| 1579 | + 'title' => esc_html__( 'Order Pay Form', 'shopbuilder' ), | |
| 1580 | + 'category' => 'myaccount_dashboard', | |
| 1581 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1582 | + 'active' => 'on', | |
| 1583 | + 'package' => $this->pro_package(), | |
| 1584 | + 'fields' => [], | |
| 1585 | + ] | |
| 1586 | + ), | |
| 968 | 1587 | |
| 1588 | + ]; | |
| 1589 | + } | |
| 1590 | + | |
| 969 | 1591 | /** |
| 970 | 1592 | * Checkout Page Widget List. |
| 971 | 1593 | * |
| 972 | 1594 | * @return array |
| @@ -971,10 +1593,21 @@ | ||
| 971 | 1593 | * |
| 972 | 1594 | * @return array |
| 973 | 1595 | */ |
| 974 | 1596 | protected function my_account_page_widget_list() { |
| 975 | - return [ | |
| 976 | - | |
| 1597 | + $widgets = [ | |
| 1598 | + 'account_avatar' => apply_filters( | |
| 1599 | + 'rtsb/elements/account_avatar/options', | |
| 1600 | + [ | |
| 1601 | + 'id' => 'account_avatar', | |
| 1602 | + 'title' => esc_html__( 'Account Avatar', 'shopbuilder' ), | |
| 1603 | + 'category' => 'myaccount_dashboard', | |
| 1604 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1605 | + 'active' => 'on', | |
| 1606 | + 'package' => $this->pro_package(), | |
| 1607 | + 'fields' => [], | |
| 1608 | + ] | |
| 1609 | + ), | |
| 977 | 1610 | 'account_navigation_edit_shipping' => apply_filters( |
| 978 | 1611 | 'rtsb/elements/account_navigation_edit_shipping/options', |
| 979 | 1612 | [ |
| 980 | 1613 | 'id' => 'account_navigation_edit_shipping', |
| @@ -991,9 +1624,9 @@ | ||
| 991 | 1624 | [ |
| 992 | 1625 | 'id' => 'account_dashboard', |
| 993 | 1626 | 'title' => esc_html__( 'Account Dashboard', 'shopbuilder' ), |
| 994 | 1627 | 'category' => 'myaccount_dashboard', |
| 995 | - 'is_front_page' => 'myaccount_dashboard', | |
| 1628 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 996 | 1629 | 'active' => 'on', |
| 997 | 1630 | 'package' => $this->pro_package(), |
| 998 | 1631 | 'fields' => [], |
| 999 | 1632 | ] |
| @@ -1003,9 +1636,9 @@ | ||
| 1003 | 1636 | [ |
| 1004 | 1637 | 'id' => 'account_orders', |
| 1005 | 1638 | 'title' => esc_html__( 'Account Orders', 'shopbuilder' ), |
| 1006 | 1639 | 'category' => 'myaccount_dashboard', |
| 1007 | - 'is_front_page' => 'myaccount_order', | |
| 1640 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1008 | 1641 | 'active' => 'on', |
| 1009 | 1642 | 'package' => $this->pro_package(), |
| 1010 | 1643 | 'fields' => [], |
| 1011 | 1644 | ] |
| @@ -1015,9 +1648,9 @@ | ||
| 1015 | 1648 | [ |
| 1016 | 1649 | 'id' => 'account_downloads', |
| 1017 | 1650 | 'title' => esc_html__( 'Account Downloads', 'shopbuilder' ), |
| 1018 | 1651 | 'category' => 'myaccount_dashboard', |
| 1019 | - 'is_front_page' => 'myaccount_downloads', | |
| 1652 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1020 | 1653 | 'active' => 'on', |
| 1021 | 1654 | 'package' => $this->pro_package(), |
| 1022 | 1655 | 'fields' => [], |
| 1023 | 1656 | ] |
| @@ -1027,9 +1660,9 @@ | ||
| 1027 | 1660 | [ |
| 1028 | 1661 | 'id' => 'account_billing_address', |
| 1029 | 1662 | 'title' => esc_html__( 'Account Billing Address', 'shopbuilder' ), |
| 1030 | 1663 | 'category' => 'myaccount_dashboard', |
| 1031 | - 'is_front_page' => 'myaccount_address', | |
| 1664 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1032 | 1665 | 'active' => 'on', |
| 1033 | 1666 | 'package' => $this->pro_package(), |
| 1034 | 1667 | 'fields' => [], |
| 1035 | 1668 | ] |
| @@ -1039,9 +1672,9 @@ | ||
| 1039 | 1672 | [ |
| 1040 | 1673 | 'id' => 'account_shipping_address', |
| 1041 | 1674 | 'title' => esc_html__( 'Account Shipping Address', 'shopbuilder' ), |
| 1042 | 1675 | 'category' => 'myaccount_dashboard', |
| 1043 | - 'is_front_page' => 'myaccount_address', | |
| 1676 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1044 | 1677 | 'active' => 'on', |
| 1045 | 1678 | 'package' => $this->pro_package(), |
| 1046 | 1679 | 'fields' => [], |
| 1047 | 1680 | ] |
| @@ -1051,9 +1684,9 @@ | ||
| 1051 | 1684 | [ |
| 1052 | 1685 | 'id' => 'account_address_description', |
| 1053 | 1686 | 'title' => esc_html__( 'Account Address Description', 'shopbuilder' ), |
| 1054 | 1687 | 'category' => 'myaccount_dashboard', |
| 1055 | - 'is_front_page' => 'myaccount_address', | |
| 1688 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1056 | 1689 | 'active' => 'on', |
| 1057 | 1690 | 'package' => $this->pro_package(), |
| 1058 | 1691 | 'fields' => [], |
| 1059 | 1692 | ] |
| @@ -1063,9 +1696,9 @@ | ||
| 1063 | 1696 | [ |
| 1064 | 1697 | 'id' => 'account_details', |
| 1065 | 1698 | 'title' => esc_html__( 'Account Edit / Details', 'shopbuilder' ), |
| 1066 | 1699 | 'category' => 'myaccount_dashboard', |
| 1067 | - 'is_front_page' => 'myaccount_edit_details', | |
| 1700 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1068 | 1701 | 'active' => 'on', |
| 1069 | 1702 | 'package' => $this->pro_package(), |
| 1070 | 1703 | 'fields' => [], |
| 1071 | 1704 | ] |
| @@ -1075,9 +1708,9 @@ | ||
| 1075 | 1708 | [ |
| 1076 | 1709 | 'id' => 'account_order_status', |
| 1077 | 1710 | 'title' => esc_html__( 'Account Order Status', 'shopbuilder' ), |
| 1078 | 1711 | 'category' => 'myaccount_dashboard', |
| 1079 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1712 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1080 | 1713 | 'active' => 'on', |
| 1081 | 1714 | 'package' => $this->pro_package(), |
| 1082 | 1715 | 'fields' => [], |
| 1083 | 1716 | ] |
| @@ -1087,9 +1720,9 @@ | ||
| 1087 | 1720 | [ |
| 1088 | 1721 | 'id' => 'account_order_details_download', |
| 1089 | 1722 | 'title' => esc_html__( 'Account Order Download', 'shopbuilder' ), |
| 1090 | 1723 | 'category' => 'myaccount_dashboard', |
| 1091 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1724 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1092 | 1725 | 'active' => 'on', |
| 1093 | 1726 | 'package' => $this->pro_package(), |
| 1094 | 1727 | 'fields' => [], |
| 1095 | 1728 | ] |
| @@ -1099,9 +1732,9 @@ | ||
| 1099 | 1732 | [ |
| 1100 | 1733 | 'id' => 'account_order_details_note', |
| 1101 | 1734 | 'title' => esc_html__( 'Account Order Note', 'shopbuilder' ), |
| 1102 | 1735 | 'category' => 'myaccount_dashboard', |
| 1103 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1736 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1104 | 1737 | 'active' => 'on', |
| 1105 | 1738 | 'package' => $this->pro_package(), |
| 1106 | 1739 | 'fields' => [], |
| 1107 | 1740 | ] |
| @@ -1111,9 +1744,9 @@ | ||
| 1111 | 1744 | [ |
| 1112 | 1745 | 'id' => 'account_order_details_table', |
| 1113 | 1746 | 'title' => esc_html__( 'Account Order Table', 'shopbuilder' ), |
| 1114 | 1747 | 'category' => 'myaccount_dashboard', |
| 1115 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1748 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1116 | 1749 | 'active' => 'on', |
| 1117 | 1750 | 'package' => $this->pro_package(), |
| 1118 | 1751 | 'fields' => [], |
| 1119 | 1752 | ] |
| @@ -1123,9 +1756,9 @@ | ||
| 1123 | 1756 | [ |
| 1124 | 1757 | 'id' => 'account_order_details_order_again', |
| 1125 | 1758 | 'title' => esc_html__( 'Account Order Again Button', 'shopbuilder' ), |
| 1126 | 1759 | 'category' => 'myaccount_dashboard', |
| 1127 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1760 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1128 | 1761 | 'active' => 'on', |
| 1129 | 1762 | 'package' => $this->pro_package(), |
| 1130 | 1763 | 'fields' => [], |
| 1131 | 1764 | ] |
| @@ -1135,9 +1768,9 @@ | ||
| 1135 | 1768 | [ |
| 1136 | 1769 | 'id' => 'account_order_details_order_shipping', |
| 1137 | 1770 | 'title' => esc_html__( 'Account Order Shipping', 'shopbuilder' ), |
| 1138 | 1771 | 'category' => 'myaccount_dashboard', |
| 1139 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1772 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1140 | 1773 | 'active' => 'on', |
| 1141 | 1774 | 'package' => $this->pro_package(), |
| 1142 | 1775 | 'fields' => [], |
| 1143 | 1776 | ] |
| @@ -1147,9 +1780,9 @@ | ||
| 1147 | 1780 | [ |
| 1148 | 1781 | 'id' => 'account_order_details_order_billing', |
| 1149 | 1782 | 'title' => esc_html__( 'Account Order Billing', 'shopbuilder' ), |
| 1150 | 1783 | 'category' => 'myaccount_dashboard', |
| 1151 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1784 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1152 | 1785 | 'active' => 'on', |
| 1153 | 1786 | 'package' => $this->pro_package(), |
| 1154 | 1787 | 'fields' => [], |
| 1155 | 1788 | ] |
| @@ -1159,9 +1792,9 @@ | ||
| 1159 | 1792 | [ |
| 1160 | 1793 | 'id' => 'account_edit_billing_address', |
| 1161 | 1794 | 'title' => esc_html__( 'Edit Billing Address', 'shopbuilder' ), |
| 1162 | 1795 | 'category' => 'myaccount_dashboard', |
| 1163 | - 'is_front_page' => 'myaccount_edit_billing_address', | |
| 1796 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1164 | 1797 | 'active' => 'on', |
| 1165 | 1798 | 'package' => $this->pro_package(), |
| 1166 | 1799 | 'fields' => [], |
| 1167 | 1800 | ] |
| @@ -1171,15 +1804,41 @@ | ||
| 1171 | 1804 | [ |
| 1172 | 1805 | 'id' => 'account_edit_shipping_address', |
| 1173 | 1806 | 'title' => esc_html__( 'Edit Shipping Address', 'shopbuilder' ), |
| 1174 | 1807 | 'category' => 'myaccount_dashboard', |
| 1175 | - 'is_front_page' => 'myaccount_edit_shipping_address', | |
| 1808 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1176 | 1809 | 'active' => 'on', |
| 1177 | 1810 | 'package' => $this->pro_package(), |
| 1178 | 1811 | 'fields' => [], |
| 1179 | 1812 | ] |
| 1180 | 1813 | ), |
| 1814 | + 'account_payment_methods' => apply_filters( | |
| 1815 | + 'rtsb/elements/account_payment_methods/options', | |
| 1816 | + [ | |
| 1817 | + 'id' => 'account_payment_methods', | |
| 1818 | + 'title' => esc_html__( 'Payment Methods', 'shopbuilder' ), | |
| 1819 | + 'category' => 'myaccount_dashboard', | |
| 1820 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1821 | + 'active' => 'on', | |
| 1822 | + 'package' => $this->pro_package(), | |
| 1823 | + 'fields' => [], | |
| 1824 | + ] | |
| 1825 | + ), | |
| 1826 | + 'account_add_payment_method' => apply_filters( | |
| 1827 | + 'rtsb/elements/account_add_payment_method/options', | |
| 1828 | + [ | |
| 1829 | + 'id' => 'account_add_payment_method', | |
| 1830 | + 'title' => esc_html__( 'Add Payment Method', 'shopbuilder' ), | |
| 1831 | + 'category' => 'myaccount_dashboard', | |
| 1832 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1833 | + 'active' => 'on', | |
| 1834 | + 'package' => $this->pro_package(), | |
| 1835 | + 'fields' => [], | |
| 1836 | + ] | |
| 1837 | + ), | |
| 1181 | 1838 | ]; |
| 1839 | + | |
| 1840 | + return apply_filters( 'rtsb/core/elements/my_account/widget_list', $widgets ); | |
| 1182 | 1841 | } |
| 1183 | 1842 | |
| 1184 | 1843 | /*** |
| 1185 | 1844 | * @return array |
| @@ -1227,9 +1886,9 @@ | ||
| 1227 | 1886 | [ |
| 1228 | 1887 | 'id' => 'account_lost_password', |
| 1229 | 1888 | 'title' => esc_html__( 'Lost Password Form', 'shopbuilder' ), |
| 1230 | 1889 | 'category' => 'others_widget', |
| 1231 | - 'is_front_page' => 'myaccount_lost_password', | |
| 1890 | + 'is_front_page' => 'myaccount_auth', | |
| 1232 | 1891 | 'active' => 'on', |
| 1233 | 1892 | 'package' => $this->pro_package(), |
| 1234 | 1893 | 'fields' => [], |
| 1235 | 1894 | ] |