| @@ -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,256 @@ | ||
| 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 | + ), | |
| 483 | + 'save_for_buy_later' => apply_filters( | |
| 484 | + 'rtsb/elements/save_for_buy_later/options', | |
| 485 | + [ | |
| 486 | + 'id' => 'save_for_buy_later', | |
| 487 | + 'title' => esc_html__( 'Saved For Buy Later', 'shopbuilder' ), | |
| 488 | + 'category' => 'general', | |
| 489 | + 'active' => '', | |
| 490 | + 'package' => $this->pro_package(), | |
| 491 | + 'fields' => [], | |
| 492 | + ] | |
| 493 | + ), | |
| 209 | 494 | ]; |
| 210 | - | |
| 211 | 495 | return apply_filters( 'rtsb/core/elements/general/widget_list', $list ); |
| 212 | 496 | } |
| 213 | 497 | |
| 214 | 498 | /** |
| @@ -270,10 +554,10 @@ | ||
| 270 | 554 | 'product_onsale' => apply_filters( |
| 271 | 555 | 'rtsb/elements/product_onsale/options', |
| 272 | 556 | [ |
| 273 | 557 | 'id' => 'product_onsale', |
| 274 | - 'title' => esc_html__( 'Sale Flash - Onsale', 'shopbuilder' ), | |
| 275 | - 'base_class' => Single\ProductOnSale::class, | |
| 558 | + 'title' => esc_html__( 'Product Badges', 'shopbuilder' ), | |
| 559 | + 'base_class' => Single\ProductBadges::class, | |
| 276 | 560 | 'category' => 'product', |
| 277 | 561 | 'active' => 'on', |
| 278 | 562 | 'package' => 'free', |
| 279 | 563 | 'fields' => [], |
| @@ -414,9 +698,9 @@ | ||
| 414 | 698 | 'product_sales_count' => apply_filters( |
| 415 | 699 | 'rtsb/elements/product_sales_count/options', |
| 416 | 700 | [ |
| 417 | 701 | 'id' => 'product_sales_count', |
| 418 | - 'title' => esc_html__( 'Sales Count', 'shopbuilder-pro' ), | |
| 702 | + 'title' => esc_html__( 'Sales Count', 'shopbuilder' ), | |
| 419 | 703 | 'category' => 'product', |
| 420 | 704 | 'active' => '', |
| 421 | 705 | 'package' => $this->pro_package(), |
| 422 | 706 | 'fields' => [], |
| @@ -421,13 +705,24 @@ | ||
| 421 | 705 | 'package' => $this->pro_package(), |
| 422 | 706 | 'fields' => [], |
| 423 | 707 | ] |
| 424 | 708 | ), |
| 709 | + 'product_stock_counter' => apply_filters( | |
| 710 | + 'rtsb/elements/product_stock_counter/options', | |
| 711 | + [ | |
| 712 | + 'id' => 'product_stock_counter', | |
| 713 | + 'title' => esc_html__( 'Product Stock Count', 'shopbuilder' ), | |
| 714 | + 'category' => 'product', | |
| 715 | + 'active' => '', | |
| 716 | + 'package' => $this->pro_package(), | |
| 717 | + 'fields' => [], | |
| 718 | + ] | |
| 719 | + ), | |
| 425 | 720 | 'flash_sale_countdown' => apply_filters( |
| 426 | 721 | 'rtsb/elements/flash_sale_countdown/options', |
| 427 | 722 | [ |
| 428 | 723 | 'id' => 'flash_sale_countdown', |
| 429 | - 'title' => esc_html__( 'Flash Sale Countdown', 'shopbuilder-pro' ), | |
| 724 | + 'title' => esc_html__( 'Flash Sale Countdown', 'shopbuilder' ), | |
| 430 | 725 | 'category' => 'product', |
| 431 | 726 | 'active' => '', |
| 432 | 727 | 'package' => $this->pro_package(), |
| 433 | 728 | 'fields' => [], |
| @@ -436,9 +731,9 @@ | ||
| 436 | 731 | 'product_size_chart' => apply_filters( |
| 437 | 732 | 'rtsb/elements/product_size_chart/options', |
| 438 | 733 | [ |
| 439 | 734 | 'id' => 'product_size_chart', |
| 440 | - 'title' => esc_html__( 'Size Chart', 'shopbuilder-pro' ), | |
| 735 | + 'title' => esc_html__( 'Size Chart', 'shopbuilder' ), | |
| 441 | 736 | 'category' => 'product', |
| 442 | 737 | 'active' => '', |
| 443 | 738 | 'package' => $this->pro_package(), |
| 444 | 739 | 'fields' => [], |
| @@ -447,9 +742,9 @@ | ||
| 447 | 742 | 'product_quick_checkout' => apply_filters( |
| 448 | 743 | 'rtsb/elements/product_quick_checkout/options', |
| 449 | 744 | [ |
| 450 | 745 | 'id' => 'product_quick_checkout', |
| 451 | - 'title' => esc_html__( 'Quick Checkout', 'shopbuilder-pro' ), | |
| 746 | + 'title' => esc_html__( 'Quick Checkout', 'shopbuilder' ), | |
| 452 | 747 | 'category' => 'product', |
| 453 | 748 | 'active' => '', |
| 454 | 749 | 'package' => $this->pro_package(), |
| 455 | 750 | 'fields' => [], |
| @@ -466,8 +761,30 @@ | ||
| 466 | 761 | 'package' => 'free', |
| 467 | 762 | 'fields' => [], |
| 468 | 763 | ] |
| 469 | 764 | ), |
| 765 | + 'advance_product_tabs' => apply_filters( | |
| 766 | + 'rtsb/elements/advance_product_tabs/options', | |
| 767 | + [ | |
| 768 | + 'id' => 'advance_product_tabs', | |
| 769 | + 'title' => esc_html__( 'Advanced Product Tabs', 'shopbuilder' ), | |
| 770 | + 'category' => 'product', | |
| 771 | + 'active' => '', | |
| 772 | + 'package' => $this->pro_package(), | |
| 773 | + 'fields' => [], | |
| 774 | + ] | |
| 775 | + ), | |
| 776 | + 'product_qr_code' => apply_filters( | |
| 777 | + 'rtsb/elements/product_qr_code/options', | |
| 778 | + [ | |
| 779 | + 'id' => 'product_qr_code', | |
| 780 | + 'title' => esc_html__( 'QR Code', 'shopbuilder' ), | |
| 781 | + 'category' => 'product', | |
| 782 | + 'active' => '', | |
| 783 | + 'package' => $this->pro_package(), | |
| 784 | + 'fields' => [], | |
| 785 | + ] | |
| 786 | + ), | |
| 470 | 787 | 'product_reviews' => apply_filters( |
| 471 | 788 | 'rtsb/elements/product_reviews/options', |
| 472 | 789 | [ |
| 473 | 790 | 'id' => 'product_reviews', |
| @@ -556,8 +873,267 @@ | ||
| 556 | 873 | return apply_filters( 'rtsb/core/elements/product_page/widget_list', $list ); |
| 557 | 874 | } |
| 558 | 875 | |
| 559 | 876 | /** |
| 877 | + * Product Single Widget List. | |
| 878 | + * | |
| 879 | + * @return array | |
| 880 | + */ | |
| 881 | + protected function product_quick_view() { | |
| 882 | + | |
| 883 | + $list = [ | |
| 884 | + 'qv_product_title' => apply_filters( | |
| 885 | + 'rtsb/elements/qv_product_title/options', | |
| 886 | + [ | |
| 887 | + 'id' => 'qv_product_title', | |
| 888 | + 'title' => esc_html__( 'Product Title', 'shopbuilder' ), | |
| 889 | + 'base_class' => Single\ProductTitle::class, | |
| 890 | + 'category' => 'quick_view', | |
| 891 | + 'is_front_page' => 'quick_view', | |
| 892 | + 'active' => 'on', | |
| 893 | + 'package' => $this->pro_package(), | |
| 894 | + 'fields' => [], | |
| 895 | + ] | |
| 896 | + ), | |
| 897 | + 'qv_product_description' => apply_filters( | |
| 898 | + 'rtsb/elements/qv_product_description/options', | |
| 899 | + [ | |
| 900 | + 'id' => 'qv_product_description', | |
| 901 | + 'title' => esc_html__( 'Product Description', 'shopbuilder' ), | |
| 902 | + 'base_class' => Single\ProductDescription::class, | |
| 903 | + 'category' => 'quick_view', | |
| 904 | + 'is_front_page' => 'quick_view', | |
| 905 | + 'active' => 'on', | |
| 906 | + 'package' => $this->pro_package(), | |
| 907 | + 'fields' => [], | |
| 908 | + ] | |
| 909 | + ), | |
| 910 | + 'qv_product_short_description' => apply_filters( | |
| 911 | + 'rtsb/elements/qv_product_short_description/options', | |
| 912 | + [ | |
| 913 | + 'id' => 'qv_product_short_description', | |
| 914 | + 'title' => esc_html__( 'Short Description', 'shopbuilder' ), | |
| 915 | + 'base_class' => Single\ShortDescription::class, | |
| 916 | + 'category' => 'quick_view', | |
| 917 | + 'is_front_page' => 'quick_view', | |
| 918 | + 'active' => 'on', | |
| 919 | + 'package' => $this->pro_package(), | |
| 920 | + 'fields' => [], | |
| 921 | + ] | |
| 922 | + ), | |
| 923 | + 'qv_product_images' => apply_filters( | |
| 924 | + 'rtsb/elements/qv_product_images/options', | |
| 925 | + [ | |
| 926 | + 'id' => 'qv_product_images', | |
| 927 | + 'title' => esc_html__( 'Product Images', 'shopbuilder' ), | |
| 928 | + 'base_class' => Single\ProductImages::class, | |
| 929 | + 'category' => 'quick_view', | |
| 930 | + 'is_front_page' => 'quick_view', | |
| 931 | + 'active' => 'on', | |
| 932 | + 'package' => $this->pro_package(), | |
| 933 | + 'fields' => [], | |
| 934 | + ] | |
| 935 | + ), | |
| 936 | + 'qv_product_badges' => apply_filters( | |
| 937 | + 'rtsb/elements/qv_product_badges/options', | |
| 938 | + [ | |
| 939 | + 'id' => 'qv_product_badges', | |
| 940 | + 'title' => esc_html__( 'Product Badges', 'shopbuilder' ), | |
| 941 | + 'base_class' => Single\ProductBadges::class, | |
| 942 | + 'category' => 'quick_view', | |
| 943 | + 'is_front_page' => 'quick_view', | |
| 944 | + 'active' => 'on', | |
| 945 | + 'package' => $this->pro_package(), | |
| 946 | + 'fields' => [], | |
| 947 | + ] | |
| 948 | + ), | |
| 949 | + 'qv_product_additional_info' => apply_filters( | |
| 950 | + 'rtsb/elements/qv_product_additional_info/options', | |
| 951 | + [ | |
| 952 | + 'id' => 'qv_product_additional_info', | |
| 953 | + 'title' => esc_html__( 'Additional Information', 'shopbuilder' ), | |
| 954 | + 'base_class' => Single\AdditionalInformation::class, | |
| 955 | + 'category' => 'quick_view', | |
| 956 | + 'is_front_page' => 'quick_view', | |
| 957 | + 'active' => 'on', | |
| 958 | + 'package' => $this->pro_package(), | |
| 959 | + 'fields' => [], | |
| 960 | + ] | |
| 961 | + ), | |
| 962 | + 'qv_product_price' => apply_filters( | |
| 963 | + 'rtsb/elements/qv_product_price/options', | |
| 964 | + [ | |
| 965 | + 'id' => 'qv_product_price', | |
| 966 | + 'title' => esc_html__( 'Product Price', 'shopbuilder' ), | |
| 967 | + 'base_class' => Single\ProductPrice::class, | |
| 968 | + 'category' => 'quick_view', | |
| 969 | + 'is_front_page' => 'quick_view', | |
| 970 | + 'active' => 'on', | |
| 971 | + 'package' => $this->pro_package(), | |
| 972 | + 'fields' => [], | |
| 973 | + ] | |
| 974 | + ), | |
| 975 | + 'qv_product_meta' => apply_filters( | |
| 976 | + 'rtsb/elements/qv_product_meta/options', | |
| 977 | + [ | |
| 978 | + 'id' => 'qv_product_meta', | |
| 979 | + 'title' => esc_html__( 'Product Meta', 'shopbuilder' ), | |
| 980 | + 'base_class' => Single\ProductMeta::class, | |
| 981 | + 'category' => 'quick_view', | |
| 982 | + 'is_front_page' => 'quick_view', | |
| 983 | + 'active' => 'on', | |
| 984 | + 'package' => $this->pro_package(), | |
| 985 | + 'fields' => [], | |
| 986 | + ] | |
| 987 | + ), | |
| 988 | + 'qv_product_categories' => apply_filters( | |
| 989 | + 'rtsb/elements/qv_product_categories/options', | |
| 990 | + [ | |
| 991 | + 'id' => 'qv_product_categories', | |
| 992 | + 'title' => esc_html__( 'Product Categories', 'shopbuilder' ), | |
| 993 | + 'base_class' => Single\ProductCats::class, | |
| 994 | + 'category' => 'quick_view', | |
| 995 | + 'is_front_page' => 'quick_view', | |
| 996 | + 'active' => 'on', | |
| 997 | + 'package' => $this->pro_package(), | |
| 998 | + 'fields' => [], | |
| 999 | + ] | |
| 1000 | + ), | |
| 1001 | + 'qv_product_rating' => apply_filters( | |
| 1002 | + 'rtsb/elements/qv_product_rating/options', | |
| 1003 | + [ | |
| 1004 | + 'id' => 'qv_product_rating', | |
| 1005 | + 'title' => esc_html__( 'Product Rating', 'shopbuilder' ), | |
| 1006 | + 'base_class' => Single\ProductRating::class, | |
| 1007 | + 'category' => 'quick_view', | |
| 1008 | + 'is_front_page' => 'quick_view', | |
| 1009 | + 'active' => 'on', | |
| 1010 | + 'package' => $this->pro_package(), | |
| 1011 | + 'fields' => [], | |
| 1012 | + ] | |
| 1013 | + ), | |
| 1014 | + 'qv_product_tags' => apply_filters( | |
| 1015 | + 'rtsb/elements/qv_product_tags/options', | |
| 1016 | + [ | |
| 1017 | + 'id' => 'qv_product_tags', | |
| 1018 | + 'title' => esc_html__( 'Product Tags', 'shopbuilder' ), | |
| 1019 | + 'base_class' => Single\ProductTags::class, | |
| 1020 | + 'category' => 'quick_view', | |
| 1021 | + 'is_front_page' => 'quick_view', | |
| 1022 | + 'active' => 'on', | |
| 1023 | + 'package' => $this->pro_package(), | |
| 1024 | + 'fields' => [], | |
| 1025 | + ] | |
| 1026 | + ), | |
| 1027 | + 'qv_product_sku' => apply_filters( | |
| 1028 | + 'rtsb/elements/qv_product_sku/options', | |
| 1029 | + [ | |
| 1030 | + 'id' => 'qv_product_sku', | |
| 1031 | + 'title' => esc_html__( 'Product SKU', 'shopbuilder' ), | |
| 1032 | + 'base_class' => Single\ProductSKU::class, | |
| 1033 | + 'category' => 'quick_view', | |
| 1034 | + 'is_front_page' => 'quick_view', | |
| 1035 | + 'active' => 'on', | |
| 1036 | + 'package' => $this->pro_package(), | |
| 1037 | + 'fields' => [], | |
| 1038 | + ] | |
| 1039 | + ), | |
| 1040 | + 'qv_product_stock' => apply_filters( | |
| 1041 | + 'rtsb/elements/qv_product_stock/options', | |
| 1042 | + [ | |
| 1043 | + 'id' => 'qv_product_stock', | |
| 1044 | + 'title' => esc_html__( 'Product Stock', 'shopbuilder' ), | |
| 1045 | + 'base_class' => Single\ProductStock::class, | |
| 1046 | + 'category' => 'quick_view', | |
| 1047 | + 'is_front_page' => 'quick_view', | |
| 1048 | + 'active' => 'on', | |
| 1049 | + 'package' => $this->pro_package(), | |
| 1050 | + 'fields' => [], | |
| 1051 | + ] | |
| 1052 | + ), | |
| 1053 | + 'qv_actions_button' => apply_filters( | |
| 1054 | + 'rtsb/elements/qv_actions_button/options', | |
| 1055 | + [ | |
| 1056 | + 'id' => 'qv_actions_button', | |
| 1057 | + 'title' => esc_html__( 'Action Buttons', 'shopbuilder' ), | |
| 1058 | + 'base_class' => Single\ActionsButton::class, | |
| 1059 | + 'category' => 'quick_view', | |
| 1060 | + 'is_front_page' => 'quick_view', | |
| 1061 | + 'active' => 'on', | |
| 1062 | + 'package' => $this->pro_package(), | |
| 1063 | + 'fields' => [], | |
| 1064 | + ] | |
| 1065 | + ), | |
| 1066 | + 'qv_product_add_to_cart' => apply_filters( | |
| 1067 | + 'rtsb/elements/qv_product_add_to_cart/options', | |
| 1068 | + [ | |
| 1069 | + 'id' => 'qv_product_add_to_cart', | |
| 1070 | + 'title' => esc_html__( 'Add to Cart', 'shopbuilder' ), | |
| 1071 | + 'base_class' => Single\ProductAddToCart::class, | |
| 1072 | + 'category' => 'quick_view', | |
| 1073 | + 'is_front_page' => 'quick_view', | |
| 1074 | + 'active' => 'on', | |
| 1075 | + 'package' => $this->pro_package(), | |
| 1076 | + 'fields' => [], | |
| 1077 | + ] | |
| 1078 | + ), | |
| 1079 | + 'qv_product_sales_count' => apply_filters( | |
| 1080 | + 'rtsb/elements/qv_product_sales_count/options', | |
| 1081 | + [ | |
| 1082 | + 'id' => 'qv_product_sales_count', | |
| 1083 | + 'title' => esc_html__( 'Sales Count', 'shopbuilder' ), | |
| 1084 | + 'category' => 'quick_view', | |
| 1085 | + 'is_front_page' => 'quick_view', | |
| 1086 | + 'active' => 'on', | |
| 1087 | + 'package' => $this->pro_package(), | |
| 1088 | + 'fields' => [], | |
| 1089 | + ] | |
| 1090 | + ), | |
| 1091 | + 'qv_social_share' => apply_filters( | |
| 1092 | + 'rtsb/settings/qv_social_share/options', | |
| 1093 | + [ | |
| 1094 | + 'id' => 'qv_social_share', | |
| 1095 | + 'title' => esc_html__( 'Social Share', 'shopbuilder' ), | |
| 1096 | + 'base_class' => General\SocialShare::class, | |
| 1097 | + 'active' => 'on', | |
| 1098 | + 'category' => 'quick_view', | |
| 1099 | + 'is_front_page' => 'quick_view', | |
| 1100 | + 'package' => $this->pro_package(), | |
| 1101 | + 'fields' => [], | |
| 1102 | + ] | |
| 1103 | + ), | |
| 1104 | + 'qv_product_quick_checkout' => apply_filters( | |
| 1105 | + 'rtsb/elements/qv_product_quick_checkout/options', | |
| 1106 | + [ | |
| 1107 | + 'id' => 'qv_product_quick_checkout', | |
| 1108 | + 'title' => esc_html__( 'Quick Checkout', 'shopbuilder' ), | |
| 1109 | + 'category' => 'quick_view', | |
| 1110 | + 'is_front_page' => 'quick_view', | |
| 1111 | + 'active' => 'on', | |
| 1112 | + 'package' => $this->pro_package(), | |
| 1113 | + 'fields' => [], | |
| 1114 | + ] | |
| 1115 | + ), | |
| 1116 | + | |
| 1117 | + 'qv_product_size_chart' => apply_filters( | |
| 1118 | + 'rtsb/elements/qv_product_size_chart/options', | |
| 1119 | + [ | |
| 1120 | + 'id' => 'qv_product_size_chart', | |
| 1121 | + 'title' => esc_html__( 'Size Chart', 'shopbuilder' ), | |
| 1122 | + 'category' => 'quick_view', | |
| 1123 | + 'is_front_page' => 'quick_view', | |
| 1124 | + 'active' => '', | |
| 1125 | + 'package' => $this->pro_package(), | |
| 1126 | + 'fields' => [], | |
| 1127 | + ] | |
| 1128 | + ), | |
| 1129 | + | |
| 1130 | + ]; | |
| 1131 | + | |
| 1132 | + return apply_filters( 'rtsb/core/elements/quick_view/widget_list', $list ); | |
| 1133 | + } | |
| 1134 | + | |
| 1135 | + /** | |
| 560 | 1136 | * Product Archive Widget List. |
| 561 | 1137 | * |
| 562 | 1138 | * @return array |
| 563 | 1139 | */ |
| @@ -618,9 +1194,9 @@ | ||
| 618 | 1194 | 'ajax_product_filters' => apply_filters( |
| 619 | 1195 | 'rtsb/elements/ajax_product_filters/options', |
| 620 | 1196 | [ |
| 621 | 1197 | 'id' => 'ajax_product_filters', |
| 622 | - 'title' => esc_html__( 'Ajax Product Filters', 'shopbuilder-pro' ), | |
| 1198 | + 'title' => esc_html__( 'Ajax Product Filters', 'shopbuilder' ), | |
| 623 | 1199 | 'category' => 'shop', |
| 624 | 1200 | 'active' => 'on', |
| 625 | 1201 | 'package' => $this->pro_package(), |
| 626 | 1202 | 'fields' => [], |
| @@ -625,8 +1201,20 @@ | ||
| 625 | 1201 | 'package' => $this->pro_package(), |
| 626 | 1202 | 'fields' => [], |
| 627 | 1203 | ] |
| 628 | 1204 | ), |
| 1205 | + 'product_filters' => apply_filters( | |
| 1206 | + 'rtsb/elements/product_filters/options', | |
| 1207 | + [ | |
| 1208 | + 'id' => 'product_filters', | |
| 1209 | + 'title' => esc_html__( 'Product Filters', 'shopbuilder' ), | |
| 1210 | + 'base_class' => Archive\ProductFilters::class, | |
| 1211 | + 'category' => 'shop', | |
| 1212 | + 'active' => 'on', | |
| 1213 | + 'package' => 'free', | |
| 1214 | + 'fields' => [], | |
| 1215 | + ] | |
| 1216 | + ), | |
| 629 | 1217 | |
| 630 | 1218 | 'archive_result_count' => apply_filters( |
| 631 | 1219 | 'rtsb/elements/archive_result_count/options', |
| 632 | 1220 | [ |
| @@ -745,8 +1333,20 @@ | ||
| 745 | 1333 | 'package' => 'free', |
| 746 | 1334 | 'fields' => [], |
| 747 | 1335 | ] |
| 748 | 1336 | ), |
| 1337 | + 'save_for_later_preview' => apply_filters( | |
| 1338 | + 'rtsb/elements/save_for_later_preview/options', | |
| 1339 | + [ | |
| 1340 | + 'id' => 'save_for_later_preview', | |
| 1341 | + 'title' => esc_html__( 'Save For Later Preview', 'shopbuilder' ), | |
| 1342 | + 'base_class' => Cart\SaveForLaterPreview::class, | |
| 1343 | + 'category' => 'cart', | |
| 1344 | + 'active' => 'on', | |
| 1345 | + 'package' => $this->pro_package(), | |
| 1346 | + 'fields' => [], | |
| 1347 | + ] | |
| 1348 | + ), | |
| 749 | 1349 | ]; |
| 750 | 1350 | |
| 751 | 1351 | return apply_filters( 'rtsb/core/elements/cart/widget_list', $list ); |
| 752 | 1352 | } |
| @@ -757,9 +1357,9 @@ | ||
| 757 | 1357 | * @return array |
| 758 | 1358 | */ |
| 759 | 1359 | protected function checkout_page_widget_list() { |
| 760 | 1360 | $list = [ |
| 761 | - 'billing_form' => apply_filters( | |
| 1361 | + 'billing_form' => apply_filters( | |
| 762 | 1362 | 'rtsb/elements/billing_form/options', |
| 763 | 1363 | [ |
| 764 | 1364 | 'id' => 'billing_form', |
| 765 | 1365 | 'title' => esc_html__( 'Billing Form', 'shopbuilder' ), |
| @@ -769,9 +1369,9 @@ | ||
| 769 | 1369 | 'package' => 'free', |
| 770 | 1370 | 'fields' => [], |
| 771 | 1371 | ] |
| 772 | 1372 | ), |
| 773 | - 'shipping_form' => apply_filters( | |
| 1373 | + 'shipping_form' => apply_filters( | |
| 774 | 1374 | 'rtsb/elements/shipping_form/options', |
| 775 | 1375 | [ |
| 776 | 1376 | 'id' => 'shipping_form', |
| 777 | 1377 | 'title' => esc_html__( 'Shipping Form', 'shopbuilder' ), |
| @@ -781,9 +1381,9 @@ | ||
| 781 | 1381 | 'package' => 'free', |
| 782 | 1382 | 'fields' => [], |
| 783 | 1383 | ] |
| 784 | 1384 | ), |
| 785 | - 'order_notes' => apply_filters( | |
| 1385 | + 'order_notes' => apply_filters( | |
| 786 | 1386 | 'rtsb/elements/order_notes/options', |
| 787 | 1387 | [ |
| 788 | 1388 | 'id' => 'order_notes', |
| 789 | 1389 | 'title' => esc_html__( 'Order Notes', 'shopbuilder' ), |
| @@ -793,9 +1393,9 @@ | ||
| 793 | 1393 | 'package' => 'free', |
| 794 | 1394 | 'fields' => [], |
| 795 | 1395 | ] |
| 796 | 1396 | ), |
| 797 | - 'order_review' => apply_filters( | |
| 1397 | + 'order_review' => apply_filters( | |
| 798 | 1398 | 'rtsb/elements/order_review/options', |
| 799 | 1399 | [ |
| 800 | 1400 | 'id' => 'order_review', |
| 801 | 1401 | 'title' => esc_html__( 'Order Review', 'shopbuilder' ), |
| @@ -805,9 +1405,9 @@ | ||
| 805 | 1405 | 'package' => 'free', |
| 806 | 1406 | 'fields' => [], |
| 807 | 1407 | ] |
| 808 | 1408 | ), |
| 809 | - 'checkout_payment' => apply_filters( | |
| 1409 | + 'checkout_payment' => apply_filters( | |
| 810 | 1410 | 'rtsb/elements/checkout_payment/options', |
| 811 | 1411 | [ |
| 812 | 1412 | 'id' => 'checkout_payment', |
| 813 | 1413 | 'title' => esc_html__( 'Checkout Payment Method', 'shopbuilder' ), |
| @@ -817,9 +1417,9 @@ | ||
| 817 | 1417 | 'package' => 'free', |
| 818 | 1418 | 'fields' => [], |
| 819 | 1419 | ] |
| 820 | 1420 | ), |
| 821 | - 'coupon_form' => apply_filters( | |
| 1421 | + 'coupon_form' => apply_filters( | |
| 822 | 1422 | 'rtsb/elements/coupon_form/options', |
| 823 | 1423 | [ |
| 824 | 1424 | 'id' => 'coupon_form', |
| 825 | 1425 | 'title' => esc_html__( 'Coupon Form', 'shopbuilder' ), |
| @@ -829,9 +1429,9 @@ | ||
| 829 | 1429 | 'package' => 'free', |
| 830 | 1430 | 'fields' => [], |
| 831 | 1431 | ] |
| 832 | 1432 | ), |
| 833 | - 'checkout_login_form' => apply_filters( | |
| 1433 | + 'checkout_login_form' => apply_filters( | |
| 834 | 1434 | 'rtsb/elements/checkout_login_form/options', |
| 835 | 1435 | [ |
| 836 | 1436 | 'id' => 'checkout_login_form', |
| 837 | 1437 | 'title' => esc_html__( 'Login Form', 'shopbuilder' ), |
| @@ -841,10 +1441,9 @@ | ||
| 841 | 1441 | 'package' => 'free', |
| 842 | 1442 | 'fields' => [], |
| 843 | 1443 | ] |
| 844 | 1444 | ), |
| 845 | - | |
| 846 | - 'shipping_method' => apply_filters( | |
| 1445 | + 'shipping_method' => apply_filters( | |
| 847 | 1446 | 'rtsb/elements/shipping_method/options', |
| 848 | 1447 | [ |
| 849 | 1448 | 'id' => 'shipping_method', |
| 850 | 1449 | 'title' => esc_html__( 'Shipping Method', 'shopbuilder' ), |
| @@ -854,8 +1453,20 @@ | ||
| 854 | 1453 | 'package' => 'free', |
| 855 | 1454 | 'fields' => [], |
| 856 | 1455 | ] |
| 857 | 1456 | ), |
| 1457 | + 'multi_step_checkout_widget' => apply_filters( | |
| 1458 | + 'rtsb/elements/multi_step_checkout_widget/options', | |
| 1459 | + [ | |
| 1460 | + 'id' => 'multi_step_checkout_widget', | |
| 1461 | + 'title' => esc_html__( 'Multi Step Checkout', 'shopbuilder' ), | |
| 1462 | + 'base_class' => CheckoutPro\MultiStepCheckout::class, | |
| 1463 | + 'category' => 'checkout', | |
| 1464 | + 'active' => '', | |
| 1465 | + 'package' => $this->pro_package(), | |
| 1466 | + 'fields' => [], | |
| 1467 | + ] | |
| 1468 | + ), | |
| 858 | 1469 | |
| 859 | 1470 | ]; |
| 860 | 1471 | |
| 861 | 1472 | return apply_filters( 'rtsb/core/elements/checkout/widget_list', $list ); |
| @@ -867,13 +1478,13 @@ | ||
| 867 | 1478 | * @return array |
| 868 | 1479 | */ |
| 869 | 1480 | protected function thankyou_page_widget_list() { |
| 870 | 1481 | return [ |
| 871 | - 'order_received_text' => apply_filters( | |
| 1482 | + 'order_received_text' => apply_filters( | |
| 872 | 1483 | 'rtsb/elements/order_received_text/options', |
| 873 | 1484 | [ |
| 874 | 1485 | 'id' => 'order_received_text', |
| 875 | - 'title' => esc_html__( 'Order Received Text', 'shopbuilder-pro' ), | |
| 1486 | + 'title' => esc_html__( 'Order Received Text', 'shopbuilder' ), | |
| 876 | 1487 | 'category' => 'thank_you', |
| 877 | 1488 | 'is_front_page' => 'thank_you', |
| 878 | 1489 | 'active' => 'on', |
| 879 | 1490 | 'package' => $this->pro_package(), |
| @@ -879,13 +1490,13 @@ | ||
| 879 | 1490 | 'package' => $this->pro_package(), |
| 880 | 1491 | 'fields' => [], |
| 881 | 1492 | ] |
| 882 | 1493 | ), |
| 883 | - 'order_details_summary' => apply_filters( | |
| 1494 | + 'order_details_summary' => apply_filters( | |
| 884 | 1495 | 'rtsb/elements/order_details_summary/options', |
| 885 | 1496 | [ |
| 886 | 1497 | 'id' => 'order_details_summary', |
| 887 | - 'title' => esc_html__( 'Order Details Summary', 'shopbuilder-pro' ), | |
| 1498 | + 'title' => esc_html__( 'Order Details Summary', 'shopbuilder' ), | |
| 888 | 1499 | 'category' => 'thank_you', |
| 889 | 1500 | 'is_front_page' => 'thank_you', |
| 890 | 1501 | 'active' => 'on', |
| 891 | 1502 | 'package' => $this->pro_package(), |
| @@ -891,13 +1502,13 @@ | ||
| 891 | 1502 | 'package' => $this->pro_package(), |
| 892 | 1503 | 'fields' => [], |
| 893 | 1504 | ] |
| 894 | 1505 | ), |
| 895 | - 'order_details_table' => apply_filters( | |
| 1506 | + 'order_details_table' => apply_filters( | |
| 896 | 1507 | 'rtsb/elements/order_details_table/options', |
| 897 | 1508 | [ |
| 898 | 1509 | 'id' => 'order_details_table', |
| 899 | - 'title' => esc_html__( 'Order Details Table', 'shopbuilder-pro' ), | |
| 1510 | + 'title' => esc_html__( 'Order Details Table', 'shopbuilder' ), | |
| 900 | 1511 | 'category' => 'thank_you', |
| 901 | 1512 | 'is_front_page' => 'thank_you', |
| 902 | 1513 | 'active' => 'on', |
| 903 | 1514 | 'package' => $this->pro_package(), |
| @@ -903,13 +1514,13 @@ | ||
| 903 | 1514 | 'package' => $this->pro_package(), |
| 904 | 1515 | 'fields' => [], |
| 905 | 1516 | ] |
| 906 | 1517 | ), |
| 907 | - 'downloadable_products' => apply_filters( | |
| 1518 | + 'downloadable_products' => apply_filters( | |
| 908 | 1519 | 'rtsb/elements/downloadable_products/options', |
| 909 | 1520 | [ |
| 910 | 1521 | 'id' => 'downloadable_products', |
| 911 | - 'title' => esc_html__( 'Downloadable Products', 'shopbuilder-pro' ), | |
| 1522 | + 'title' => esc_html__( 'Downloadable Products', 'shopbuilder' ), | |
| 912 | 1523 | 'category' => 'thank_you', |
| 913 | 1524 | 'is_front_page' => 'thank_you', |
| 914 | 1525 | 'active' => 'on', |
| 915 | 1526 | 'package' => $this->pro_package(), |
| @@ -915,13 +1526,13 @@ | ||
| 915 | 1526 | 'package' => $this->pro_package(), |
| 916 | 1527 | 'fields' => [], |
| 917 | 1528 | ] |
| 918 | 1529 | ), |
| 919 | - 'order_billing_address' => apply_filters( | |
| 1530 | + 'order_billing_address' => apply_filters( | |
| 920 | 1531 | 'rtsb/elements/order_billing_address/options', |
| 921 | 1532 | [ |
| 922 | 1533 | 'id' => 'order_billing_address', |
| 923 | - 'title' => esc_html__( 'Order Billing Address', 'shopbuilder-pro' ), | |
| 1534 | + 'title' => esc_html__( 'Order Billing Address', 'shopbuilder' ), | |
| 924 | 1535 | 'category' => 'thank_you', |
| 925 | 1536 | 'is_front_page' => 'thank_you', |
| 926 | 1537 | 'active' => 'on', |
| 927 | 1538 | 'package' => $this->pro_package(), |
| @@ -927,13 +1538,13 @@ | ||
| 927 | 1538 | 'package' => $this->pro_package(), |
| 928 | 1539 | 'fields' => [], |
| 929 | 1540 | ] |
| 930 | 1541 | ), |
| 931 | - 'order_shipping_address' => apply_filters( | |
| 1542 | + 'order_shipping_address' => apply_filters( | |
| 932 | 1543 | 'rtsb/elements/order_shipping_address/options', |
| 933 | 1544 | [ |
| 934 | 1545 | 'id' => 'order_shipping_address', |
| 935 | - 'title' => esc_html__( 'Order Shipping Address', 'shopbuilder-pro' ), | |
| 1546 | + 'title' => esc_html__( 'Order Shipping Address', 'shopbuilder' ), | |
| 936 | 1547 | 'category' => 'thank_you', |
| 937 | 1548 | 'is_front_page' => 'thank_you', |
| 938 | 1549 | 'active' => 'on', |
| 939 | 1550 | 'package' => $this->pro_package(), |
| @@ -939,11 +1550,45 @@ | ||
| 939 | 1550 | 'package' => $this->pro_package(), |
| 940 | 1551 | 'fields' => [], |
| 941 | 1552 | ] |
| 942 | 1553 | ), |
| 1554 | + 'order_custom_fields_data' => apply_filters( | |
| 1555 | + 'rtsb/elements/order_custom_fields_data/options', | |
| 1556 | + [ | |
| 1557 | + 'id' => 'order_custom_fields_data', | |
| 1558 | + 'title' => esc_html__( 'Checkout Form Custom Fields Data', 'shopbuilder' ), | |
| 1559 | + 'category' => 'thank_you', | |
| 1560 | + 'is_front_page' => 'thank_you', | |
| 1561 | + 'active' => 'on', | |
| 1562 | + 'package' => $this->pro_package(), | |
| 1563 | + 'fields' => [], | |
| 1564 | + ] | |
| 1565 | + ), | |
| 943 | 1566 | ]; |
| 944 | 1567 | } |
| 1568 | + /** | |
| 1569 | + * Checkout Page Order Pay Widget List. | |
| 1570 | + * | |
| 1571 | + * @return array | |
| 1572 | + */ | |
| 1573 | + protected function orderpay_page_widget_list() { | |
| 1574 | + return [ | |
| 1575 | + 'order_pay_form' => apply_filters( | |
| 1576 | + 'rtsb/elements/order_pay_form/options', | |
| 1577 | + [ | |
| 1578 | + 'id' => 'order_pay_form', | |
| 1579 | + 'title' => esc_html__( 'Order Pay Form', 'shopbuilder' ), | |
| 1580 | + 'category' => 'myaccount_dashboard', | |
| 1581 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1582 | + 'active' => 'on', | |
| 1583 | + 'package' => $this->pro_package(), | |
| 1584 | + 'fields' => [], | |
| 1585 | + ] | |
| 1586 | + ), | |
| 945 | 1587 | |
| 1588 | + ]; | |
| 1589 | + } | |
| 1590 | + | |
| 946 | 1591 | /** |
| 947 | 1592 | * Checkout Page Widget List. |
| 948 | 1593 | * |
| 949 | 1594 | * @return array |
| @@ -948,15 +1593,26 @@ | ||
| 948 | 1593 | * |
| 949 | 1594 | * @return array |
| 950 | 1595 | */ |
| 951 | 1596 | protected function my_account_page_widget_list() { |
| 952 | - return [ | |
| 953 | - | |
| 1597 | + $widgets = [ | |
| 1598 | + 'account_avatar' => apply_filters( | |
| 1599 | + 'rtsb/elements/account_avatar/options', | |
| 1600 | + [ | |
| 1601 | + 'id' => 'account_avatar', | |
| 1602 | + 'title' => esc_html__( 'Account Avatar', 'shopbuilder' ), | |
| 1603 | + 'category' => 'myaccount_dashboard', | |
| 1604 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1605 | + 'active' => 'on', | |
| 1606 | + 'package' => $this->pro_package(), | |
| 1607 | + 'fields' => [], | |
| 1608 | + ] | |
| 1609 | + ), | |
| 954 | 1610 | 'account_navigation_edit_shipping' => apply_filters( |
| 955 | 1611 | 'rtsb/elements/account_navigation_edit_shipping/options', |
| 956 | 1612 | [ |
| 957 | 1613 | 'id' => 'account_navigation_edit_shipping', |
| 958 | - 'title' => esc_html__( 'Account Navigation', 'shopbuilder-pro' ), | |
| 1614 | + 'title' => esc_html__( 'Account Navigation', 'shopbuilder' ), | |
| 959 | 1615 | 'category' => 'myaccount_dashboard', |
| 960 | 1616 | 'is_front_page' => 'all_myaccount_dashboard_inner', |
| 961 | 1617 | 'active' => 'on', |
| 962 | 1618 | 'package' => $this->pro_package(), |
| @@ -966,11 +1622,11 @@ | ||
| 966 | 1622 | 'account_dashboard' => apply_filters( |
| 967 | 1623 | 'rtsb/elements/account_dashboard/options', |
| 968 | 1624 | [ |
| 969 | 1625 | 'id' => 'account_dashboard', |
| 970 | - 'title' => esc_html__( 'Account Dashboard', 'shopbuilder-pro' ), | |
| 1626 | + 'title' => esc_html__( 'Account Dashboard', 'shopbuilder' ), | |
| 971 | 1627 | 'category' => 'myaccount_dashboard', |
| 972 | - 'is_front_page' => 'myaccount_dashboard', | |
| 1628 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 973 | 1629 | 'active' => 'on', |
| 974 | 1630 | 'package' => $this->pro_package(), |
| 975 | 1631 | 'fields' => [], |
| 976 | 1632 | ] |
| @@ -978,11 +1634,11 @@ | ||
| 978 | 1634 | 'account_orders' => apply_filters( |
| 979 | 1635 | 'rtsb/elements/account_orders/options', |
| 980 | 1636 | [ |
| 981 | 1637 | 'id' => 'account_orders', |
| 982 | - 'title' => esc_html__( 'Account Orders', 'shopbuilder-pro' ), | |
| 1638 | + 'title' => esc_html__( 'Account Orders', 'shopbuilder' ), | |
| 983 | 1639 | 'category' => 'myaccount_dashboard', |
| 984 | - 'is_front_page' => 'myaccount_order', | |
| 1640 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 985 | 1641 | 'active' => 'on', |
| 986 | 1642 | 'package' => $this->pro_package(), |
| 987 | 1643 | 'fields' => [], |
| 988 | 1644 | ] |
| @@ -990,11 +1646,11 @@ | ||
| 990 | 1646 | 'account_downloads' => apply_filters( |
| 991 | 1647 | 'rtsb/elements/account_downloads/options', |
| 992 | 1648 | [ |
| 993 | 1649 | 'id' => 'account_downloads', |
| 994 | - 'title' => esc_html__( 'Account Downloads', 'shopbuilder-pro' ), | |
| 1650 | + 'title' => esc_html__( 'Account Downloads', 'shopbuilder' ), | |
| 995 | 1651 | 'category' => 'myaccount_dashboard', |
| 996 | - 'is_front_page' => 'myaccount_downloads', | |
| 1652 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 997 | 1653 | 'active' => 'on', |
| 998 | 1654 | 'package' => $this->pro_package(), |
| 999 | 1655 | 'fields' => [], |
| 1000 | 1656 | ] |
| @@ -1002,11 +1658,11 @@ | ||
| 1002 | 1658 | 'account_billing_address' => apply_filters( |
| 1003 | 1659 | 'rtsb/elements/account_billing_address/options', |
| 1004 | 1660 | [ |
| 1005 | 1661 | 'id' => 'account_billing_address', |
| 1006 | - 'title' => esc_html__( 'Account Billing Address', 'shopbuilder-pro' ), | |
| 1662 | + 'title' => esc_html__( 'Account Billing Address', 'shopbuilder' ), | |
| 1007 | 1663 | 'category' => 'myaccount_dashboard', |
| 1008 | - 'is_front_page' => 'myaccount_address', | |
| 1664 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1009 | 1665 | 'active' => 'on', |
| 1010 | 1666 | 'package' => $this->pro_package(), |
| 1011 | 1667 | 'fields' => [], |
| 1012 | 1668 | ] |
| @@ -1014,11 +1670,11 @@ | ||
| 1014 | 1670 | 'account_shipping_address' => apply_filters( |
| 1015 | 1671 | 'rtsb/elements/account_shipping_address/options', |
| 1016 | 1672 | [ |
| 1017 | 1673 | 'id' => 'account_shipping_address', |
| 1018 | - 'title' => esc_html__( 'Account Shipping Address', 'shopbuilder-pro' ), | |
| 1674 | + 'title' => esc_html__( 'Account Shipping Address', 'shopbuilder' ), | |
| 1019 | 1675 | 'category' => 'myaccount_dashboard', |
| 1020 | - 'is_front_page' => 'myaccount_address', | |
| 1676 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1021 | 1677 | 'active' => 'on', |
| 1022 | 1678 | 'package' => $this->pro_package(), |
| 1023 | 1679 | 'fields' => [], |
| 1024 | 1680 | ] |
| @@ -1026,11 +1682,11 @@ | ||
| 1026 | 1682 | 'account_address_description' => apply_filters( |
| 1027 | 1683 | 'rtsb/elements/account_address_description/options', |
| 1028 | 1684 | [ |
| 1029 | 1685 | 'id' => 'account_address_description', |
| 1030 | - 'title' => esc_html__( 'Account Address Description', 'shopbuilder-pro' ), | |
| 1686 | + 'title' => esc_html__( 'Account Address Description', 'shopbuilder' ), | |
| 1031 | 1687 | 'category' => 'myaccount_dashboard', |
| 1032 | - 'is_front_page' => 'myaccount_address', | |
| 1688 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1033 | 1689 | 'active' => 'on', |
| 1034 | 1690 | 'package' => $this->pro_package(), |
| 1035 | 1691 | 'fields' => [], |
| 1036 | 1692 | ] |
| @@ -1038,11 +1694,11 @@ | ||
| 1038 | 1694 | 'account_details' => apply_filters( |
| 1039 | 1695 | 'rtsb/elements/account_details/options', |
| 1040 | 1696 | [ |
| 1041 | 1697 | 'id' => 'account_details', |
| 1042 | - 'title' => esc_html__( 'Account Edit / Details', 'shopbuilder-pro' ), | |
| 1698 | + 'title' => esc_html__( 'Account Edit / Details', 'shopbuilder' ), | |
| 1043 | 1699 | 'category' => 'myaccount_dashboard', |
| 1044 | - 'is_front_page' => 'myaccount_edit_details', | |
| 1700 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1045 | 1701 | 'active' => 'on', |
| 1046 | 1702 | 'package' => $this->pro_package(), |
| 1047 | 1703 | 'fields' => [], |
| 1048 | 1704 | ] |
| @@ -1050,11 +1706,11 @@ | ||
| 1050 | 1706 | 'account_order_status' => apply_filters( |
| 1051 | 1707 | 'rtsb/elements/account_order_status/options', |
| 1052 | 1708 | [ |
| 1053 | 1709 | 'id' => 'account_order_status', |
| 1054 | - 'title' => esc_html__( 'Account Order Status', 'shopbuilder-pro' ), | |
| 1710 | + 'title' => esc_html__( 'Account Order Status', 'shopbuilder' ), | |
| 1055 | 1711 | 'category' => 'myaccount_dashboard', |
| 1056 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1712 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1057 | 1713 | 'active' => 'on', |
| 1058 | 1714 | 'package' => $this->pro_package(), |
| 1059 | 1715 | 'fields' => [], |
| 1060 | 1716 | ] |
| @@ -1062,11 +1718,11 @@ | ||
| 1062 | 1718 | 'account_order_details_download' => apply_filters( |
| 1063 | 1719 | 'rtsb/elements/account_order_details_download/options', |
| 1064 | 1720 | [ |
| 1065 | 1721 | 'id' => 'account_order_details_download', |
| 1066 | - 'title' => esc_html__( 'Account Order Download', 'shopbuilder-pro' ), | |
| 1722 | + 'title' => esc_html__( 'Account Order Download', 'shopbuilder' ), | |
| 1067 | 1723 | 'category' => 'myaccount_dashboard', |
| 1068 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1724 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1069 | 1725 | 'active' => 'on', |
| 1070 | 1726 | 'package' => $this->pro_package(), |
| 1071 | 1727 | 'fields' => [], |
| 1072 | 1728 | ] |
| @@ -1074,11 +1730,11 @@ | ||
| 1074 | 1730 | 'account_order_details_note' => apply_filters( |
| 1075 | 1731 | 'rtsb/elements/account_order_details_note/options', |
| 1076 | 1732 | [ |
| 1077 | 1733 | 'id' => 'account_order_details_note', |
| 1078 | - 'title' => esc_html__( 'Account Order Note', 'shopbuilder-pro' ), | |
| 1734 | + 'title' => esc_html__( 'Account Order Note', 'shopbuilder' ), | |
| 1079 | 1735 | 'category' => 'myaccount_dashboard', |
| 1080 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1736 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1081 | 1737 | 'active' => 'on', |
| 1082 | 1738 | 'package' => $this->pro_package(), |
| 1083 | 1739 | 'fields' => [], |
| 1084 | 1740 | ] |
| @@ -1086,11 +1742,11 @@ | ||
| 1086 | 1742 | 'account_order_details_table' => apply_filters( |
| 1087 | 1743 | 'rtsb/elements/account_order_details_table/options', |
| 1088 | 1744 | [ |
| 1089 | 1745 | 'id' => 'account_order_details_table', |
| 1090 | - 'title' => esc_html__( 'Account Order Table', 'shopbuilder-pro' ), | |
| 1746 | + 'title' => esc_html__( 'Account Order Table', 'shopbuilder' ), | |
| 1091 | 1747 | 'category' => 'myaccount_dashboard', |
| 1092 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1748 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1093 | 1749 | 'active' => 'on', |
| 1094 | 1750 | 'package' => $this->pro_package(), |
| 1095 | 1751 | 'fields' => [], |
| 1096 | 1752 | ] |
| @@ -1098,11 +1754,11 @@ | ||
| 1098 | 1754 | 'account_order_details_order_again' => apply_filters( |
| 1099 | 1755 | 'rtsb/elements/account_order_details_order_again/options', |
| 1100 | 1756 | [ |
| 1101 | 1757 | 'id' => 'account_order_details_order_again', |
| 1102 | - 'title' => esc_html__( 'Account Order Again Button', 'shopbuilder-pro' ), | |
| 1758 | + 'title' => esc_html__( 'Account Order Again Button', 'shopbuilder' ), | |
| 1103 | 1759 | 'category' => 'myaccount_dashboard', |
| 1104 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1760 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1105 | 1761 | 'active' => 'on', |
| 1106 | 1762 | 'package' => $this->pro_package(), |
| 1107 | 1763 | 'fields' => [], |
| 1108 | 1764 | ] |
| @@ -1110,11 +1766,11 @@ | ||
| 1110 | 1766 | 'account_order_details_order_shipping' => apply_filters( |
| 1111 | 1767 | 'rtsb/elements/account_order_details_order_shipping/options', |
| 1112 | 1768 | [ |
| 1113 | 1769 | 'id' => 'account_order_details_order_shipping', |
| 1114 | - 'title' => esc_html__( 'Account Order Shipping', 'shopbuilder-pro' ), | |
| 1770 | + 'title' => esc_html__( 'Account Order Shipping', 'shopbuilder' ), | |
| 1115 | 1771 | 'category' => 'myaccount_dashboard', |
| 1116 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1772 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1117 | 1773 | 'active' => 'on', |
| 1118 | 1774 | 'package' => $this->pro_package(), |
| 1119 | 1775 | 'fields' => [], |
| 1120 | 1776 | ] |
| @@ -1122,11 +1778,11 @@ | ||
| 1122 | 1778 | 'account_order_details_order_billing' => apply_filters( |
| 1123 | 1779 | 'rtsb/elements/account_order_details_order_billing/options', |
| 1124 | 1780 | [ |
| 1125 | 1781 | 'id' => 'account_order_details_order_billing', |
| 1126 | - 'title' => esc_html__( 'Account Order Billing', 'shopbuilder-pro' ), | |
| 1782 | + 'title' => esc_html__( 'Account Order Billing', 'shopbuilder' ), | |
| 1127 | 1783 | 'category' => 'myaccount_dashboard', |
| 1128 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1784 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1129 | 1785 | 'active' => 'on', |
| 1130 | 1786 | 'package' => $this->pro_package(), |
| 1131 | 1787 | 'fields' => [], |
| 1132 | 1788 | ] |
| @@ -1134,11 +1790,11 @@ | ||
| 1134 | 1790 | 'account_edit_billing_address' => apply_filters( |
| 1135 | 1791 | 'rtsb/elements/account_edit_billing_address/options', |
| 1136 | 1792 | [ |
| 1137 | 1793 | 'id' => 'account_edit_billing_address', |
| 1138 | - 'title' => esc_html__( 'Edit Billing Address', 'shopbuilder-pro' ), | |
| 1794 | + 'title' => esc_html__( 'Edit Billing Address', 'shopbuilder' ), | |
| 1139 | 1795 | 'category' => 'myaccount_dashboard', |
| 1140 | - 'is_front_page' => 'myaccount_edit_billing_address', | |
| 1796 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1141 | 1797 | 'active' => 'on', |
| 1142 | 1798 | 'package' => $this->pro_package(), |
| 1143 | 1799 | 'fields' => [], |
| 1144 | 1800 | ] |
| @@ -1146,17 +1802,43 @@ | ||
| 1146 | 1802 | 'account_edit_shipping_address' => apply_filters( |
| 1147 | 1803 | 'rtsb/elements/account_edit_shipping_address/options', |
| 1148 | 1804 | [ |
| 1149 | 1805 | 'id' => 'account_edit_shipping_address', |
| 1150 | - 'title' => esc_html__( 'Edit Shipping Address', 'shopbuilder-pro' ), | |
| 1806 | + 'title' => esc_html__( 'Edit Shipping Address', 'shopbuilder' ), | |
| 1151 | 1807 | 'category' => 'myaccount_dashboard', |
| 1152 | - 'is_front_page' => 'myaccount_edit_shipping_address', | |
| 1808 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1153 | 1809 | 'active' => 'on', |
| 1154 | 1810 | 'package' => $this->pro_package(), |
| 1155 | 1811 | 'fields' => [], |
| 1156 | 1812 | ] |
| 1157 | 1813 | ), |
| 1814 | + 'account_payment_methods' => apply_filters( | |
| 1815 | + 'rtsb/elements/account_payment_methods/options', | |
| 1816 | + [ | |
| 1817 | + 'id' => 'account_payment_methods', | |
| 1818 | + 'title' => esc_html__( 'Payment Methods', 'shopbuilder' ), | |
| 1819 | + 'category' => 'myaccount_dashboard', | |
| 1820 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1821 | + 'active' => 'on', | |
| 1822 | + 'package' => $this->pro_package(), | |
| 1823 | + 'fields' => [], | |
| 1824 | + ] | |
| 1825 | + ), | |
| 1826 | + 'account_add_payment_method' => apply_filters( | |
| 1827 | + 'rtsb/elements/account_add_payment_method/options', | |
| 1828 | + [ | |
| 1829 | + 'id' => 'account_add_payment_method', | |
| 1830 | + 'title' => esc_html__( 'Add Payment Method', 'shopbuilder' ), | |
| 1831 | + 'category' => 'myaccount_dashboard', | |
| 1832 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1833 | + 'active' => 'on', | |
| 1834 | + 'package' => $this->pro_package(), | |
| 1835 | + 'fields' => [], | |
| 1836 | + ] | |
| 1837 | + ), | |
| 1158 | 1838 | ]; |
| 1839 | + | |
| 1840 | + return apply_filters( 'rtsb/core/elements/my_account/widget_list', $widgets ); | |
| 1159 | 1841 | } |
| 1160 | 1842 | |
| 1161 | 1843 | /*** |
| 1162 | 1844 | * @return array |
| @@ -1162,13 +1844,13 @@ | ||
| 1162 | 1844 | * @return array |
| 1163 | 1845 | */ |
| 1164 | 1846 | protected function myaccount_auth_page_widget_list() { |
| 1165 | 1847 | return [ |
| 1166 | - 'account_login' => apply_filters( | |
| 1848 | + 'account_login' => apply_filters( | |
| 1167 | 1849 | 'rtsb/elements/account_login/options', |
| 1168 | 1850 | [ |
| 1169 | 1851 | 'id' => 'account_login', |
| 1170 | - 'title' => esc_html__( 'Login Register Form', 'shopbuilder-pro' ), | |
| 1852 | + 'title' => esc_html__( 'Login Register Form', 'shopbuilder' ), | |
| 1171 | 1853 | 'category' => 'others_widget', |
| 1172 | 1854 | 'is_front_page' => 'myaccount_auth', |
| 1173 | 1855 | 'active' => 'on', |
| 1174 | 1856 | 'package' => $this->pro_package(), |
| @@ -1174,15 +1856,39 @@ | ||
| 1174 | 1856 | 'package' => $this->pro_package(), |
| 1175 | 1857 | 'fields' => [], |
| 1176 | 1858 | ] |
| 1177 | 1859 | ), |
| 1178 | - 'account_lost_password' => apply_filters( | |
| 1860 | + 'account_login_form' => apply_filters( | |
| 1861 | + 'rtsb/elements/account_login_form/options', | |
| 1862 | + [ | |
| 1863 | + 'id' => 'account_login_form', | |
| 1864 | + 'title' => esc_html__( 'Login Form', 'shopbuilder' ), | |
| 1865 | + 'category' => 'others_widget', | |
| 1866 | + 'is_front_page' => 'myaccount_auth', | |
| 1867 | + 'active' => 'on', | |
| 1868 | + 'package' => $this->pro_package(), | |
| 1869 | + 'fields' => [], | |
| 1870 | + ] | |
| 1871 | + ), | |
| 1872 | + 'account_registration_form' => apply_filters( | |
| 1873 | + 'rtsb/elements/account_registration_form/options', | |
| 1874 | + [ | |
| 1875 | + 'id' => 'account_registration_form', | |
| 1876 | + 'title' => esc_html__( 'Registration Form', 'shopbuilder' ), | |
| 1877 | + 'category' => 'others_widget', | |
| 1878 | + 'is_front_page' => 'myaccount_auth', | |
| 1879 | + 'active' => 'on', | |
| 1880 | + 'package' => $this->pro_package(), | |
| 1881 | + 'fields' => [], | |
| 1882 | + ] | |
| 1883 | + ), | |
| 1884 | + 'account_lost_password' => apply_filters( | |
| 1179 | 1885 | 'rtsb/elements/account_lost_password/options', |
| 1180 | 1886 | [ |
| 1181 | 1887 | 'id' => 'account_lost_password', |
| 1182 | - 'title' => esc_html__( 'Lost Password Form', 'shopbuilder-pro' ), | |
| 1888 | + 'title' => esc_html__( 'Lost Password Form', 'shopbuilder' ), | |
| 1183 | 1889 | 'category' => 'others_widget', |
| 1184 | - 'is_front_page' => 'myaccount_lost_password', | |
| 1890 | + 'is_front_page' => 'myaccount_auth', | |
| 1185 | 1891 | 'active' => 'on', |
| 1186 | 1892 | 'package' => $this->pro_package(), |
| 1187 | 1893 | 'fields' => [], |
| 1188 | 1894 | ] |