| @@ -13,8 +13,9 @@ | ||
| 13 | 13 | use RadiusTheme\SB\Elementor\Widgets\General; |
| 14 | 14 | use RadiusTheme\SB\Elementor\Widgets\Single; |
| 15 | 15 | use RadiusTheme\SB\Models\Base\ListModel; |
| 16 | 16 | use RadiusTheme\SB\Traits\SingletonTrait; |
| 17 | +use RadiusTheme\SBPRO\Elementor\Widgets\Checkout as CheckoutPro; | |
| 17 | 18 | |
| 18 | 19 | /** |
| 19 | 20 | * Elementor Element List |
| 20 | 21 | */ |
| @@ -50,8 +51,11 @@ | ||
| 50 | 51 | ], |
| 51 | 52 | 'product' => [ |
| 52 | 53 | 'title' => esc_html__( 'Single', 'shopbuilder' ), |
| 53 | 54 | ], |
| 55 | + 'quick_view' => [ | |
| 56 | + 'title' => esc_html__( 'Quick View', 'shopbuilder' ), | |
| 57 | + ], | |
| 54 | 58 | 'cart' => [ |
| 55 | 59 | 'title' => esc_html__( 'Cart', 'shopbuilder' ), |
| 56 | 60 | ], |
| 57 | 61 | 'checkout' => [ |
| @@ -57,15 +61,15 @@ | ||
| 57 | 61 | 'checkout' => [ |
| 58 | 62 | 'title' => esc_html__( 'Checkout', 'shopbuilder' ), |
| 59 | 63 | ], |
| 60 | 64 | 'thank_you' => [ |
| 61 | - 'title' => esc_html__( 'Order Received', 'shopbuilder-pro' ), | |
| 65 | + 'title' => esc_html__( 'Order Received', 'shopbuilder' ), | |
| 62 | 66 | ], |
| 63 | 67 | 'myaccount_dashboard' => [ |
| 64 | - 'title' => esc_html__( 'My Account', 'shopbuilder-pro' ), | |
| 68 | + 'title' => esc_html__( 'My Account', 'shopbuilder' ), | |
| 65 | 69 | ], |
| 66 | 70 | 'others_widget' => [ |
| 67 | - 'title' => esc_html__( 'Others', 'shopbuilder-pro' ), | |
| 71 | + 'title' => esc_html__( 'Others', 'shopbuilder' ), | |
| 68 | 72 | ], |
| 69 | 73 | ] |
| 70 | 74 | ); |
| 71 | 75 | } |
| @@ -78,12 +82,14 @@ | ||
| 78 | 82 | */ |
| 79 | 83 | protected function raw_list() { |
| 80 | 84 | $list = $this->product_page_widget_list() |
| 81 | 85 | + $this->general_widget_list() |
| 86 | + + $this->product_quick_view() | |
| 82 | 87 | + $this->shop_archive_page_widget_list() |
| 83 | 88 | + $this->cart_page_widget_list() |
| 84 | 89 | + $this->checkout_page_widget_list() |
| 85 | 90 | + $this->thankyou_page_widget_list() |
| 91 | + + $this->orderpay_page_widget_list() | |
| 86 | 92 | + $this->my_account_page_widget_list() |
| 87 | 93 | + $this->myaccount_auth_page_widget_list(); |
| 88 | 94 | |
| 89 | 95 | return apply_filters( 'rtsb/core/elements/raw_list', $list ); |
| @@ -119,9 +125,8 @@ | ||
| 119 | 125 | 'package' => 'free', |
| 120 | 126 | 'fields' => [], |
| 121 | 127 | ] |
| 122 | 128 | ), |
| 123 | - | |
| 124 | 129 | 'products_slider' => apply_filters( |
| 125 | 130 | 'rtsb/elements/products_slider/options', |
| 126 | 131 | [ |
| 127 | 132 | 'id' => 'products_slider', |
| @@ -132,9 +137,19 @@ | ||
| 132 | 137 | 'package' => 'free', |
| 133 | 138 | 'fields' => [], |
| 134 | 139 | ] |
| 135 | 140 | ), |
| 136 | - | |
| 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 | + ), | |
| 137 | 152 | 'products_single_cateogory' => apply_filters( |
| 138 | 153 | 'rtsb/elements/products_single_cateogory/options', |
| 139 | 154 | [ |
| 140 | 155 | 'id' => 'products_single_cateogory', |
| @@ -157,8 +172,31 @@ | ||
| 157 | 172 | 'package' => 'free', |
| 158 | 173 | 'fields' => [], |
| 159 | 174 | ] |
| 160 | 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 | + ), | |
| 161 | 199 | 'social_share' => apply_filters( |
| 162 | 200 | 'rtsb/elements/social_share/options', |
| 163 | 201 | [ |
| 164 | 202 | 'id' => 'social_share', |
| @@ -193,14 +231,14 @@ | ||
| 193 | 231 | 'package' => 'free', |
| 194 | 232 | 'fields' => [], |
| 195 | 233 | ] |
| 196 | 234 | ), |
| 197 | - 'rtsb_wishlist' => apply_filters( | |
| 198 | - 'rtsb/elements/rtsb_wishlist/options', | |
| 235 | + 'advanced_heading' => apply_filters( | |
| 236 | + 'rtsb/elements/advanced_heading/options', | |
| 199 | 237 | [ |
| 200 | - 'id' => 'rtsb_wishlist', | |
| 201 | - 'title' => esc_html__( 'Wishlist Table', 'shopbuilder' ), | |
| 202 | - 'base_class' => General\Wishlist::class, | |
| 238 | + 'id' => 'advanced_heading', | |
| 239 | + 'title' => esc_html__( 'Advanced Heading', 'shopbuilder' ), | |
| 240 | + 'base_class' => General\AdvancedHeading\AdvancedHeading::class, | |
| 203 | 241 | 'category' => 'general', |
| 204 | 242 | 'active' => 'on', |
| 205 | 243 | 'package' => 'free', |
| 206 | 244 | 'fields' => [], |
| @@ -205,10 +243,245 @@ | ||
| 205 | 243 | 'package' => 'free', |
| 206 | 244 | 'fields' => [], |
| 207 | 245 | ] |
| 208 | 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 | + ), | |
| 209 | 483 | ]; |
| 210 | - | |
| 211 | 484 | return apply_filters( 'rtsb/core/elements/general/widget_list', $list ); |
| 212 | 485 | } |
| 213 | 486 | |
| 214 | 487 | /** |
| @@ -270,10 +543,10 @@ | ||
| 270 | 543 | 'product_onsale' => apply_filters( |
| 271 | 544 | 'rtsb/elements/product_onsale/options', |
| 272 | 545 | [ |
| 273 | 546 | 'id' => 'product_onsale', |
| 274 | - 'title' => esc_html__( 'Sale Flash - Onsale', 'shopbuilder' ), | |
| 275 | - 'base_class' => Single\ProductOnSale::class, | |
| 547 | + 'title' => esc_html__( 'Product Badges', 'shopbuilder' ), | |
| 548 | + 'base_class' => Single\ProductBadges::class, | |
| 276 | 549 | 'category' => 'product', |
| 277 | 550 | 'active' => 'on', |
| 278 | 551 | 'package' => 'free', |
| 279 | 552 | 'fields' => [], |
| @@ -414,9 +687,9 @@ | ||
| 414 | 687 | 'product_sales_count' => apply_filters( |
| 415 | 688 | 'rtsb/elements/product_sales_count/options', |
| 416 | 689 | [ |
| 417 | 690 | 'id' => 'product_sales_count', |
| 418 | - 'title' => esc_html__( 'Sales Count', 'shopbuilder-pro' ), | |
| 691 | + 'title' => esc_html__( 'Sales Count', 'shopbuilder' ), | |
| 419 | 692 | 'category' => 'product', |
| 420 | 693 | 'active' => '', |
| 421 | 694 | 'package' => $this->pro_package(), |
| 422 | 695 | 'fields' => [], |
| @@ -421,13 +694,24 @@ | ||
| 421 | 694 | 'package' => $this->pro_package(), |
| 422 | 695 | 'fields' => [], |
| 423 | 696 | ] |
| 424 | 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 | + ), | |
| 425 | 709 | 'flash_sale_countdown' => apply_filters( |
| 426 | 710 | 'rtsb/elements/flash_sale_countdown/options', |
| 427 | 711 | [ |
| 428 | 712 | 'id' => 'flash_sale_countdown', |
| 429 | - 'title' => esc_html__( 'Flash Sale Countdown', 'shopbuilder-pro' ), | |
| 713 | + 'title' => esc_html__( 'Flash Sale Countdown', 'shopbuilder' ), | |
| 430 | 714 | 'category' => 'product', |
| 431 | 715 | 'active' => '', |
| 432 | 716 | 'package' => $this->pro_package(), |
| 433 | 717 | 'fields' => [], |
| @@ -436,9 +720,9 @@ | ||
| 436 | 720 | 'product_size_chart' => apply_filters( |
| 437 | 721 | 'rtsb/elements/product_size_chart/options', |
| 438 | 722 | [ |
| 439 | 723 | 'id' => 'product_size_chart', |
| 440 | - 'title' => esc_html__( 'Size Chart', 'shopbuilder-pro' ), | |
| 724 | + 'title' => esc_html__( 'Size Chart', 'shopbuilder' ), | |
| 441 | 725 | 'category' => 'product', |
| 442 | 726 | 'active' => '', |
| 443 | 727 | 'package' => $this->pro_package(), |
| 444 | 728 | 'fields' => [], |
| @@ -447,9 +731,9 @@ | ||
| 447 | 731 | 'product_quick_checkout' => apply_filters( |
| 448 | 732 | 'rtsb/elements/product_quick_checkout/options', |
| 449 | 733 | [ |
| 450 | 734 | 'id' => 'product_quick_checkout', |
| 451 | - 'title' => esc_html__( 'Quick Checkout', 'shopbuilder-pro' ), | |
| 735 | + 'title' => esc_html__( 'Quick Checkout', 'shopbuilder' ), | |
| 452 | 736 | 'category' => 'product', |
| 453 | 737 | 'active' => '', |
| 454 | 738 | 'package' => $this->pro_package(), |
| 455 | 739 | 'fields' => [], |
| @@ -466,8 +750,30 @@ | ||
| 466 | 750 | 'package' => 'free', |
| 467 | 751 | 'fields' => [], |
| 468 | 752 | ] |
| 469 | 753 | ), |
| 754 | + 'advance_product_tabs' => apply_filters( | |
| 755 | + 'rtsb/elements/advance_product_tabs/options', | |
| 756 | + [ | |
| 757 | + 'id' => 'advance_product_tabs', | |
| 758 | + 'title' => esc_html__( 'Advanced Product Tabs', 'shopbuilder' ), | |
| 759 | + 'category' => 'product', | |
| 760 | + 'active' => '', | |
| 761 | + 'package' => $this->pro_package(), | |
| 762 | + 'fields' => [], | |
| 763 | + ] | |
| 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 | + ), | |
| 470 | 776 | 'product_reviews' => apply_filters( |
| 471 | 777 | 'rtsb/elements/product_reviews/options', |
| 472 | 778 | [ |
| 473 | 779 | 'id' => 'product_reviews', |
| @@ -556,8 +862,267 @@ | ||
| 556 | 862 | return apply_filters( 'rtsb/core/elements/product_page/widget_list', $list ); |
| 557 | 863 | } |
| 558 | 864 | |
| 559 | 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 | + /** | |
| 560 | 1125 | * Product Archive Widget List. |
| 561 | 1126 | * |
| 562 | 1127 | * @return array |
| 563 | 1128 | */ |
| @@ -618,9 +1183,9 @@ | ||
| 618 | 1183 | 'ajax_product_filters' => apply_filters( |
| 619 | 1184 | 'rtsb/elements/ajax_product_filters/options', |
| 620 | 1185 | [ |
| 621 | 1186 | 'id' => 'ajax_product_filters', |
| 622 | - 'title' => esc_html__( 'Ajax Product Filters', 'shopbuilder-pro' ), | |
| 1187 | + 'title' => esc_html__( 'Ajax Product Filters', 'shopbuilder' ), | |
| 623 | 1188 | 'category' => 'shop', |
| 624 | 1189 | 'active' => 'on', |
| 625 | 1190 | 'package' => $this->pro_package(), |
| 626 | 1191 | 'fields' => [], |
| @@ -625,8 +1190,20 @@ | ||
| 625 | 1190 | 'package' => $this->pro_package(), |
| 626 | 1191 | 'fields' => [], |
| 627 | 1192 | ] |
| 628 | 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 | + ), | |
| 629 | 1206 | |
| 630 | 1207 | 'archive_result_count' => apply_filters( |
| 631 | 1208 | 'rtsb/elements/archive_result_count/options', |
| 632 | 1209 | [ |
| @@ -757,9 +1334,9 @@ | ||
| 757 | 1334 | * @return array |
| 758 | 1335 | */ |
| 759 | 1336 | protected function checkout_page_widget_list() { |
| 760 | 1337 | $list = [ |
| 761 | - 'billing_form' => apply_filters( | |
| 1338 | + 'billing_form' => apply_filters( | |
| 762 | 1339 | 'rtsb/elements/billing_form/options', |
| 763 | 1340 | [ |
| 764 | 1341 | 'id' => 'billing_form', |
| 765 | 1342 | 'title' => esc_html__( 'Billing Form', 'shopbuilder' ), |
| @@ -769,9 +1346,9 @@ | ||
| 769 | 1346 | 'package' => 'free', |
| 770 | 1347 | 'fields' => [], |
| 771 | 1348 | ] |
| 772 | 1349 | ), |
| 773 | - 'shipping_form' => apply_filters( | |
| 1350 | + 'shipping_form' => apply_filters( | |
| 774 | 1351 | 'rtsb/elements/shipping_form/options', |
| 775 | 1352 | [ |
| 776 | 1353 | 'id' => 'shipping_form', |
| 777 | 1354 | 'title' => esc_html__( 'Shipping Form', 'shopbuilder' ), |
| @@ -781,9 +1358,9 @@ | ||
| 781 | 1358 | 'package' => 'free', |
| 782 | 1359 | 'fields' => [], |
| 783 | 1360 | ] |
| 784 | 1361 | ), |
| 785 | - 'order_notes' => apply_filters( | |
| 1362 | + 'order_notes' => apply_filters( | |
| 786 | 1363 | 'rtsb/elements/order_notes/options', |
| 787 | 1364 | [ |
| 788 | 1365 | 'id' => 'order_notes', |
| 789 | 1366 | 'title' => esc_html__( 'Order Notes', 'shopbuilder' ), |
| @@ -793,9 +1370,9 @@ | ||
| 793 | 1370 | 'package' => 'free', |
| 794 | 1371 | 'fields' => [], |
| 795 | 1372 | ] |
| 796 | 1373 | ), |
| 797 | - 'order_review' => apply_filters( | |
| 1374 | + 'order_review' => apply_filters( | |
| 798 | 1375 | 'rtsb/elements/order_review/options', |
| 799 | 1376 | [ |
| 800 | 1377 | 'id' => 'order_review', |
| 801 | 1378 | 'title' => esc_html__( 'Order Review', 'shopbuilder' ), |
| @@ -805,9 +1382,9 @@ | ||
| 805 | 1382 | 'package' => 'free', |
| 806 | 1383 | 'fields' => [], |
| 807 | 1384 | ] |
| 808 | 1385 | ), |
| 809 | - 'checkout_payment' => apply_filters( | |
| 1386 | + 'checkout_payment' => apply_filters( | |
| 810 | 1387 | 'rtsb/elements/checkout_payment/options', |
| 811 | 1388 | [ |
| 812 | 1389 | 'id' => 'checkout_payment', |
| 813 | 1390 | 'title' => esc_html__( 'Checkout Payment Method', 'shopbuilder' ), |
| @@ -817,9 +1394,9 @@ | ||
| 817 | 1394 | 'package' => 'free', |
| 818 | 1395 | 'fields' => [], |
| 819 | 1396 | ] |
| 820 | 1397 | ), |
| 821 | - 'coupon_form' => apply_filters( | |
| 1398 | + 'coupon_form' => apply_filters( | |
| 822 | 1399 | 'rtsb/elements/coupon_form/options', |
| 823 | 1400 | [ |
| 824 | 1401 | 'id' => 'coupon_form', |
| 825 | 1402 | 'title' => esc_html__( 'Coupon Form', 'shopbuilder' ), |
| @@ -829,9 +1406,9 @@ | ||
| 829 | 1406 | 'package' => 'free', |
| 830 | 1407 | 'fields' => [], |
| 831 | 1408 | ] |
| 832 | 1409 | ), |
| 833 | - 'checkout_login_form' => apply_filters( | |
| 1410 | + 'checkout_login_form' => apply_filters( | |
| 834 | 1411 | 'rtsb/elements/checkout_login_form/options', |
| 835 | 1412 | [ |
| 836 | 1413 | 'id' => 'checkout_login_form', |
| 837 | 1414 | 'title' => esc_html__( 'Login Form', 'shopbuilder' ), |
| @@ -841,10 +1418,9 @@ | ||
| 841 | 1418 | 'package' => 'free', |
| 842 | 1419 | 'fields' => [], |
| 843 | 1420 | ] |
| 844 | 1421 | ), |
| 845 | - | |
| 846 | - 'shipping_method' => apply_filters( | |
| 1422 | + 'shipping_method' => apply_filters( | |
| 847 | 1423 | 'rtsb/elements/shipping_method/options', |
| 848 | 1424 | [ |
| 849 | 1425 | 'id' => 'shipping_method', |
| 850 | 1426 | 'title' => esc_html__( 'Shipping Method', 'shopbuilder' ), |
| @@ -854,8 +1430,20 @@ | ||
| 854 | 1430 | 'package' => 'free', |
| 855 | 1431 | 'fields' => [], |
| 856 | 1432 | ] |
| 857 | 1433 | ), |
| 1434 | + 'multi_step_checkout_widget' => apply_filters( | |
| 1435 | + 'rtsb/elements/multi_step_checkout_widget/options', | |
| 1436 | + [ | |
| 1437 | + 'id' => 'multi_step_checkout_widget', | |
| 1438 | + 'title' => esc_html__( 'Multi Step Checkout', 'shopbuilder' ), | |
| 1439 | + 'base_class' => CheckoutPro\MultiStepCheckout::class, | |
| 1440 | + 'category' => 'checkout', | |
| 1441 | + 'active' => '', | |
| 1442 | + 'package' => $this->pro_package(), | |
| 1443 | + 'fields' => [], | |
| 1444 | + ] | |
| 1445 | + ), | |
| 858 | 1446 | |
| 859 | 1447 | ]; |
| 860 | 1448 | |
| 861 | 1449 | return apply_filters( 'rtsb/core/elements/checkout/widget_list', $list ); |
| @@ -867,13 +1455,13 @@ | ||
| 867 | 1455 | * @return array |
| 868 | 1456 | */ |
| 869 | 1457 | protected function thankyou_page_widget_list() { |
| 870 | 1458 | return [ |
| 871 | - 'order_received_text' => apply_filters( | |
| 1459 | + 'order_received_text' => apply_filters( | |
| 872 | 1460 | 'rtsb/elements/order_received_text/options', |
| 873 | 1461 | [ |
| 874 | 1462 | 'id' => 'order_received_text', |
| 875 | - 'title' => esc_html__( 'Order Received Text', 'shopbuilder-pro' ), | |
| 1463 | + 'title' => esc_html__( 'Order Received Text', 'shopbuilder' ), | |
| 876 | 1464 | 'category' => 'thank_you', |
| 877 | 1465 | 'is_front_page' => 'thank_you', |
| 878 | 1466 | 'active' => 'on', |
| 879 | 1467 | 'package' => $this->pro_package(), |
| @@ -879,13 +1467,13 @@ | ||
| 879 | 1467 | 'package' => $this->pro_package(), |
| 880 | 1468 | 'fields' => [], |
| 881 | 1469 | ] |
| 882 | 1470 | ), |
| 883 | - 'order_details_summary' => apply_filters( | |
| 1471 | + 'order_details_summary' => apply_filters( | |
| 884 | 1472 | 'rtsb/elements/order_details_summary/options', |
| 885 | 1473 | [ |
| 886 | 1474 | 'id' => 'order_details_summary', |
| 887 | - 'title' => esc_html__( 'Order Details Summary', 'shopbuilder-pro' ), | |
| 1475 | + 'title' => esc_html__( 'Order Details Summary', 'shopbuilder' ), | |
| 888 | 1476 | 'category' => 'thank_you', |
| 889 | 1477 | 'is_front_page' => 'thank_you', |
| 890 | 1478 | 'active' => 'on', |
| 891 | 1479 | 'package' => $this->pro_package(), |
| @@ -891,13 +1479,13 @@ | ||
| 891 | 1479 | 'package' => $this->pro_package(), |
| 892 | 1480 | 'fields' => [], |
| 893 | 1481 | ] |
| 894 | 1482 | ), |
| 895 | - 'order_details_table' => apply_filters( | |
| 1483 | + 'order_details_table' => apply_filters( | |
| 896 | 1484 | 'rtsb/elements/order_details_table/options', |
| 897 | 1485 | [ |
| 898 | 1486 | 'id' => 'order_details_table', |
| 899 | - 'title' => esc_html__( 'Order Details Table', 'shopbuilder-pro' ), | |
| 1487 | + 'title' => esc_html__( 'Order Details Table', 'shopbuilder' ), | |
| 900 | 1488 | 'category' => 'thank_you', |
| 901 | 1489 | 'is_front_page' => 'thank_you', |
| 902 | 1490 | 'active' => 'on', |
| 903 | 1491 | 'package' => $this->pro_package(), |
| @@ -903,13 +1491,13 @@ | ||
| 903 | 1491 | 'package' => $this->pro_package(), |
| 904 | 1492 | 'fields' => [], |
| 905 | 1493 | ] |
| 906 | 1494 | ), |
| 907 | - 'downloadable_products' => apply_filters( | |
| 1495 | + 'downloadable_products' => apply_filters( | |
| 908 | 1496 | 'rtsb/elements/downloadable_products/options', |
| 909 | 1497 | [ |
| 910 | 1498 | 'id' => 'downloadable_products', |
| 911 | - 'title' => esc_html__( 'Downloadable Products', 'shopbuilder-pro' ), | |
| 1499 | + 'title' => esc_html__( 'Downloadable Products', 'shopbuilder' ), | |
| 912 | 1500 | 'category' => 'thank_you', |
| 913 | 1501 | 'is_front_page' => 'thank_you', |
| 914 | 1502 | 'active' => 'on', |
| 915 | 1503 | 'package' => $this->pro_package(), |
| @@ -915,13 +1503,13 @@ | ||
| 915 | 1503 | 'package' => $this->pro_package(), |
| 916 | 1504 | 'fields' => [], |
| 917 | 1505 | ] |
| 918 | 1506 | ), |
| 919 | - 'order_billing_address' => apply_filters( | |
| 1507 | + 'order_billing_address' => apply_filters( | |
| 920 | 1508 | 'rtsb/elements/order_billing_address/options', |
| 921 | 1509 | [ |
| 922 | 1510 | 'id' => 'order_billing_address', |
| 923 | - 'title' => esc_html__( 'Order Billing Address', 'shopbuilder-pro' ), | |
| 1511 | + 'title' => esc_html__( 'Order Billing Address', 'shopbuilder' ), | |
| 924 | 1512 | 'category' => 'thank_you', |
| 925 | 1513 | 'is_front_page' => 'thank_you', |
| 926 | 1514 | 'active' => 'on', |
| 927 | 1515 | 'package' => $this->pro_package(), |
| @@ -927,13 +1515,13 @@ | ||
| 927 | 1515 | 'package' => $this->pro_package(), |
| 928 | 1516 | 'fields' => [], |
| 929 | 1517 | ] |
| 930 | 1518 | ), |
| 931 | - 'order_shipping_address' => apply_filters( | |
| 1519 | + 'order_shipping_address' => apply_filters( | |
| 932 | 1520 | 'rtsb/elements/order_shipping_address/options', |
| 933 | 1521 | [ |
| 934 | 1522 | 'id' => 'order_shipping_address', |
| 935 | - 'title' => esc_html__( 'Order Shipping Address', 'shopbuilder-pro' ), | |
| 1523 | + 'title' => esc_html__( 'Order Shipping Address', 'shopbuilder' ), | |
| 936 | 1524 | 'category' => 'thank_you', |
| 937 | 1525 | 'is_front_page' => 'thank_you', |
| 938 | 1526 | 'active' => 'on', |
| 939 | 1527 | 'package' => $this->pro_package(), |
| @@ -939,11 +1527,45 @@ | ||
| 939 | 1527 | 'package' => $this->pro_package(), |
| 940 | 1528 | 'fields' => [], |
| 941 | 1529 | ] |
| 942 | 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 | + ), | |
| 943 | 1543 | ]; |
| 944 | 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 | + ), | |
| 945 | 1564 | |
| 1565 | + ]; | |
| 1566 | + } | |
| 1567 | + | |
| 946 | 1568 | /** |
| 947 | 1569 | * Checkout Page Widget List. |
| 948 | 1570 | * |
| 949 | 1571 | * @return array |
| @@ -948,15 +1570,26 @@ | ||
| 948 | 1570 | * |
| 949 | 1571 | * @return array |
| 950 | 1572 | */ |
| 951 | 1573 | protected function my_account_page_widget_list() { |
| 952 | - return [ | |
| 953 | - | |
| 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 | + ), | |
| 954 | 1587 | 'account_navigation_edit_shipping' => apply_filters( |
| 955 | 1588 | 'rtsb/elements/account_navigation_edit_shipping/options', |
| 956 | 1589 | [ |
| 957 | 1590 | 'id' => 'account_navigation_edit_shipping', |
| 958 | - 'title' => esc_html__( 'Account Navigation', 'shopbuilder-pro' ), | |
| 1591 | + 'title' => esc_html__( 'Account Navigation', 'shopbuilder' ), | |
| 959 | 1592 | 'category' => 'myaccount_dashboard', |
| 960 | 1593 | 'is_front_page' => 'all_myaccount_dashboard_inner', |
| 961 | 1594 | 'active' => 'on', |
| 962 | 1595 | 'package' => $this->pro_package(), |
| @@ -966,11 +1599,11 @@ | ||
| 966 | 1599 | 'account_dashboard' => apply_filters( |
| 967 | 1600 | 'rtsb/elements/account_dashboard/options', |
| 968 | 1601 | [ |
| 969 | 1602 | 'id' => 'account_dashboard', |
| 970 | - 'title' => esc_html__( 'Account Dashboard', 'shopbuilder-pro' ), | |
| 1603 | + 'title' => esc_html__( 'Account Dashboard', 'shopbuilder' ), | |
| 971 | 1604 | 'category' => 'myaccount_dashboard', |
| 972 | - 'is_front_page' => 'myaccount_dashboard', | |
| 1605 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 973 | 1606 | 'active' => 'on', |
| 974 | 1607 | 'package' => $this->pro_package(), |
| 975 | 1608 | 'fields' => [], |
| 976 | 1609 | ] |
| @@ -978,11 +1611,11 @@ | ||
| 978 | 1611 | 'account_orders' => apply_filters( |
| 979 | 1612 | 'rtsb/elements/account_orders/options', |
| 980 | 1613 | [ |
| 981 | 1614 | 'id' => 'account_orders', |
| 982 | - 'title' => esc_html__( 'Account Orders', 'shopbuilder-pro' ), | |
| 1615 | + 'title' => esc_html__( 'Account Orders', 'shopbuilder' ), | |
| 983 | 1616 | 'category' => 'myaccount_dashboard', |
| 984 | - 'is_front_page' => 'myaccount_order', | |
| 1617 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 985 | 1618 | 'active' => 'on', |
| 986 | 1619 | 'package' => $this->pro_package(), |
| 987 | 1620 | 'fields' => [], |
| 988 | 1621 | ] |
| @@ -990,11 +1623,11 @@ | ||
| 990 | 1623 | 'account_downloads' => apply_filters( |
| 991 | 1624 | 'rtsb/elements/account_downloads/options', |
| 992 | 1625 | [ |
| 993 | 1626 | 'id' => 'account_downloads', |
| 994 | - 'title' => esc_html__( 'Account Downloads', 'shopbuilder-pro' ), | |
| 1627 | + 'title' => esc_html__( 'Account Downloads', 'shopbuilder' ), | |
| 995 | 1628 | 'category' => 'myaccount_dashboard', |
| 996 | - 'is_front_page' => 'myaccount_downloads', | |
| 1629 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 997 | 1630 | 'active' => 'on', |
| 998 | 1631 | 'package' => $this->pro_package(), |
| 999 | 1632 | 'fields' => [], |
| 1000 | 1633 | ] |
| @@ -1002,11 +1635,11 @@ | ||
| 1002 | 1635 | 'account_billing_address' => apply_filters( |
| 1003 | 1636 | 'rtsb/elements/account_billing_address/options', |
| 1004 | 1637 | [ |
| 1005 | 1638 | 'id' => 'account_billing_address', |
| 1006 | - 'title' => esc_html__( 'Account Billing Address', 'shopbuilder-pro' ), | |
| 1639 | + 'title' => esc_html__( 'Account Billing Address', 'shopbuilder' ), | |
| 1007 | 1640 | 'category' => 'myaccount_dashboard', |
| 1008 | - 'is_front_page' => 'myaccount_address', | |
| 1641 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1009 | 1642 | 'active' => 'on', |
| 1010 | 1643 | 'package' => $this->pro_package(), |
| 1011 | 1644 | 'fields' => [], |
| 1012 | 1645 | ] |
| @@ -1014,11 +1647,11 @@ | ||
| 1014 | 1647 | 'account_shipping_address' => apply_filters( |
| 1015 | 1648 | 'rtsb/elements/account_shipping_address/options', |
| 1016 | 1649 | [ |
| 1017 | 1650 | 'id' => 'account_shipping_address', |
| 1018 | - 'title' => esc_html__( 'Account Shipping Address', 'shopbuilder-pro' ), | |
| 1651 | + 'title' => esc_html__( 'Account Shipping Address', 'shopbuilder' ), | |
| 1019 | 1652 | 'category' => 'myaccount_dashboard', |
| 1020 | - 'is_front_page' => 'myaccount_address', | |
| 1653 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1021 | 1654 | 'active' => 'on', |
| 1022 | 1655 | 'package' => $this->pro_package(), |
| 1023 | 1656 | 'fields' => [], |
| 1024 | 1657 | ] |
| @@ -1026,11 +1659,11 @@ | ||
| 1026 | 1659 | 'account_address_description' => apply_filters( |
| 1027 | 1660 | 'rtsb/elements/account_address_description/options', |
| 1028 | 1661 | [ |
| 1029 | 1662 | 'id' => 'account_address_description', |
| 1030 | - 'title' => esc_html__( 'Account Address Description', 'shopbuilder-pro' ), | |
| 1663 | + 'title' => esc_html__( 'Account Address Description', 'shopbuilder' ), | |
| 1031 | 1664 | 'category' => 'myaccount_dashboard', |
| 1032 | - 'is_front_page' => 'myaccount_address', | |
| 1665 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1033 | 1666 | 'active' => 'on', |
| 1034 | 1667 | 'package' => $this->pro_package(), |
| 1035 | 1668 | 'fields' => [], |
| 1036 | 1669 | ] |
| @@ -1038,11 +1671,11 @@ | ||
| 1038 | 1671 | 'account_details' => apply_filters( |
| 1039 | 1672 | 'rtsb/elements/account_details/options', |
| 1040 | 1673 | [ |
| 1041 | 1674 | 'id' => 'account_details', |
| 1042 | - 'title' => esc_html__( 'Account Edit / Details', 'shopbuilder-pro' ), | |
| 1675 | + 'title' => esc_html__( 'Account Edit / Details', 'shopbuilder' ), | |
| 1043 | 1676 | 'category' => 'myaccount_dashboard', |
| 1044 | - 'is_front_page' => 'myaccount_edit_details', | |
| 1677 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1045 | 1678 | 'active' => 'on', |
| 1046 | 1679 | 'package' => $this->pro_package(), |
| 1047 | 1680 | 'fields' => [], |
| 1048 | 1681 | ] |
| @@ -1050,11 +1683,11 @@ | ||
| 1050 | 1683 | 'account_order_status' => apply_filters( |
| 1051 | 1684 | 'rtsb/elements/account_order_status/options', |
| 1052 | 1685 | [ |
| 1053 | 1686 | 'id' => 'account_order_status', |
| 1054 | - 'title' => esc_html__( 'Account Order Status', 'shopbuilder-pro' ), | |
| 1687 | + 'title' => esc_html__( 'Account Order Status', 'shopbuilder' ), | |
| 1055 | 1688 | 'category' => 'myaccount_dashboard', |
| 1056 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1689 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1057 | 1690 | 'active' => 'on', |
| 1058 | 1691 | 'package' => $this->pro_package(), |
| 1059 | 1692 | 'fields' => [], |
| 1060 | 1693 | ] |
| @@ -1062,11 +1695,11 @@ | ||
| 1062 | 1695 | 'account_order_details_download' => apply_filters( |
| 1063 | 1696 | 'rtsb/elements/account_order_details_download/options', |
| 1064 | 1697 | [ |
| 1065 | 1698 | 'id' => 'account_order_details_download', |
| 1066 | - 'title' => esc_html__( 'Account Order Download', 'shopbuilder-pro' ), | |
| 1699 | + 'title' => esc_html__( 'Account Order Download', 'shopbuilder' ), | |
| 1067 | 1700 | 'category' => 'myaccount_dashboard', |
| 1068 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1701 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1069 | 1702 | 'active' => 'on', |
| 1070 | 1703 | 'package' => $this->pro_package(), |
| 1071 | 1704 | 'fields' => [], |
| 1072 | 1705 | ] |
| @@ -1074,11 +1707,11 @@ | ||
| 1074 | 1707 | 'account_order_details_note' => apply_filters( |
| 1075 | 1708 | 'rtsb/elements/account_order_details_note/options', |
| 1076 | 1709 | [ |
| 1077 | 1710 | 'id' => 'account_order_details_note', |
| 1078 | - 'title' => esc_html__( 'Account Order Note', 'shopbuilder-pro' ), | |
| 1711 | + 'title' => esc_html__( 'Account Order Note', 'shopbuilder' ), | |
| 1079 | 1712 | 'category' => 'myaccount_dashboard', |
| 1080 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1713 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1081 | 1714 | 'active' => 'on', |
| 1082 | 1715 | 'package' => $this->pro_package(), |
| 1083 | 1716 | 'fields' => [], |
| 1084 | 1717 | ] |
| @@ -1086,11 +1719,11 @@ | ||
| 1086 | 1719 | 'account_order_details_table' => apply_filters( |
| 1087 | 1720 | 'rtsb/elements/account_order_details_table/options', |
| 1088 | 1721 | [ |
| 1089 | 1722 | 'id' => 'account_order_details_table', |
| 1090 | - 'title' => esc_html__( 'Account Order Table', 'shopbuilder-pro' ), | |
| 1723 | + 'title' => esc_html__( 'Account Order Table', 'shopbuilder' ), | |
| 1091 | 1724 | 'category' => 'myaccount_dashboard', |
| 1092 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1725 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1093 | 1726 | 'active' => 'on', |
| 1094 | 1727 | 'package' => $this->pro_package(), |
| 1095 | 1728 | 'fields' => [], |
| 1096 | 1729 | ] |
| @@ -1098,11 +1731,11 @@ | ||
| 1098 | 1731 | 'account_order_details_order_again' => apply_filters( |
| 1099 | 1732 | 'rtsb/elements/account_order_details_order_again/options', |
| 1100 | 1733 | [ |
| 1101 | 1734 | 'id' => 'account_order_details_order_again', |
| 1102 | - 'title' => esc_html__( 'Account Order Again Button', 'shopbuilder-pro' ), | |
| 1735 | + 'title' => esc_html__( 'Account Order Again Button', 'shopbuilder' ), | |
| 1103 | 1736 | 'category' => 'myaccount_dashboard', |
| 1104 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1737 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1105 | 1738 | 'active' => 'on', |
| 1106 | 1739 | 'package' => $this->pro_package(), |
| 1107 | 1740 | 'fields' => [], |
| 1108 | 1741 | ] |
| @@ -1110,11 +1743,11 @@ | ||
| 1110 | 1743 | 'account_order_details_order_shipping' => apply_filters( |
| 1111 | 1744 | 'rtsb/elements/account_order_details_order_shipping/options', |
| 1112 | 1745 | [ |
| 1113 | 1746 | 'id' => 'account_order_details_order_shipping', |
| 1114 | - 'title' => esc_html__( 'Account Order Shipping', 'shopbuilder-pro' ), | |
| 1747 | + 'title' => esc_html__( 'Account Order Shipping', 'shopbuilder' ), | |
| 1115 | 1748 | 'category' => 'myaccount_dashboard', |
| 1116 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1749 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1117 | 1750 | 'active' => 'on', |
| 1118 | 1751 | 'package' => $this->pro_package(), |
| 1119 | 1752 | 'fields' => [], |
| 1120 | 1753 | ] |
| @@ -1122,11 +1755,11 @@ | ||
| 1122 | 1755 | 'account_order_details_order_billing' => apply_filters( |
| 1123 | 1756 | 'rtsb/elements/account_order_details_order_billing/options', |
| 1124 | 1757 | [ |
| 1125 | 1758 | 'id' => 'account_order_details_order_billing', |
| 1126 | - 'title' => esc_html__( 'Account Order Billing', 'shopbuilder-pro' ), | |
| 1759 | + 'title' => esc_html__( 'Account Order Billing', 'shopbuilder' ), | |
| 1127 | 1760 | 'category' => 'myaccount_dashboard', |
| 1128 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1761 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1129 | 1762 | 'active' => 'on', |
| 1130 | 1763 | 'package' => $this->pro_package(), |
| 1131 | 1764 | 'fields' => [], |
| 1132 | 1765 | ] |
| @@ -1134,11 +1767,11 @@ | ||
| 1134 | 1767 | 'account_edit_billing_address' => apply_filters( |
| 1135 | 1768 | 'rtsb/elements/account_edit_billing_address/options', |
| 1136 | 1769 | [ |
| 1137 | 1770 | 'id' => 'account_edit_billing_address', |
| 1138 | - 'title' => esc_html__( 'Edit Billing Address', 'shopbuilder-pro' ), | |
| 1771 | + 'title' => esc_html__( 'Edit Billing Address', 'shopbuilder' ), | |
| 1139 | 1772 | 'category' => 'myaccount_dashboard', |
| 1140 | - 'is_front_page' => 'myaccount_edit_billing_address', | |
| 1773 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1141 | 1774 | 'active' => 'on', |
| 1142 | 1775 | 'package' => $this->pro_package(), |
| 1143 | 1776 | 'fields' => [], |
| 1144 | 1777 | ] |
| @@ -1146,17 +1779,43 @@ | ||
| 1146 | 1779 | 'account_edit_shipping_address' => apply_filters( |
| 1147 | 1780 | 'rtsb/elements/account_edit_shipping_address/options', |
| 1148 | 1781 | [ |
| 1149 | 1782 | 'id' => 'account_edit_shipping_address', |
| 1150 | - 'title' => esc_html__( 'Edit Shipping Address', 'shopbuilder-pro' ), | |
| 1783 | + 'title' => esc_html__( 'Edit Shipping Address', 'shopbuilder' ), | |
| 1151 | 1784 | 'category' => 'myaccount_dashboard', |
| 1152 | - 'is_front_page' => 'myaccount_edit_shipping_address', | |
| 1785 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1153 | 1786 | 'active' => 'on', |
| 1154 | 1787 | 'package' => $this->pro_package(), |
| 1155 | 1788 | 'fields' => [], |
| 1156 | 1789 | ] |
| 1157 | 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 | + ), | |
| 1158 | 1815 | ]; |
| 1816 | + | |
| 1817 | + return apply_filters( 'rtsb/core/elements/my_account/widget_list', $widgets ); | |
| 1159 | 1818 | } |
| 1160 | 1819 | |
| 1161 | 1820 | /*** |
| 1162 | 1821 | * @return array |
| @@ -1162,13 +1821,13 @@ | ||
| 1162 | 1821 | * @return array |
| 1163 | 1822 | */ |
| 1164 | 1823 | protected function myaccount_auth_page_widget_list() { |
| 1165 | 1824 | return [ |
| 1166 | - 'account_login' => apply_filters( | |
| 1825 | + 'account_login' => apply_filters( | |
| 1167 | 1826 | 'rtsb/elements/account_login/options', |
| 1168 | 1827 | [ |
| 1169 | 1828 | 'id' => 'account_login', |
| 1170 | - 'title' => esc_html__( 'Login Register Form', 'shopbuilder-pro' ), | |
| 1829 | + 'title' => esc_html__( 'Login Register Form', 'shopbuilder' ), | |
| 1171 | 1830 | 'category' => 'others_widget', |
| 1172 | 1831 | 'is_front_page' => 'myaccount_auth', |
| 1173 | 1832 | 'active' => 'on', |
| 1174 | 1833 | 'package' => $this->pro_package(), |
| @@ -1174,15 +1833,39 @@ | ||
| 1174 | 1833 | 'package' => $this->pro_package(), |
| 1175 | 1834 | 'fields' => [], |
| 1176 | 1835 | ] |
| 1177 | 1836 | ), |
| 1178 | - 'account_lost_password' => apply_filters( | |
| 1837 | + 'account_login_form' => apply_filters( | |
| 1838 | + 'rtsb/elements/account_login_form/options', | |
| 1839 | + [ | |
| 1840 | + 'id' => 'account_login_form', | |
| 1841 | + 'title' => esc_html__( 'Login Form', 'shopbuilder' ), | |
| 1842 | + 'category' => 'others_widget', | |
| 1843 | + 'is_front_page' => 'myaccount_auth', | |
| 1844 | + 'active' => 'on', | |
| 1845 | + 'package' => $this->pro_package(), | |
| 1846 | + 'fields' => [], | |
| 1847 | + ] | |
| 1848 | + ), | |
| 1849 | + 'account_registration_form' => apply_filters( | |
| 1850 | + 'rtsb/elements/account_registration_form/options', | |
| 1851 | + [ | |
| 1852 | + 'id' => 'account_registration_form', | |
| 1853 | + 'title' => esc_html__( 'Registration Form', 'shopbuilder' ), | |
| 1854 | + 'category' => 'others_widget', | |
| 1855 | + 'is_front_page' => 'myaccount_auth', | |
| 1856 | + 'active' => 'on', | |
| 1857 | + 'package' => $this->pro_package(), | |
| 1858 | + 'fields' => [], | |
| 1859 | + ] | |
| 1860 | + ), | |
| 1861 | + 'account_lost_password' => apply_filters( | |
| 1179 | 1862 | 'rtsb/elements/account_lost_password/options', |
| 1180 | 1863 | [ |
| 1181 | 1864 | 'id' => 'account_lost_password', |
| 1182 | - 'title' => esc_html__( 'Lost Password Form', 'shopbuilder-pro' ), | |
| 1865 | + 'title' => esc_html__( 'Lost Password Form', 'shopbuilder' ), | |
| 1183 | 1866 | 'category' => 'others_widget', |
| 1184 | - 'is_front_page' => 'myaccount_lost_password', | |
| 1867 | + 'is_front_page' => 'myaccount_auth', | |
| 1185 | 1868 | 'active' => 'on', |
| 1186 | 1869 | 'package' => $this->pro_package(), |
| 1187 | 1870 | 'fields' => [], |
| 1188 | 1871 | ] |