| @@ -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,245 @@ | ||
| 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 | + ), | |
| 210 | 483 | ]; |
| 211 | - | |
| 212 | 484 | return apply_filters( 'rtsb/core/elements/general/widget_list', $list ); |
| 213 | 485 | } |
| 214 | 486 | |
| 215 | 487 | /** |
| @@ -271,10 +543,10 @@ | ||
| 271 | 543 | 'product_onsale' => apply_filters( |
| 272 | 544 | 'rtsb/elements/product_onsale/options', |
| 273 | 545 | [ |
| 274 | 546 | 'id' => 'product_onsale', |
| 275 | - 'title' => esc_html__( 'Sale Flash - Onsale', 'shopbuilder' ), | |
| 276 | - 'base_class' => Single\ProductOnSale::class, | |
| 547 | + 'title' => esc_html__( 'Product Badges', 'shopbuilder' ), | |
| 548 | + 'base_class' => Single\ProductBadges::class, | |
| 277 | 549 | 'category' => 'product', |
| 278 | 550 | 'active' => 'on', |
| 279 | 551 | 'package' => 'free', |
| 280 | 552 | 'fields' => [], |
| @@ -422,8 +694,19 @@ | ||
| 422 | 694 | 'package' => $this->pro_package(), |
| 423 | 695 | 'fields' => [], |
| 424 | 696 | ] |
| 425 | 697 | ), |
| 698 | + 'product_stock_counter' => apply_filters( | |
| 699 | + 'rtsb/elements/product_stock_counter/options', | |
| 700 | + [ | |
| 701 | + 'id' => 'product_stock_counter', | |
| 702 | + 'title' => esc_html__( 'Product Stock Count', 'shopbuilder' ), | |
| 703 | + 'category' => 'product', | |
| 704 | + 'active' => '', | |
| 705 | + 'package' => $this->pro_package(), | |
| 706 | + 'fields' => [], | |
| 707 | + ] | |
| 708 | + ), | |
| 426 | 709 | 'flash_sale_countdown' => apply_filters( |
| 427 | 710 | 'rtsb/elements/flash_sale_countdown/options', |
| 428 | 711 | [ |
| 429 | 712 | 'id' => 'flash_sale_countdown', |
| @@ -478,8 +761,19 @@ | ||
| 478 | 761 | 'package' => $this->pro_package(), |
| 479 | 762 | 'fields' => [], |
| 480 | 763 | ] |
| 481 | 764 | ), |
| 765 | + 'product_qr_code' => apply_filters( | |
| 766 | + 'rtsb/elements/product_qr_code/options', | |
| 767 | + [ | |
| 768 | + 'id' => 'product_qr_code', | |
| 769 | + 'title' => esc_html__( 'QR Code', 'shopbuilder' ), | |
| 770 | + 'category' => 'product', | |
| 771 | + 'active' => '', | |
| 772 | + 'package' => $this->pro_package(), | |
| 773 | + 'fields' => [], | |
| 774 | + ] | |
| 775 | + ), | |
| 482 | 776 | 'product_reviews' => apply_filters( |
| 483 | 777 | 'rtsb/elements/product_reviews/options', |
| 484 | 778 | [ |
| 485 | 779 | 'id' => 'product_reviews', |
| @@ -568,8 +862,267 @@ | ||
| 568 | 862 | return apply_filters( 'rtsb/core/elements/product_page/widget_list', $list ); |
| 569 | 863 | } |
| 570 | 864 | |
| 571 | 865 | /** |
| 866 | + * Product Single Widget List. | |
| 867 | + * | |
| 868 | + * @return array | |
| 869 | + */ | |
| 870 | + protected function product_quick_view() { | |
| 871 | + | |
| 872 | + $list = [ | |
| 873 | + 'qv_product_title' => apply_filters( | |
| 874 | + 'rtsb/elements/qv_product_title/options', | |
| 875 | + [ | |
| 876 | + 'id' => 'qv_product_title', | |
| 877 | + 'title' => esc_html__( 'Product Title', 'shopbuilder' ), | |
| 878 | + 'base_class' => Single\ProductTitle::class, | |
| 879 | + 'category' => 'quick_view', | |
| 880 | + 'is_front_page' => 'quick_view', | |
| 881 | + 'active' => 'on', | |
| 882 | + 'package' => $this->pro_package(), | |
| 883 | + 'fields' => [], | |
| 884 | + ] | |
| 885 | + ), | |
| 886 | + 'qv_product_description' => apply_filters( | |
| 887 | + 'rtsb/elements/qv_product_description/options', | |
| 888 | + [ | |
| 889 | + 'id' => 'qv_product_description', | |
| 890 | + 'title' => esc_html__( 'Product Description', 'shopbuilder' ), | |
| 891 | + 'base_class' => Single\ProductDescription::class, | |
| 892 | + 'category' => 'quick_view', | |
| 893 | + 'is_front_page' => 'quick_view', | |
| 894 | + 'active' => 'on', | |
| 895 | + 'package' => $this->pro_package(), | |
| 896 | + 'fields' => [], | |
| 897 | + ] | |
| 898 | + ), | |
| 899 | + 'qv_product_short_description' => apply_filters( | |
| 900 | + 'rtsb/elements/qv_product_short_description/options', | |
| 901 | + [ | |
| 902 | + 'id' => 'qv_product_short_description', | |
| 903 | + 'title' => esc_html__( 'Short Description', 'shopbuilder' ), | |
| 904 | + 'base_class' => Single\ShortDescription::class, | |
| 905 | + 'category' => 'quick_view', | |
| 906 | + 'is_front_page' => 'quick_view', | |
| 907 | + 'active' => 'on', | |
| 908 | + 'package' => $this->pro_package(), | |
| 909 | + 'fields' => [], | |
| 910 | + ] | |
| 911 | + ), | |
| 912 | + 'qv_product_images' => apply_filters( | |
| 913 | + 'rtsb/elements/qv_product_images/options', | |
| 914 | + [ | |
| 915 | + 'id' => 'qv_product_images', | |
| 916 | + 'title' => esc_html__( 'Product Images', 'shopbuilder' ), | |
| 917 | + 'base_class' => Single\ProductImages::class, | |
| 918 | + 'category' => 'quick_view', | |
| 919 | + 'is_front_page' => 'quick_view', | |
| 920 | + 'active' => 'on', | |
| 921 | + 'package' => $this->pro_package(), | |
| 922 | + 'fields' => [], | |
| 923 | + ] | |
| 924 | + ), | |
| 925 | + 'qv_product_badges' => apply_filters( | |
| 926 | + 'rtsb/elements/qv_product_badges/options', | |
| 927 | + [ | |
| 928 | + 'id' => 'qv_product_badges', | |
| 929 | + 'title' => esc_html__( 'Product Badges', 'shopbuilder' ), | |
| 930 | + 'base_class' => Single\ProductBadges::class, | |
| 931 | + 'category' => 'quick_view', | |
| 932 | + 'is_front_page' => 'quick_view', | |
| 933 | + 'active' => 'on', | |
| 934 | + 'package' => $this->pro_package(), | |
| 935 | + 'fields' => [], | |
| 936 | + ] | |
| 937 | + ), | |
| 938 | + 'qv_product_additional_info' => apply_filters( | |
| 939 | + 'rtsb/elements/qv_product_additional_info/options', | |
| 940 | + [ | |
| 941 | + 'id' => 'qv_product_additional_info', | |
| 942 | + 'title' => esc_html__( 'Additional Information', 'shopbuilder' ), | |
| 943 | + 'base_class' => Single\AdditionalInformation::class, | |
| 944 | + 'category' => 'quick_view', | |
| 945 | + 'is_front_page' => 'quick_view', | |
| 946 | + 'active' => 'on', | |
| 947 | + 'package' => $this->pro_package(), | |
| 948 | + 'fields' => [], | |
| 949 | + ] | |
| 950 | + ), | |
| 951 | + 'qv_product_price' => apply_filters( | |
| 952 | + 'rtsb/elements/qv_product_price/options', | |
| 953 | + [ | |
| 954 | + 'id' => 'qv_product_price', | |
| 955 | + 'title' => esc_html__( 'Product Price', 'shopbuilder' ), | |
| 956 | + 'base_class' => Single\ProductPrice::class, | |
| 957 | + 'category' => 'quick_view', | |
| 958 | + 'is_front_page' => 'quick_view', | |
| 959 | + 'active' => 'on', | |
| 960 | + 'package' => $this->pro_package(), | |
| 961 | + 'fields' => [], | |
| 962 | + ] | |
| 963 | + ), | |
| 964 | + 'qv_product_meta' => apply_filters( | |
| 965 | + 'rtsb/elements/qv_product_meta/options', | |
| 966 | + [ | |
| 967 | + 'id' => 'qv_product_meta', | |
| 968 | + 'title' => esc_html__( 'Product Meta', 'shopbuilder' ), | |
| 969 | + 'base_class' => Single\ProductMeta::class, | |
| 970 | + 'category' => 'quick_view', | |
| 971 | + 'is_front_page' => 'quick_view', | |
| 972 | + 'active' => 'on', | |
| 973 | + 'package' => $this->pro_package(), | |
| 974 | + 'fields' => [], | |
| 975 | + ] | |
| 976 | + ), | |
| 977 | + 'qv_product_categories' => apply_filters( | |
| 978 | + 'rtsb/elements/qv_product_categories/options', | |
| 979 | + [ | |
| 980 | + 'id' => 'qv_product_categories', | |
| 981 | + 'title' => esc_html__( 'Product Categories', 'shopbuilder' ), | |
| 982 | + 'base_class' => Single\ProductCats::class, | |
| 983 | + 'category' => 'quick_view', | |
| 984 | + 'is_front_page' => 'quick_view', | |
| 985 | + 'active' => 'on', | |
| 986 | + 'package' => $this->pro_package(), | |
| 987 | + 'fields' => [], | |
| 988 | + ] | |
| 989 | + ), | |
| 990 | + 'qv_product_rating' => apply_filters( | |
| 991 | + 'rtsb/elements/qv_product_rating/options', | |
| 992 | + [ | |
| 993 | + 'id' => 'qv_product_rating', | |
| 994 | + 'title' => esc_html__( 'Product Rating', 'shopbuilder' ), | |
| 995 | + 'base_class' => Single\ProductRating::class, | |
| 996 | + 'category' => 'quick_view', | |
| 997 | + 'is_front_page' => 'quick_view', | |
| 998 | + 'active' => 'on', | |
| 999 | + 'package' => $this->pro_package(), | |
| 1000 | + 'fields' => [], | |
| 1001 | + ] | |
| 1002 | + ), | |
| 1003 | + 'qv_product_tags' => apply_filters( | |
| 1004 | + 'rtsb/elements/qv_product_tags/options', | |
| 1005 | + [ | |
| 1006 | + 'id' => 'qv_product_tags', | |
| 1007 | + 'title' => esc_html__( 'Product Tags', 'shopbuilder' ), | |
| 1008 | + 'base_class' => Single\ProductTags::class, | |
| 1009 | + 'category' => 'quick_view', | |
| 1010 | + 'is_front_page' => 'quick_view', | |
| 1011 | + 'active' => 'on', | |
| 1012 | + 'package' => $this->pro_package(), | |
| 1013 | + 'fields' => [], | |
| 1014 | + ] | |
| 1015 | + ), | |
| 1016 | + 'qv_product_sku' => apply_filters( | |
| 1017 | + 'rtsb/elements/qv_product_sku/options', | |
| 1018 | + [ | |
| 1019 | + 'id' => 'qv_product_sku', | |
| 1020 | + 'title' => esc_html__( 'Product SKU', 'shopbuilder' ), | |
| 1021 | + 'base_class' => Single\ProductSKU::class, | |
| 1022 | + 'category' => 'quick_view', | |
| 1023 | + 'is_front_page' => 'quick_view', | |
| 1024 | + 'active' => 'on', | |
| 1025 | + 'package' => $this->pro_package(), | |
| 1026 | + 'fields' => [], | |
| 1027 | + ] | |
| 1028 | + ), | |
| 1029 | + 'qv_product_stock' => apply_filters( | |
| 1030 | + 'rtsb/elements/qv_product_stock/options', | |
| 1031 | + [ | |
| 1032 | + 'id' => 'qv_product_stock', | |
| 1033 | + 'title' => esc_html__( 'Product Stock', 'shopbuilder' ), | |
| 1034 | + 'base_class' => Single\ProductStock::class, | |
| 1035 | + 'category' => 'quick_view', | |
| 1036 | + 'is_front_page' => 'quick_view', | |
| 1037 | + 'active' => 'on', | |
| 1038 | + 'package' => $this->pro_package(), | |
| 1039 | + 'fields' => [], | |
| 1040 | + ] | |
| 1041 | + ), | |
| 1042 | + 'qv_actions_button' => apply_filters( | |
| 1043 | + 'rtsb/elements/qv_actions_button/options', | |
| 1044 | + [ | |
| 1045 | + 'id' => 'qv_actions_button', | |
| 1046 | + 'title' => esc_html__( 'Action Buttons', 'shopbuilder' ), | |
| 1047 | + 'base_class' => Single\ActionsButton::class, | |
| 1048 | + 'category' => 'quick_view', | |
| 1049 | + 'is_front_page' => 'quick_view', | |
| 1050 | + 'active' => 'on', | |
| 1051 | + 'package' => $this->pro_package(), | |
| 1052 | + 'fields' => [], | |
| 1053 | + ] | |
| 1054 | + ), | |
| 1055 | + 'qv_product_add_to_cart' => apply_filters( | |
| 1056 | + 'rtsb/elements/qv_product_add_to_cart/options', | |
| 1057 | + [ | |
| 1058 | + 'id' => 'qv_product_add_to_cart', | |
| 1059 | + 'title' => esc_html__( 'Add to Cart', 'shopbuilder' ), | |
| 1060 | + 'base_class' => Single\ProductAddToCart::class, | |
| 1061 | + 'category' => 'quick_view', | |
| 1062 | + 'is_front_page' => 'quick_view', | |
| 1063 | + 'active' => 'on', | |
| 1064 | + 'package' => $this->pro_package(), | |
| 1065 | + 'fields' => [], | |
| 1066 | + ] | |
| 1067 | + ), | |
| 1068 | + 'qv_product_sales_count' => apply_filters( | |
| 1069 | + 'rtsb/elements/qv_product_sales_count/options', | |
| 1070 | + [ | |
| 1071 | + 'id' => 'qv_product_sales_count', | |
| 1072 | + 'title' => esc_html__( 'Sales Count', 'shopbuilder' ), | |
| 1073 | + 'category' => 'quick_view', | |
| 1074 | + 'is_front_page' => 'quick_view', | |
| 1075 | + 'active' => 'on', | |
| 1076 | + 'package' => $this->pro_package(), | |
| 1077 | + 'fields' => [], | |
| 1078 | + ] | |
| 1079 | + ), | |
| 1080 | + 'qv_social_share' => apply_filters( | |
| 1081 | + 'rtsb/settings/qv_social_share/options', | |
| 1082 | + [ | |
| 1083 | + 'id' => 'qv_social_share', | |
| 1084 | + 'title' => esc_html__( 'Social Share', 'shopbuilder' ), | |
| 1085 | + 'base_class' => General\SocialShare::class, | |
| 1086 | + 'active' => 'on', | |
| 1087 | + 'category' => 'quick_view', | |
| 1088 | + 'is_front_page' => 'quick_view', | |
| 1089 | + 'package' => $this->pro_package(), | |
| 1090 | + 'fields' => [], | |
| 1091 | + ] | |
| 1092 | + ), | |
| 1093 | + 'qv_product_quick_checkout' => apply_filters( | |
| 1094 | + 'rtsb/elements/qv_product_quick_checkout/options', | |
| 1095 | + [ | |
| 1096 | + 'id' => 'qv_product_quick_checkout', | |
| 1097 | + 'title' => esc_html__( 'Quick Checkout', 'shopbuilder' ), | |
| 1098 | + 'category' => 'quick_view', | |
| 1099 | + 'is_front_page' => 'quick_view', | |
| 1100 | + 'active' => 'on', | |
| 1101 | + 'package' => $this->pro_package(), | |
| 1102 | + 'fields' => [], | |
| 1103 | + ] | |
| 1104 | + ), | |
| 1105 | + | |
| 1106 | + 'qv_product_size_chart' => apply_filters( | |
| 1107 | + 'rtsb/elements/qv_product_size_chart/options', | |
| 1108 | + [ | |
| 1109 | + 'id' => 'qv_product_size_chart', | |
| 1110 | + 'title' => esc_html__( 'Size Chart', 'shopbuilder' ), | |
| 1111 | + 'category' => 'quick_view', | |
| 1112 | + 'is_front_page' => 'quick_view', | |
| 1113 | + 'active' => '', | |
| 1114 | + 'package' => $this->pro_package(), | |
| 1115 | + 'fields' => [], | |
| 1116 | + ] | |
| 1117 | + ), | |
| 1118 | + | |
| 1119 | + ]; | |
| 1120 | + | |
| 1121 | + return apply_filters( 'rtsb/core/elements/quick_view/widget_list', $list ); | |
| 1122 | + } | |
| 1123 | + | |
| 1124 | + /** | |
| 572 | 1125 | * Product Archive Widget List. |
| 573 | 1126 | * |
| 574 | 1127 | * @return array |
| 575 | 1128 | */ |
| @@ -637,8 +1190,20 @@ | ||
| 637 | 1190 | 'package' => $this->pro_package(), |
| 638 | 1191 | 'fields' => [], |
| 639 | 1192 | ] |
| 640 | 1193 | ), |
| 1194 | + 'product_filters' => apply_filters( | |
| 1195 | + 'rtsb/elements/product_filters/options', | |
| 1196 | + [ | |
| 1197 | + 'id' => 'product_filters', | |
| 1198 | + 'title' => esc_html__( 'Product Filters', 'shopbuilder' ), | |
| 1199 | + 'base_class' => Archive\ProductFilters::class, | |
| 1200 | + 'category' => 'shop', | |
| 1201 | + 'active' => 'on', | |
| 1202 | + 'package' => 'free', | |
| 1203 | + 'fields' => [], | |
| 1204 | + ] | |
| 1205 | + ), | |
| 641 | 1206 | |
| 642 | 1207 | 'archive_result_count' => apply_filters( |
| 643 | 1208 | 'rtsb/elements/archive_result_count/options', |
| 644 | 1209 | [ |
| @@ -890,9 +1455,9 @@ | ||
| 890 | 1455 | * @return array |
| 891 | 1456 | */ |
| 892 | 1457 | protected function thankyou_page_widget_list() { |
| 893 | 1458 | return [ |
| 894 | - 'order_received_text' => apply_filters( | |
| 1459 | + 'order_received_text' => apply_filters( | |
| 895 | 1460 | 'rtsb/elements/order_received_text/options', |
| 896 | 1461 | [ |
| 897 | 1462 | 'id' => 'order_received_text', |
| 898 | 1463 | 'title' => esc_html__( 'Order Received Text', 'shopbuilder' ), |
| @@ -902,9 +1467,9 @@ | ||
| 902 | 1467 | 'package' => $this->pro_package(), |
| 903 | 1468 | 'fields' => [], |
| 904 | 1469 | ] |
| 905 | 1470 | ), |
| 906 | - 'order_details_summary' => apply_filters( | |
| 1471 | + 'order_details_summary' => apply_filters( | |
| 907 | 1472 | 'rtsb/elements/order_details_summary/options', |
| 908 | 1473 | [ |
| 909 | 1474 | 'id' => 'order_details_summary', |
| 910 | 1475 | 'title' => esc_html__( 'Order Details Summary', 'shopbuilder' ), |
| @@ -914,9 +1479,9 @@ | ||
| 914 | 1479 | 'package' => $this->pro_package(), |
| 915 | 1480 | 'fields' => [], |
| 916 | 1481 | ] |
| 917 | 1482 | ), |
| 918 | - 'order_details_table' => apply_filters( | |
| 1483 | + 'order_details_table' => apply_filters( | |
| 919 | 1484 | 'rtsb/elements/order_details_table/options', |
| 920 | 1485 | [ |
| 921 | 1486 | 'id' => 'order_details_table', |
| 922 | 1487 | 'title' => esc_html__( 'Order Details Table', 'shopbuilder' ), |
| @@ -926,9 +1491,9 @@ | ||
| 926 | 1491 | 'package' => $this->pro_package(), |
| 927 | 1492 | 'fields' => [], |
| 928 | 1493 | ] |
| 929 | 1494 | ), |
| 930 | - 'downloadable_products' => apply_filters( | |
| 1495 | + 'downloadable_products' => apply_filters( | |
| 931 | 1496 | 'rtsb/elements/downloadable_products/options', |
| 932 | 1497 | [ |
| 933 | 1498 | 'id' => 'downloadable_products', |
| 934 | 1499 | 'title' => esc_html__( 'Downloadable Products', 'shopbuilder' ), |
| @@ -938,9 +1503,9 @@ | ||
| 938 | 1503 | 'package' => $this->pro_package(), |
| 939 | 1504 | 'fields' => [], |
| 940 | 1505 | ] |
| 941 | 1506 | ), |
| 942 | - 'order_billing_address' => apply_filters( | |
| 1507 | + 'order_billing_address' => apply_filters( | |
| 943 | 1508 | 'rtsb/elements/order_billing_address/options', |
| 944 | 1509 | [ |
| 945 | 1510 | 'id' => 'order_billing_address', |
| 946 | 1511 | 'title' => esc_html__( 'Order Billing Address', 'shopbuilder' ), |
| @@ -950,9 +1515,9 @@ | ||
| 950 | 1515 | 'package' => $this->pro_package(), |
| 951 | 1516 | 'fields' => [], |
| 952 | 1517 | ] |
| 953 | 1518 | ), |
| 954 | - 'order_shipping_address' => apply_filters( | |
| 1519 | + 'order_shipping_address' => apply_filters( | |
| 955 | 1520 | 'rtsb/elements/order_shipping_address/options', |
| 956 | 1521 | [ |
| 957 | 1522 | 'id' => 'order_shipping_address', |
| 958 | 1523 | 'title' => esc_html__( 'Order Shipping Address', 'shopbuilder' ), |
| @@ -962,11 +1527,45 @@ | ||
| 962 | 1527 | 'package' => $this->pro_package(), |
| 963 | 1528 | 'fields' => [], |
| 964 | 1529 | ] |
| 965 | 1530 | ), |
| 1531 | + 'order_custom_fields_data' => apply_filters( | |
| 1532 | + 'rtsb/elements/order_custom_fields_data/options', | |
| 1533 | + [ | |
| 1534 | + 'id' => 'order_custom_fields_data', | |
| 1535 | + 'title' => esc_html__( 'Checkout Form Custom Fields Data', 'shopbuilder' ), | |
| 1536 | + 'category' => 'thank_you', | |
| 1537 | + 'is_front_page' => 'thank_you', | |
| 1538 | + 'active' => 'on', | |
| 1539 | + 'package' => $this->pro_package(), | |
| 1540 | + 'fields' => [], | |
| 1541 | + ] | |
| 1542 | + ), | |
| 966 | 1543 | ]; |
| 967 | 1544 | } |
| 1545 | + /** | |
| 1546 | + * Checkout Page Order Pay Widget List. | |
| 1547 | + * | |
| 1548 | + * @return array | |
| 1549 | + */ | |
| 1550 | + protected function orderpay_page_widget_list() { | |
| 1551 | + return [ | |
| 1552 | + 'order_pay_form' => apply_filters( | |
| 1553 | + 'rtsb/elements/order_pay_form/options', | |
| 1554 | + [ | |
| 1555 | + 'id' => 'order_pay_form', | |
| 1556 | + 'title' => esc_html__( 'Order Pay Form', 'shopbuilder' ), | |
| 1557 | + 'category' => 'myaccount_dashboard', | |
| 1558 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1559 | + 'active' => 'on', | |
| 1560 | + 'package' => $this->pro_package(), | |
| 1561 | + 'fields' => [], | |
| 1562 | + ] | |
| 1563 | + ), | |
| 968 | 1564 | |
| 1565 | + ]; | |
| 1566 | + } | |
| 1567 | + | |
| 969 | 1568 | /** |
| 970 | 1569 | * Checkout Page Widget List. |
| 971 | 1570 | * |
| 972 | 1571 | * @return array |
| @@ -971,10 +1570,21 @@ | ||
| 971 | 1570 | * |
| 972 | 1571 | * @return array |
| 973 | 1572 | */ |
| 974 | 1573 | protected function my_account_page_widget_list() { |
| 975 | - return [ | |
| 976 | - | |
| 1574 | + $widgets = [ | |
| 1575 | + 'account_avatar' => apply_filters( | |
| 1576 | + 'rtsb/elements/account_avatar/options', | |
| 1577 | + [ | |
| 1578 | + 'id' => 'account_avatar', | |
| 1579 | + 'title' => esc_html__( 'Account Avatar', 'shopbuilder' ), | |
| 1580 | + 'category' => 'myaccount_dashboard', | |
| 1581 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1582 | + 'active' => 'on', | |
| 1583 | + 'package' => $this->pro_package(), | |
| 1584 | + 'fields' => [], | |
| 1585 | + ] | |
| 1586 | + ), | |
| 977 | 1587 | 'account_navigation_edit_shipping' => apply_filters( |
| 978 | 1588 | 'rtsb/elements/account_navigation_edit_shipping/options', |
| 979 | 1589 | [ |
| 980 | 1590 | 'id' => 'account_navigation_edit_shipping', |
| @@ -991,9 +1601,9 @@ | ||
| 991 | 1601 | [ |
| 992 | 1602 | 'id' => 'account_dashboard', |
| 993 | 1603 | 'title' => esc_html__( 'Account Dashboard', 'shopbuilder' ), |
| 994 | 1604 | 'category' => 'myaccount_dashboard', |
| 995 | - 'is_front_page' => 'myaccount_dashboard', | |
| 1605 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 996 | 1606 | 'active' => 'on', |
| 997 | 1607 | 'package' => $this->pro_package(), |
| 998 | 1608 | 'fields' => [], |
| 999 | 1609 | ] |
| @@ -1003,9 +1613,9 @@ | ||
| 1003 | 1613 | [ |
| 1004 | 1614 | 'id' => 'account_orders', |
| 1005 | 1615 | 'title' => esc_html__( 'Account Orders', 'shopbuilder' ), |
| 1006 | 1616 | 'category' => 'myaccount_dashboard', |
| 1007 | - 'is_front_page' => 'myaccount_order', | |
| 1617 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1008 | 1618 | 'active' => 'on', |
| 1009 | 1619 | 'package' => $this->pro_package(), |
| 1010 | 1620 | 'fields' => [], |
| 1011 | 1621 | ] |
| @@ -1015,9 +1625,9 @@ | ||
| 1015 | 1625 | [ |
| 1016 | 1626 | 'id' => 'account_downloads', |
| 1017 | 1627 | 'title' => esc_html__( 'Account Downloads', 'shopbuilder' ), |
| 1018 | 1628 | 'category' => 'myaccount_dashboard', |
| 1019 | - 'is_front_page' => 'myaccount_downloads', | |
| 1629 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1020 | 1630 | 'active' => 'on', |
| 1021 | 1631 | 'package' => $this->pro_package(), |
| 1022 | 1632 | 'fields' => [], |
| 1023 | 1633 | ] |
| @@ -1027,9 +1637,9 @@ | ||
| 1027 | 1637 | [ |
| 1028 | 1638 | 'id' => 'account_billing_address', |
| 1029 | 1639 | 'title' => esc_html__( 'Account Billing Address', 'shopbuilder' ), |
| 1030 | 1640 | 'category' => 'myaccount_dashboard', |
| 1031 | - 'is_front_page' => 'myaccount_address', | |
| 1641 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1032 | 1642 | 'active' => 'on', |
| 1033 | 1643 | 'package' => $this->pro_package(), |
| 1034 | 1644 | 'fields' => [], |
| 1035 | 1645 | ] |
| @@ -1039,9 +1649,9 @@ | ||
| 1039 | 1649 | [ |
| 1040 | 1650 | 'id' => 'account_shipping_address', |
| 1041 | 1651 | 'title' => esc_html__( 'Account Shipping Address', 'shopbuilder' ), |
| 1042 | 1652 | 'category' => 'myaccount_dashboard', |
| 1043 | - 'is_front_page' => 'myaccount_address', | |
| 1653 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1044 | 1654 | 'active' => 'on', |
| 1045 | 1655 | 'package' => $this->pro_package(), |
| 1046 | 1656 | 'fields' => [], |
| 1047 | 1657 | ] |
| @@ -1051,9 +1661,9 @@ | ||
| 1051 | 1661 | [ |
| 1052 | 1662 | 'id' => 'account_address_description', |
| 1053 | 1663 | 'title' => esc_html__( 'Account Address Description', 'shopbuilder' ), |
| 1054 | 1664 | 'category' => 'myaccount_dashboard', |
| 1055 | - 'is_front_page' => 'myaccount_address', | |
| 1665 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1056 | 1666 | 'active' => 'on', |
| 1057 | 1667 | 'package' => $this->pro_package(), |
| 1058 | 1668 | 'fields' => [], |
| 1059 | 1669 | ] |
| @@ -1063,9 +1673,9 @@ | ||
| 1063 | 1673 | [ |
| 1064 | 1674 | 'id' => 'account_details', |
| 1065 | 1675 | 'title' => esc_html__( 'Account Edit / Details', 'shopbuilder' ), |
| 1066 | 1676 | 'category' => 'myaccount_dashboard', |
| 1067 | - 'is_front_page' => 'myaccount_edit_details', | |
| 1677 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1068 | 1678 | 'active' => 'on', |
| 1069 | 1679 | 'package' => $this->pro_package(), |
| 1070 | 1680 | 'fields' => [], |
| 1071 | 1681 | ] |
| @@ -1075,9 +1685,9 @@ | ||
| 1075 | 1685 | [ |
| 1076 | 1686 | 'id' => 'account_order_status', |
| 1077 | 1687 | 'title' => esc_html__( 'Account Order Status', 'shopbuilder' ), |
| 1078 | 1688 | 'category' => 'myaccount_dashboard', |
| 1079 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1689 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1080 | 1690 | 'active' => 'on', |
| 1081 | 1691 | 'package' => $this->pro_package(), |
| 1082 | 1692 | 'fields' => [], |
| 1083 | 1693 | ] |
| @@ -1087,9 +1697,9 @@ | ||
| 1087 | 1697 | [ |
| 1088 | 1698 | 'id' => 'account_order_details_download', |
| 1089 | 1699 | 'title' => esc_html__( 'Account Order Download', 'shopbuilder' ), |
| 1090 | 1700 | 'category' => 'myaccount_dashboard', |
| 1091 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1701 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1092 | 1702 | 'active' => 'on', |
| 1093 | 1703 | 'package' => $this->pro_package(), |
| 1094 | 1704 | 'fields' => [], |
| 1095 | 1705 | ] |
| @@ -1099,9 +1709,9 @@ | ||
| 1099 | 1709 | [ |
| 1100 | 1710 | 'id' => 'account_order_details_note', |
| 1101 | 1711 | 'title' => esc_html__( 'Account Order Note', 'shopbuilder' ), |
| 1102 | 1712 | 'category' => 'myaccount_dashboard', |
| 1103 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1713 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1104 | 1714 | 'active' => 'on', |
| 1105 | 1715 | 'package' => $this->pro_package(), |
| 1106 | 1716 | 'fields' => [], |
| 1107 | 1717 | ] |
| @@ -1111,9 +1721,9 @@ | ||
| 1111 | 1721 | [ |
| 1112 | 1722 | 'id' => 'account_order_details_table', |
| 1113 | 1723 | 'title' => esc_html__( 'Account Order Table', 'shopbuilder' ), |
| 1114 | 1724 | 'category' => 'myaccount_dashboard', |
| 1115 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1725 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1116 | 1726 | 'active' => 'on', |
| 1117 | 1727 | 'package' => $this->pro_package(), |
| 1118 | 1728 | 'fields' => [], |
| 1119 | 1729 | ] |
| @@ -1123,9 +1733,9 @@ | ||
| 1123 | 1733 | [ |
| 1124 | 1734 | 'id' => 'account_order_details_order_again', |
| 1125 | 1735 | 'title' => esc_html__( 'Account Order Again Button', 'shopbuilder' ), |
| 1126 | 1736 | 'category' => 'myaccount_dashboard', |
| 1127 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1737 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1128 | 1738 | 'active' => 'on', |
| 1129 | 1739 | 'package' => $this->pro_package(), |
| 1130 | 1740 | 'fields' => [], |
| 1131 | 1741 | ] |
| @@ -1135,9 +1745,9 @@ | ||
| 1135 | 1745 | [ |
| 1136 | 1746 | 'id' => 'account_order_details_order_shipping', |
| 1137 | 1747 | 'title' => esc_html__( 'Account Order Shipping', 'shopbuilder' ), |
| 1138 | 1748 | 'category' => 'myaccount_dashboard', |
| 1139 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1749 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1140 | 1750 | 'active' => 'on', |
| 1141 | 1751 | 'package' => $this->pro_package(), |
| 1142 | 1752 | 'fields' => [], |
| 1143 | 1753 | ] |
| @@ -1147,9 +1757,9 @@ | ||
| 1147 | 1757 | [ |
| 1148 | 1758 | 'id' => 'account_order_details_order_billing', |
| 1149 | 1759 | 'title' => esc_html__( 'Account Order Billing', 'shopbuilder' ), |
| 1150 | 1760 | 'category' => 'myaccount_dashboard', |
| 1151 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1761 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1152 | 1762 | 'active' => 'on', |
| 1153 | 1763 | 'package' => $this->pro_package(), |
| 1154 | 1764 | 'fields' => [], |
| 1155 | 1765 | ] |
| @@ -1159,9 +1769,9 @@ | ||
| 1159 | 1769 | [ |
| 1160 | 1770 | 'id' => 'account_edit_billing_address', |
| 1161 | 1771 | 'title' => esc_html__( 'Edit Billing Address', 'shopbuilder' ), |
| 1162 | 1772 | 'category' => 'myaccount_dashboard', |
| 1163 | - 'is_front_page' => 'myaccount_edit_billing_address', | |
| 1773 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1164 | 1774 | 'active' => 'on', |
| 1165 | 1775 | 'package' => $this->pro_package(), |
| 1166 | 1776 | 'fields' => [], |
| 1167 | 1777 | ] |
| @@ -1171,15 +1781,41 @@ | ||
| 1171 | 1781 | [ |
| 1172 | 1782 | 'id' => 'account_edit_shipping_address', |
| 1173 | 1783 | 'title' => esc_html__( 'Edit Shipping Address', 'shopbuilder' ), |
| 1174 | 1784 | 'category' => 'myaccount_dashboard', |
| 1175 | - 'is_front_page' => 'myaccount_edit_shipping_address', | |
| 1785 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1176 | 1786 | 'active' => 'on', |
| 1177 | 1787 | 'package' => $this->pro_package(), |
| 1178 | 1788 | 'fields' => [], |
| 1179 | 1789 | ] |
| 1180 | 1790 | ), |
| 1791 | + 'account_payment_methods' => apply_filters( | |
| 1792 | + 'rtsb/elements/account_payment_methods/options', | |
| 1793 | + [ | |
| 1794 | + 'id' => 'account_payment_methods', | |
| 1795 | + 'title' => esc_html__( 'Payment Methods', 'shopbuilder' ), | |
| 1796 | + 'category' => 'myaccount_dashboard', | |
| 1797 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1798 | + 'active' => 'on', | |
| 1799 | + 'package' => $this->pro_package(), | |
| 1800 | + 'fields' => [], | |
| 1801 | + ] | |
| 1802 | + ), | |
| 1803 | + 'account_add_payment_method' => apply_filters( | |
| 1804 | + 'rtsb/elements/account_add_payment_method/options', | |
| 1805 | + [ | |
| 1806 | + 'id' => 'account_add_payment_method', | |
| 1807 | + 'title' => esc_html__( 'Add Payment Method', 'shopbuilder' ), | |
| 1808 | + 'category' => 'myaccount_dashboard', | |
| 1809 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1810 | + 'active' => 'on', | |
| 1811 | + 'package' => $this->pro_package(), | |
| 1812 | + 'fields' => [], | |
| 1813 | + ] | |
| 1814 | + ), | |
| 1181 | 1815 | ]; |
| 1816 | + | |
| 1817 | + return apply_filters( 'rtsb/core/elements/my_account/widget_list', $widgets ); | |
| 1182 | 1818 | } |
| 1183 | 1819 | |
| 1184 | 1820 | /*** |
| 1185 | 1821 | * @return array |
| @@ -1227,9 +1863,9 @@ | ||
| 1227 | 1863 | [ |
| 1228 | 1864 | 'id' => 'account_lost_password', |
| 1229 | 1865 | 'title' => esc_html__( 'Lost Password Form', 'shopbuilder' ), |
| 1230 | 1866 | 'category' => 'others_widget', |
| 1231 | - 'is_front_page' => 'myaccount_lost_password', | |
| 1867 | + 'is_front_page' => 'myaccount_auth', | |
| 1232 | 1868 | 'active' => 'on', |
| 1233 | 1869 | 'package' => $this->pro_package(), |
| 1234 | 1870 | 'fields' => [], |
| 1235 | 1871 | ] |