| @@ -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,8 +82,9 @@ | ||
| 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() |
| @@ -119,9 +124,8 @@ | ||
| 119 | 124 | 'package' => 'free', |
| 120 | 125 | 'fields' => [], |
| 121 | 126 | ] |
| 122 | 127 | ), |
| 123 | - | |
| 124 | 128 | 'products_slider' => apply_filters( |
| 125 | 129 | 'rtsb/elements/products_slider/options', |
| 126 | 130 | [ |
| 127 | 131 | 'id' => 'products_slider', |
| @@ -132,9 +136,19 @@ | ||
| 132 | 136 | 'package' => 'free', |
| 133 | 137 | 'fields' => [], |
| 134 | 138 | ] |
| 135 | 139 | ), |
| 136 | - | |
| 140 | + 'highlighted_product' => apply_filters( | |
| 141 | + 'rtsb/elements/highlighted_product/options', | |
| 142 | + [ | |
| 143 | + 'id' => 'highlighted_product', | |
| 144 | + 'title' => esc_html__( 'Highlighted Product', 'shopbuilder' ), | |
| 145 | + 'category' => 'general', | |
| 146 | + 'active' => '', | |
| 147 | + 'package' => $this->pro_package(), | |
| 148 | + 'fields' => [], | |
| 149 | + ] | |
| 150 | + ), | |
| 137 | 151 | 'products_single_cateogory' => apply_filters( |
| 138 | 152 | 'rtsb/elements/products_single_cateogory/options', |
| 139 | 153 | [ |
| 140 | 154 | 'id' => 'products_single_cateogory', |
| @@ -157,8 +171,31 @@ | ||
| 157 | 171 | 'package' => 'free', |
| 158 | 172 | 'fields' => [], |
| 159 | 173 | ] |
| 160 | 174 | ), |
| 175 | + 'product_lookbook' => apply_filters( | |
| 176 | + 'rtsb/elements/product_lookbook/options', | |
| 177 | + [ | |
| 178 | + 'id' => 'product_lookbook', | |
| 179 | + 'title' => esc_html__( 'Product LookBook', 'shopbuilder' ), | |
| 180 | + 'category' => 'general', | |
| 181 | + 'active' => '', | |
| 182 | + 'package' => $this->pro_package(), | |
| 183 | + 'fields' => [], | |
| 184 | + ] | |
| 185 | + ), | |
| 186 | + 'rtsb_wishlist' => apply_filters( | |
| 187 | + 'rtsb/elements/rtsb_wishlist/options', | |
| 188 | + [ | |
| 189 | + 'id' => 'rtsb_wishlist', | |
| 190 | + 'title' => esc_html__( 'Wishlist Table', 'shopbuilder' ), | |
| 191 | + 'base_class' => General\Wishlist::class, | |
| 192 | + 'category' => 'general', | |
| 193 | + 'active' => 'on', | |
| 194 | + 'package' => 'free', | |
| 195 | + 'fields' => [], | |
| 196 | + ] | |
| 197 | + ), | |
| 161 | 198 | 'social_share' => apply_filters( |
| 162 | 199 | 'rtsb/elements/social_share/options', |
| 163 | 200 | [ |
| 164 | 201 | 'id' => 'social_share', |
| @@ -193,14 +230,14 @@ | ||
| 193 | 230 | 'package' => 'free', |
| 194 | 231 | 'fields' => [], |
| 195 | 232 | ] |
| 196 | 233 | ), |
| 197 | - 'rtsb_wishlist' => apply_filters( | |
| 198 | - 'rtsb/elements/rtsb_wishlist/options', | |
| 234 | + 'advanced_heading' => apply_filters( | |
| 235 | + 'rtsb/elements/advanced_heading/options', | |
| 199 | 236 | [ |
| 200 | - 'id' => 'rtsb_wishlist', | |
| 201 | - 'title' => esc_html__( 'Wishlist Table', 'shopbuilder' ), | |
| 202 | - 'base_class' => General\Wishlist::class, | |
| 237 | + 'id' => 'advanced_heading', | |
| 238 | + 'title' => esc_html__( 'Advanced Heading', 'shopbuilder' ), | |
| 239 | + 'base_class' => General\AdvancedHeading\AdvancedHeading::class, | |
| 203 | 240 | 'category' => 'general', |
| 204 | 241 | 'active' => 'on', |
| 205 | 242 | 'package' => 'free', |
| 206 | 243 | 'fields' => [], |
| @@ -205,8 +242,222 @@ | ||
| 205 | 242 | 'package' => 'free', |
| 206 | 243 | 'fields' => [], |
| 207 | 244 | ] |
| 208 | 245 | ), |
| 246 | + 'dropcaps' => apply_filters( | |
| 247 | + 'rtsb/elements/dropcaps/options', | |
| 248 | + [ | |
| 249 | + 'id' => 'dropcaps', | |
| 250 | + 'title' => esc_html__( 'Dropcaps', 'shopbuilder' ), | |
| 251 | + 'base_class' => General\DropCaps\DropCaps::class, | |
| 252 | + 'category' => 'general', | |
| 253 | + 'active' => 'on', | |
| 254 | + 'package' => 'free', | |
| 255 | + 'fields' => [], | |
| 256 | + ] | |
| 257 | + ), | |
| 258 | + 'shopbuilder_button' => apply_filters( | |
| 259 | + 'rtsb/elements/shopbuilder_button/options', | |
| 260 | + [ | |
| 261 | + 'id' => 'shopbuilder_button', | |
| 262 | + 'title' => esc_html__( 'Advanced Button', 'shopbuilder' ), | |
| 263 | + 'base_class' => General\ShopBuilderButton\ShopBuilderButton::class, | |
| 264 | + 'category' => 'general', | |
| 265 | + 'active' => 'on', | |
| 266 | + 'package' => 'free', | |
| 267 | + 'fields' => [], | |
| 268 | + ] | |
| 269 | + ), | |
| 270 | + 'shopbuilder_cta' => apply_filters( | |
| 271 | + 'rtsb/elements/shopbuilder_cta/options', | |
| 272 | + [ | |
| 273 | + 'id' => 'shopbuilder_cta', | |
| 274 | + 'title' => esc_html__( 'Call To Action', 'shopbuilder' ), | |
| 275 | + 'base_class' => General\CallToAction\CallToAction::class, | |
| 276 | + 'category' => 'general', | |
| 277 | + 'active' => 'on', | |
| 278 | + 'package' => 'free', | |
| 279 | + 'fields' => [], | |
| 280 | + ] | |
| 281 | + ), | |
| 282 | + 'shopbuilder_info_box' => apply_filters( | |
| 283 | + 'rtsb/elements/shopbuilder_info_box/options', | |
| 284 | + [ | |
| 285 | + 'id' => 'shopbuilder_info_box', | |
| 286 | + 'title' => esc_html__( 'Info Box', 'shopbuilder' ), | |
| 287 | + 'base_class' => General\InfoBox\InfoBox::class, | |
| 288 | + 'category' => 'general', | |
| 289 | + 'active' => 'on', | |
| 290 | + 'package' => 'free', | |
| 291 | + 'fields' => [], | |
| 292 | + ] | |
| 293 | + ), | |
| 294 | + 'shopbuilder_flip_box' => apply_filters( | |
| 295 | + 'rtsb/elements/shopbuilder_flip_box/options', | |
| 296 | + [ | |
| 297 | + 'id' => 'shopbuilder_flip_box', | |
| 298 | + 'title' => esc_html__( 'Flip Box', 'shopbuilder' ), | |
| 299 | + 'base_class' => General\FlipBox\FlipBox::class, | |
| 300 | + 'category' => 'general', | |
| 301 | + 'active' => 'on', | |
| 302 | + 'package' => 'free', | |
| 303 | + 'fields' => [], | |
| 304 | + ] | |
| 305 | + ), | |
| 306 | + 'shopbuilder_pricing_table' => apply_filters( | |
| 307 | + 'rtsb/elements/shopbuilder_pricing_table/options', | |
| 308 | + [ | |
| 309 | + 'id' => 'shopbuilder_pricing_table', | |
| 310 | + 'title' => esc_html__( 'Pricing Table', 'shopbuilder' ), | |
| 311 | + 'base_class' => General\PricingTable\PricingTable::class, | |
| 312 | + 'category' => 'general', | |
| 313 | + 'active' => 'on', | |
| 314 | + 'package' => 'free', | |
| 315 | + 'fields' => [], | |
| 316 | + ] | |
| 317 | + ), | |
| 318 | + 'image_hotspots' => apply_filters( | |
| 319 | + 'rtsb/elements/image_hotspots/options', | |
| 320 | + [ | |
| 321 | + 'id' => 'image_hotspots', | |
| 322 | + 'title' => esc_html__( 'Image Hotspots', 'shopbuilder' ), | |
| 323 | + 'category' => 'general', | |
| 324 | + 'active' => '', | |
| 325 | + 'package' => $this->pro_package(), | |
| 326 | + 'fields' => [], | |
| 327 | + ] | |
| 328 | + ), | |
| 329 | + 'coupon_list' => apply_filters( | |
| 330 | + 'rtsb/elements/coupon_list/options', | |
| 331 | + [ | |
| 332 | + 'id' => 'coupon_list', | |
| 333 | + 'title' => esc_html__( 'Coupon List', 'shopbuilder' ), | |
| 334 | + 'category' => 'general', | |
| 335 | + 'active' => '', | |
| 336 | + 'package' => $this->pro_package(), | |
| 337 | + 'fields' => [], | |
| 338 | + ] | |
| 339 | + ), | |
| 340 | + 'shopbuilder_counter' => apply_filters( | |
| 341 | + 'rtsb/elements/shopbuilder_counter/options', | |
| 342 | + [ | |
| 343 | + 'id' => 'shopbuilder_counter', | |
| 344 | + 'title' => esc_html__( 'Fun Facts', 'shopbuilder' ), | |
| 345 | + 'base_class' => General\Counter\Counter::class, | |
| 346 | + 'category' => 'general', | |
| 347 | + 'active' => 'on', | |
| 348 | + 'package' => 'free', | |
| 349 | + 'fields' => [], | |
| 350 | + ] | |
| 351 | + ), | |
| 352 | + 'shopbuilder_countdown' => apply_filters( | |
| 353 | + 'rtsb/elements/shopbuilder_countdown/options', | |
| 354 | + [ | |
| 355 | + 'id' => 'shopbuilder_countdown', | |
| 356 | + 'title' => esc_html__( 'Countdown', 'shopbuilder' ), | |
| 357 | + 'base_class' => General\CountDown\CountDown::class, | |
| 358 | + 'category' => 'general', | |
| 359 | + 'active' => 'on', | |
| 360 | + 'package' => 'free', | |
| 361 | + 'fields' => [], | |
| 362 | + ] | |
| 363 | + ), | |
| 364 | + 'shopbuilder_progress_bar' => apply_filters( | |
| 365 | + 'rtsb/elements/shopbuilder_progress_bar/options', | |
| 366 | + [ | |
| 367 | + 'id' => 'shopbuilder_progress_bar', | |
| 368 | + 'title' => esc_html__( 'Progress Bar', 'shopbuilder' ), | |
| 369 | + 'base_class' => General\ProgressBar\ProgressBar::class, | |
| 370 | + 'category' => 'general', | |
| 371 | + 'active' => 'on', | |
| 372 | + 'package' => 'free', | |
| 373 | + 'fields' => [], | |
| 374 | + ] | |
| 375 | + ), | |
| 376 | + 'image_accordion' => apply_filters( | |
| 377 | + 'rtsb/elements/image_accordion/options', | |
| 378 | + [ | |
| 379 | + 'id' => 'image_accordion', | |
| 380 | + 'title' => esc_html__( 'Image Accordion', 'shopbuilder' ), | |
| 381 | + 'base_class' => General\ImageAccordion\ImageAccordion::class, | |
| 382 | + 'category' => 'general', | |
| 383 | + 'active' => 'on', | |
| 384 | + 'package' => 'free', | |
| 385 | + 'fields' => [], | |
| 386 | + ] | |
| 387 | + ), | |
| 388 | + 'shopbuilder_faq' => apply_filters( | |
| 389 | + 'rtsb/elements/shopbuilder_faq/options', | |
| 390 | + [ | |
| 391 | + 'id' => 'shopbuilder_faq', | |
| 392 | + 'title' => esc_html__( 'FAQ', 'shopbuilder' ), | |
| 393 | + 'base_class' => General\ShopBuilderFaq\ShopBuilderFaq::class, | |
| 394 | + 'category' => 'general', | |
| 395 | + 'active' => 'on', | |
| 396 | + 'package' => 'free', | |
| 397 | + 'fields' => [], | |
| 398 | + ] | |
| 399 | + ), | |
| 400 | + 'logo_slider_and_grid' => apply_filters( | |
| 401 | + 'rtsb/elements/logo_slider_and_grid/options', | |
| 402 | + [ | |
| 403 | + 'id' => 'logo_slider_and_grid', | |
| 404 | + 'title' => esc_html__( 'Logo Slider and Grid', 'shopbuilder' ), | |
| 405 | + 'base_class' => General\LogoSliderAndGrid\LogoSliderAndGrid::class, | |
| 406 | + 'category' => 'general', | |
| 407 | + 'active' => 'on', | |
| 408 | + 'package' => 'free', | |
| 409 | + 'fields' => [], | |
| 410 | + ] | |
| 411 | + ), | |
| 412 | + 'testimonial' => apply_filters( | |
| 413 | + 'rtsb/elements/testimonial/options', | |
| 414 | + [ | |
| 415 | + 'id' => 'testimonial', | |
| 416 | + 'title' => esc_html__( 'Testimonials', 'shopbuilder' ), | |
| 417 | + 'base_class' => General\Testimonial\Testimonial::class, | |
| 418 | + 'category' => 'general', | |
| 419 | + 'active' => 'on', | |
| 420 | + 'package' => 'free', | |
| 421 | + 'fields' => [], | |
| 422 | + ] | |
| 423 | + ), | |
| 424 | + 'team_member' => apply_filters( | |
| 425 | + 'rtsb/elements/team_member/options', | |
| 426 | + [ | |
| 427 | + 'id' => 'team_member', | |
| 428 | + 'title' => esc_html__( 'Team Members', 'shopbuilder' ), | |
| 429 | + 'base_class' => General\TeamMember\TeamMember::class, | |
| 430 | + 'category' => 'general', | |
| 431 | + 'active' => 'on', | |
| 432 | + 'package' => 'free', | |
| 433 | + 'fields' => [], | |
| 434 | + ] | |
| 435 | + ), | |
| 436 | + 'post_grid' => apply_filters( | |
| 437 | + 'rtsb/elements/post_grid/options', | |
| 438 | + [ | |
| 439 | + 'id' => 'post_grid', | |
| 440 | + 'title' => esc_html__( 'Post Grid', 'shopbuilder' ), | |
| 441 | + 'base_class' => General\PostGrid\PostGrid::class, | |
| 442 | + 'category' => 'general', | |
| 443 | + 'active' => 'on', | |
| 444 | + 'package' => 'free', | |
| 445 | + 'fields' => [], | |
| 446 | + ] | |
| 447 | + ), | |
| 448 | + 'post_list' => apply_filters( | |
| 449 | + 'rtsb/elements/post_list/options', | |
| 450 | + [ | |
| 451 | + 'id' => 'post_list', | |
| 452 | + 'title' => esc_html__( 'Post List', 'shopbuilder' ), | |
| 453 | + 'base_class' => General\PostList\PostList::class, | |
| 454 | + 'category' => 'general', | |
| 455 | + 'active' => 'on', | |
| 456 | + 'package' => 'free', | |
| 457 | + 'fields' => [], | |
| 458 | + ] | |
| 459 | + ), | |
| 209 | 460 | ]; |
| 210 | 461 | |
| 211 | 462 | return apply_filters( 'rtsb/core/elements/general/widget_list', $list ); |
| 212 | 463 | } |
| @@ -270,10 +521,10 @@ | ||
| 270 | 521 | 'product_onsale' => apply_filters( |
| 271 | 522 | 'rtsb/elements/product_onsale/options', |
| 272 | 523 | [ |
| 273 | 524 | 'id' => 'product_onsale', |
| 274 | - 'title' => esc_html__( 'Sale Flash - Onsale', 'shopbuilder' ), | |
| 275 | - 'base_class' => Single\ProductOnSale::class, | |
| 525 | + 'title' => esc_html__( 'Product Badges', 'shopbuilder' ), | |
| 526 | + 'base_class' => Single\ProductBadges::class, | |
| 276 | 527 | 'category' => 'product', |
| 277 | 528 | 'active' => 'on', |
| 278 | 529 | 'package' => 'free', |
| 279 | 530 | 'fields' => [], |
| @@ -414,9 +665,9 @@ | ||
| 414 | 665 | 'product_sales_count' => apply_filters( |
| 415 | 666 | 'rtsb/elements/product_sales_count/options', |
| 416 | 667 | [ |
| 417 | 668 | 'id' => 'product_sales_count', |
| 418 | - 'title' => esc_html__( 'Sales Count', 'shopbuilder-pro' ), | |
| 669 | + 'title' => esc_html__( 'Sales Count', 'shopbuilder' ), | |
| 419 | 670 | 'category' => 'product', |
| 420 | 671 | 'active' => '', |
| 421 | 672 | 'package' => $this->pro_package(), |
| 422 | 673 | 'fields' => [], |
| @@ -421,13 +672,24 @@ | ||
| 421 | 672 | 'package' => $this->pro_package(), |
| 422 | 673 | 'fields' => [], |
| 423 | 674 | ] |
| 424 | 675 | ), |
| 676 | + 'product_stock_counter' => apply_filters( | |
| 677 | + 'rtsb/elements/product_stock_counter/options', | |
| 678 | + [ | |
| 679 | + 'id' => 'product_stock_counter', | |
| 680 | + 'title' => esc_html__( 'Product Stock Count', 'shopbuilder' ), | |
| 681 | + 'category' => 'product', | |
| 682 | + 'active' => '', | |
| 683 | + 'package' => $this->pro_package(), | |
| 684 | + 'fields' => [], | |
| 685 | + ] | |
| 686 | + ), | |
| 425 | 687 | 'flash_sale_countdown' => apply_filters( |
| 426 | 688 | 'rtsb/elements/flash_sale_countdown/options', |
| 427 | 689 | [ |
| 428 | 690 | 'id' => 'flash_sale_countdown', |
| 429 | - 'title' => esc_html__( 'Flash Sale Countdown', 'shopbuilder-pro' ), | |
| 691 | + 'title' => esc_html__( 'Flash Sale Countdown', 'shopbuilder' ), | |
| 430 | 692 | 'category' => 'product', |
| 431 | 693 | 'active' => '', |
| 432 | 694 | 'package' => $this->pro_package(), |
| 433 | 695 | 'fields' => [], |
| @@ -436,9 +698,9 @@ | ||
| 436 | 698 | 'product_size_chart' => apply_filters( |
| 437 | 699 | 'rtsb/elements/product_size_chart/options', |
| 438 | 700 | [ |
| 439 | 701 | 'id' => 'product_size_chart', |
| 440 | - 'title' => esc_html__( 'Size Chart', 'shopbuilder-pro' ), | |
| 702 | + 'title' => esc_html__( 'Size Chart', 'shopbuilder' ), | |
| 441 | 703 | 'category' => 'product', |
| 442 | 704 | 'active' => '', |
| 443 | 705 | 'package' => $this->pro_package(), |
| 444 | 706 | 'fields' => [], |
| @@ -447,9 +709,9 @@ | ||
| 447 | 709 | 'product_quick_checkout' => apply_filters( |
| 448 | 710 | 'rtsb/elements/product_quick_checkout/options', |
| 449 | 711 | [ |
| 450 | 712 | 'id' => 'product_quick_checkout', |
| 451 | - 'title' => esc_html__( 'Quick Checkout', 'shopbuilder-pro' ), | |
| 713 | + 'title' => esc_html__( 'Quick Checkout', 'shopbuilder' ), | |
| 452 | 714 | 'category' => 'product', |
| 453 | 715 | 'active' => '', |
| 454 | 716 | 'package' => $this->pro_package(), |
| 455 | 717 | 'fields' => [], |
| @@ -466,8 +728,19 @@ | ||
| 466 | 728 | 'package' => 'free', |
| 467 | 729 | 'fields' => [], |
| 468 | 730 | ] |
| 469 | 731 | ), |
| 732 | + 'advance_product_tabs' => apply_filters( | |
| 733 | + 'rtsb/elements/advance_product_tabs/options', | |
| 734 | + [ | |
| 735 | + 'id' => 'advance_product_tabs', | |
| 736 | + 'title' => esc_html__( 'Advanced Product Tabs', 'shopbuilder' ), | |
| 737 | + 'category' => 'product', | |
| 738 | + 'active' => '', | |
| 739 | + 'package' => $this->pro_package(), | |
| 740 | + 'fields' => [], | |
| 741 | + ] | |
| 742 | + ), | |
| 470 | 743 | 'product_reviews' => apply_filters( |
| 471 | 744 | 'rtsb/elements/product_reviews/options', |
| 472 | 745 | [ |
| 473 | 746 | 'id' => 'product_reviews', |
| @@ -556,8 +829,267 @@ | ||
| 556 | 829 | return apply_filters( 'rtsb/core/elements/product_page/widget_list', $list ); |
| 557 | 830 | } |
| 558 | 831 | |
| 559 | 832 | /** |
| 833 | + * Product Single Widget List. | |
| 834 | + * | |
| 835 | + * @return array | |
| 836 | + */ | |
| 837 | + protected function product_quick_view() { | |
| 838 | + | |
| 839 | + $list = [ | |
| 840 | + 'qv_product_title' => apply_filters( | |
| 841 | + 'rtsb/elements/qv_product_title/options', | |
| 842 | + [ | |
| 843 | + 'id' => 'qv_product_title', | |
| 844 | + 'title' => esc_html__( 'Product Title', 'shopbuilder' ), | |
| 845 | + 'base_class' => Single\ProductTitle::class, | |
| 846 | + 'category' => 'quick_view', | |
| 847 | + 'is_front_page' => 'quick_view', | |
| 848 | + 'active' => 'on', | |
| 849 | + 'package' => $this->pro_package(), | |
| 850 | + 'fields' => [], | |
| 851 | + ] | |
| 852 | + ), | |
| 853 | + 'qv_product_description' => apply_filters( | |
| 854 | + 'rtsb/elements/qv_product_description/options', | |
| 855 | + [ | |
| 856 | + 'id' => 'qv_product_description', | |
| 857 | + 'title' => esc_html__( 'Product Description', 'shopbuilder' ), | |
| 858 | + 'base_class' => Single\ProductDescription::class, | |
| 859 | + 'category' => 'quick_view', | |
| 860 | + 'is_front_page' => 'quick_view', | |
| 861 | + 'active' => 'on', | |
| 862 | + 'package' => $this->pro_package(), | |
| 863 | + 'fields' => [], | |
| 864 | + ] | |
| 865 | + ), | |
| 866 | + 'qv_product_short_description' => apply_filters( | |
| 867 | + 'rtsb/elements/qv_product_short_description/options', | |
| 868 | + [ | |
| 869 | + 'id' => 'qv_product_short_description', | |
| 870 | + 'title' => esc_html__( 'Short Description', 'shopbuilder' ), | |
| 871 | + 'base_class' => Single\ShortDescription::class, | |
| 872 | + 'category' => 'quick_view', | |
| 873 | + 'is_front_page' => 'quick_view', | |
| 874 | + 'active' => 'on', | |
| 875 | + 'package' => $this->pro_package(), | |
| 876 | + 'fields' => [], | |
| 877 | + ] | |
| 878 | + ), | |
| 879 | + 'qv_product_images' => apply_filters( | |
| 880 | + 'rtsb/elements/qv_product_images/options', | |
| 881 | + [ | |
| 882 | + 'id' => 'qv_product_images', | |
| 883 | + 'title' => esc_html__( 'Product Images', 'shopbuilder' ), | |
| 884 | + 'base_class' => Single\ProductImages::class, | |
| 885 | + 'category' => 'quick_view', | |
| 886 | + 'is_front_page' => 'quick_view', | |
| 887 | + 'active' => 'on', | |
| 888 | + 'package' => $this->pro_package(), | |
| 889 | + 'fields' => [], | |
| 890 | + ] | |
| 891 | + ), | |
| 892 | + 'qv_product_badges' => apply_filters( | |
| 893 | + 'rtsb/elements/qv_product_badges/options', | |
| 894 | + [ | |
| 895 | + 'id' => 'qv_product_badges', | |
| 896 | + 'title' => esc_html__( 'Product Badges', 'shopbuilder' ), | |
| 897 | + 'base_class' => Single\ProductBadges::class, | |
| 898 | + 'category' => 'quick_view', | |
| 899 | + 'is_front_page' => 'quick_view', | |
| 900 | + 'active' => 'on', | |
| 901 | + 'package' => $this->pro_package(), | |
| 902 | + 'fields' => [], | |
| 903 | + ] | |
| 904 | + ), | |
| 905 | + 'qv_product_additional_info' => apply_filters( | |
| 906 | + 'rtsb/elements/qv_product_additional_info/options', | |
| 907 | + [ | |
| 908 | + 'id' => 'qv_product_additional_info', | |
| 909 | + 'title' => esc_html__( 'Additional Information', 'shopbuilder' ), | |
| 910 | + 'base_class' => Single\AdditionalInformation::class, | |
| 911 | + 'category' => 'quick_view', | |
| 912 | + 'is_front_page' => 'quick_view', | |
| 913 | + 'active' => 'on', | |
| 914 | + 'package' => $this->pro_package(), | |
| 915 | + 'fields' => [], | |
| 916 | + ] | |
| 917 | + ), | |
| 918 | + 'qv_product_price' => apply_filters( | |
| 919 | + 'rtsb/elements/qv_product_price/options', | |
| 920 | + [ | |
| 921 | + 'id' => 'qv_product_price', | |
| 922 | + 'title' => esc_html__( 'Product Price', 'shopbuilder' ), | |
| 923 | + 'base_class' => Single\ProductPrice::class, | |
| 924 | + 'category' => 'quick_view', | |
| 925 | + 'is_front_page' => 'quick_view', | |
| 926 | + 'active' => 'on', | |
| 927 | + 'package' => $this->pro_package(), | |
| 928 | + 'fields' => [], | |
| 929 | + ] | |
| 930 | + ), | |
| 931 | + 'qv_product_meta' => apply_filters( | |
| 932 | + 'rtsb/elements/qv_product_meta/options', | |
| 933 | + [ | |
| 934 | + 'id' => 'qv_product_meta', | |
| 935 | + 'title' => esc_html__( 'Product Meta', 'shopbuilder' ), | |
| 936 | + 'base_class' => Single\ProductMeta::class, | |
| 937 | + 'category' => 'quick_view', | |
| 938 | + 'is_front_page' => 'quick_view', | |
| 939 | + 'active' => 'on', | |
| 940 | + 'package' => $this->pro_package(), | |
| 941 | + 'fields' => [], | |
| 942 | + ] | |
| 943 | + ), | |
| 944 | + 'qv_product_categories' => apply_filters( | |
| 945 | + 'rtsb/elements/qv_product_categories/options', | |
| 946 | + [ | |
| 947 | + 'id' => 'qv_product_categories', | |
| 948 | + 'title' => esc_html__( 'Product Categories', 'shopbuilder' ), | |
| 949 | + 'base_class' => Single\ProductCats::class, | |
| 950 | + 'category' => 'quick_view', | |
| 951 | + 'is_front_page' => 'quick_view', | |
| 952 | + 'active' => 'on', | |
| 953 | + 'package' => $this->pro_package(), | |
| 954 | + 'fields' => [], | |
| 955 | + ] | |
| 956 | + ), | |
| 957 | + 'qv_product_rating' => apply_filters( | |
| 958 | + 'rtsb/elements/qv_product_rating/options', | |
| 959 | + [ | |
| 960 | + 'id' => 'qv_product_rating', | |
| 961 | + 'title' => esc_html__( 'Product Rating', 'shopbuilder' ), | |
| 962 | + 'base_class' => Single\ProductRating::class, | |
| 963 | + 'category' => 'quick_view', | |
| 964 | + 'is_front_page' => 'quick_view', | |
| 965 | + 'active' => 'on', | |
| 966 | + 'package' => $this->pro_package(), | |
| 967 | + 'fields' => [], | |
| 968 | + ] | |
| 969 | + ), | |
| 970 | + 'qv_product_tags' => apply_filters( | |
| 971 | + 'rtsb/elements/qv_product_tags/options', | |
| 972 | + [ | |
| 973 | + 'id' => 'qv_product_tags', | |
| 974 | + 'title' => esc_html__( 'Product Tags', 'shopbuilder' ), | |
| 975 | + 'base_class' => Single\ProductTags::class, | |
| 976 | + 'category' => 'quick_view', | |
| 977 | + 'is_front_page' => 'quick_view', | |
| 978 | + 'active' => 'on', | |
| 979 | + 'package' => $this->pro_package(), | |
| 980 | + 'fields' => [], | |
| 981 | + ] | |
| 982 | + ), | |
| 983 | + 'qv_product_sku' => apply_filters( | |
| 984 | + 'rtsb/elements/qv_product_sku/options', | |
| 985 | + [ | |
| 986 | + 'id' => 'qv_product_sku', | |
| 987 | + 'title' => esc_html__( 'Product SKU', 'shopbuilder' ), | |
| 988 | + 'base_class' => Single\ProductSKU::class, | |
| 989 | + 'category' => 'quick_view', | |
| 990 | + 'is_front_page' => 'quick_view', | |
| 991 | + 'active' => 'on', | |
| 992 | + 'package' => $this->pro_package(), | |
| 993 | + 'fields' => [], | |
| 994 | + ] | |
| 995 | + ), | |
| 996 | + 'qv_product_stock' => apply_filters( | |
| 997 | + 'rtsb/elements/qv_product_stock/options', | |
| 998 | + [ | |
| 999 | + 'id' => 'qv_product_stock', | |
| 1000 | + 'title' => esc_html__( 'Product Stock', 'shopbuilder' ), | |
| 1001 | + 'base_class' => Single\ProductStock::class, | |
| 1002 | + 'category' => 'quick_view', | |
| 1003 | + 'is_front_page' => 'quick_view', | |
| 1004 | + 'active' => 'on', | |
| 1005 | + 'package' => $this->pro_package(), | |
| 1006 | + 'fields' => [], | |
| 1007 | + ] | |
| 1008 | + ), | |
| 1009 | + 'qv_actions_button' => apply_filters( | |
| 1010 | + 'rtsb/elements/qv_actions_button/options', | |
| 1011 | + [ | |
| 1012 | + 'id' => 'qv_actions_button', | |
| 1013 | + 'title' => esc_html__( 'Action Buttons', 'shopbuilder' ), | |
| 1014 | + 'base_class' => Single\ActionsButton::class, | |
| 1015 | + 'category' => 'quick_view', | |
| 1016 | + 'is_front_page' => 'quick_view', | |
| 1017 | + 'active' => 'on', | |
| 1018 | + 'package' => $this->pro_package(), | |
| 1019 | + 'fields' => [], | |
| 1020 | + ] | |
| 1021 | + ), | |
| 1022 | + 'qv_product_add_to_cart' => apply_filters( | |
| 1023 | + 'rtsb/elements/qv_product_add_to_cart/options', | |
| 1024 | + [ | |
| 1025 | + 'id' => 'qv_product_add_to_cart', | |
| 1026 | + 'title' => esc_html__( 'Add to Cart', 'shopbuilder' ), | |
| 1027 | + 'base_class' => Single\ProductAddToCart::class, | |
| 1028 | + 'category' => 'quick_view', | |
| 1029 | + 'is_front_page' => 'quick_view', | |
| 1030 | + 'active' => 'on', | |
| 1031 | + 'package' => $this->pro_package(), | |
| 1032 | + 'fields' => [], | |
| 1033 | + ] | |
| 1034 | + ), | |
| 1035 | + 'qv_product_sales_count' => apply_filters( | |
| 1036 | + 'rtsb/elements/qv_product_sales_count/options', | |
| 1037 | + [ | |
| 1038 | + 'id' => 'qv_product_sales_count', | |
| 1039 | + 'title' => esc_html__( 'Sales Count', 'shopbuilder' ), | |
| 1040 | + 'category' => 'quick_view', | |
| 1041 | + 'is_front_page' => 'quick_view', | |
| 1042 | + 'active' => 'on', | |
| 1043 | + 'package' => $this->pro_package(), | |
| 1044 | + 'fields' => [], | |
| 1045 | + ] | |
| 1046 | + ), | |
| 1047 | + 'qv_social_share' => apply_filters( | |
| 1048 | + 'rtsb/settings/qv_social_share/options', | |
| 1049 | + [ | |
| 1050 | + 'id' => 'qv_social_share', | |
| 1051 | + 'title' => esc_html__( 'Social Share', 'shopbuilder' ), | |
| 1052 | + 'base_class' => General\SocialShare::class, | |
| 1053 | + 'active' => 'on', | |
| 1054 | + 'category' => 'quick_view', | |
| 1055 | + 'is_front_page' => 'quick_view', | |
| 1056 | + 'package' => $this->pro_package(), | |
| 1057 | + 'fields' => [], | |
| 1058 | + ] | |
| 1059 | + ), | |
| 1060 | + 'qv_product_quick_checkout' => apply_filters( | |
| 1061 | + 'rtsb/elements/qv_product_quick_checkout/options', | |
| 1062 | + [ | |
| 1063 | + 'id' => 'qv_product_quick_checkout', | |
| 1064 | + 'title' => esc_html__( 'Quick Checkout', 'shopbuilder' ), | |
| 1065 | + 'category' => 'quick_view', | |
| 1066 | + 'is_front_page' => 'quick_view', | |
| 1067 | + 'active' => 'on', | |
| 1068 | + 'package' => $this->pro_package(), | |
| 1069 | + 'fields' => [], | |
| 1070 | + ] | |
| 1071 | + ), | |
| 1072 | + | |
| 1073 | + 'qv_product_size_chart' => apply_filters( | |
| 1074 | + 'rtsb/elements/qv_product_size_chart/options', | |
| 1075 | + [ | |
| 1076 | + 'id' => 'qv_product_size_chart', | |
| 1077 | + 'title' => esc_html__( 'Size Chart', 'shopbuilder' ), | |
| 1078 | + 'category' => 'quick_view', | |
| 1079 | + 'is_front_page' => 'quick_view', | |
| 1080 | + 'active' => '', | |
| 1081 | + 'package' => $this->pro_package(), | |
| 1082 | + 'fields' => [], | |
| 1083 | + ] | |
| 1084 | + ), | |
| 1085 | + | |
| 1086 | + ]; | |
| 1087 | + | |
| 1088 | + return apply_filters( 'rtsb/core/elements/quick_view/widget_list', $list ); | |
| 1089 | + } | |
| 1090 | + | |
| 1091 | + /** | |
| 560 | 1092 | * Product Archive Widget List. |
| 561 | 1093 | * |
| 562 | 1094 | * @return array |
| 563 | 1095 | */ |
| @@ -618,9 +1150,9 @@ | ||
| 618 | 1150 | 'ajax_product_filters' => apply_filters( |
| 619 | 1151 | 'rtsb/elements/ajax_product_filters/options', |
| 620 | 1152 | [ |
| 621 | 1153 | 'id' => 'ajax_product_filters', |
| 622 | - 'title' => esc_html__( 'Ajax Product Filters', 'shopbuilder-pro' ), | |
| 1154 | + 'title' => esc_html__( 'Ajax Product Filters', 'shopbuilder' ), | |
| 623 | 1155 | 'category' => 'shop', |
| 624 | 1156 | 'active' => 'on', |
| 625 | 1157 | 'package' => $this->pro_package(), |
| 626 | 1158 | 'fields' => [], |
| @@ -625,8 +1157,20 @@ | ||
| 625 | 1157 | 'package' => $this->pro_package(), |
| 626 | 1158 | 'fields' => [], |
| 627 | 1159 | ] |
| 628 | 1160 | ), |
| 1161 | + 'product_filters' => apply_filters( | |
| 1162 | + 'rtsb/elements/product_filters/options', | |
| 1163 | + [ | |
| 1164 | + 'id' => 'product_filters', | |
| 1165 | + 'title' => esc_html__( 'Product Filters', 'shopbuilder' ), | |
| 1166 | + 'base_class' => Archive\ProductFilters::class, | |
| 1167 | + 'category' => 'shop', | |
| 1168 | + 'active' => 'on', | |
| 1169 | + 'package' => 'free', | |
| 1170 | + 'fields' => [], | |
| 1171 | + ] | |
| 1172 | + ), | |
| 629 | 1173 | |
| 630 | 1174 | 'archive_result_count' => apply_filters( |
| 631 | 1175 | 'rtsb/elements/archive_result_count/options', |
| 632 | 1176 | [ |
| @@ -757,9 +1301,9 @@ | ||
| 757 | 1301 | * @return array |
| 758 | 1302 | */ |
| 759 | 1303 | protected function checkout_page_widget_list() { |
| 760 | 1304 | $list = [ |
| 761 | - 'billing_form' => apply_filters( | |
| 1305 | + 'billing_form' => apply_filters( | |
| 762 | 1306 | 'rtsb/elements/billing_form/options', |
| 763 | 1307 | [ |
| 764 | 1308 | 'id' => 'billing_form', |
| 765 | 1309 | 'title' => esc_html__( 'Billing Form', 'shopbuilder' ), |
| @@ -769,9 +1313,9 @@ | ||
| 769 | 1313 | 'package' => 'free', |
| 770 | 1314 | 'fields' => [], |
| 771 | 1315 | ] |
| 772 | 1316 | ), |
| 773 | - 'shipping_form' => apply_filters( | |
| 1317 | + 'shipping_form' => apply_filters( | |
| 774 | 1318 | 'rtsb/elements/shipping_form/options', |
| 775 | 1319 | [ |
| 776 | 1320 | 'id' => 'shipping_form', |
| 777 | 1321 | 'title' => esc_html__( 'Shipping Form', 'shopbuilder' ), |
| @@ -781,9 +1325,9 @@ | ||
| 781 | 1325 | 'package' => 'free', |
| 782 | 1326 | 'fields' => [], |
| 783 | 1327 | ] |
| 784 | 1328 | ), |
| 785 | - 'order_notes' => apply_filters( | |
| 1329 | + 'order_notes' => apply_filters( | |
| 786 | 1330 | 'rtsb/elements/order_notes/options', |
| 787 | 1331 | [ |
| 788 | 1332 | 'id' => 'order_notes', |
| 789 | 1333 | 'title' => esc_html__( 'Order Notes', 'shopbuilder' ), |
| @@ -793,9 +1337,9 @@ | ||
| 793 | 1337 | 'package' => 'free', |
| 794 | 1338 | 'fields' => [], |
| 795 | 1339 | ] |
| 796 | 1340 | ), |
| 797 | - 'order_review' => apply_filters( | |
| 1341 | + 'order_review' => apply_filters( | |
| 798 | 1342 | 'rtsb/elements/order_review/options', |
| 799 | 1343 | [ |
| 800 | 1344 | 'id' => 'order_review', |
| 801 | 1345 | 'title' => esc_html__( 'Order Review', 'shopbuilder' ), |
| @@ -805,9 +1349,9 @@ | ||
| 805 | 1349 | 'package' => 'free', |
| 806 | 1350 | 'fields' => [], |
| 807 | 1351 | ] |
| 808 | 1352 | ), |
| 809 | - 'checkout_payment' => apply_filters( | |
| 1353 | + 'checkout_payment' => apply_filters( | |
| 810 | 1354 | 'rtsb/elements/checkout_payment/options', |
| 811 | 1355 | [ |
| 812 | 1356 | 'id' => 'checkout_payment', |
| 813 | 1357 | 'title' => esc_html__( 'Checkout Payment Method', 'shopbuilder' ), |
| @@ -817,9 +1361,9 @@ | ||
| 817 | 1361 | 'package' => 'free', |
| 818 | 1362 | 'fields' => [], |
| 819 | 1363 | ] |
| 820 | 1364 | ), |
| 821 | - 'coupon_form' => apply_filters( | |
| 1365 | + 'coupon_form' => apply_filters( | |
| 822 | 1366 | 'rtsb/elements/coupon_form/options', |
| 823 | 1367 | [ |
| 824 | 1368 | 'id' => 'coupon_form', |
| 825 | 1369 | 'title' => esc_html__( 'Coupon Form', 'shopbuilder' ), |
| @@ -829,9 +1373,9 @@ | ||
| 829 | 1373 | 'package' => 'free', |
| 830 | 1374 | 'fields' => [], |
| 831 | 1375 | ] |
| 832 | 1376 | ), |
| 833 | - 'checkout_login_form' => apply_filters( | |
| 1377 | + 'checkout_login_form' => apply_filters( | |
| 834 | 1378 | 'rtsb/elements/checkout_login_form/options', |
| 835 | 1379 | [ |
| 836 | 1380 | 'id' => 'checkout_login_form', |
| 837 | 1381 | 'title' => esc_html__( 'Login Form', 'shopbuilder' ), |
| @@ -841,10 +1385,9 @@ | ||
| 841 | 1385 | 'package' => 'free', |
| 842 | 1386 | 'fields' => [], |
| 843 | 1387 | ] |
| 844 | 1388 | ), |
| 845 | - | |
| 846 | - 'shipping_method' => apply_filters( | |
| 1389 | + 'shipping_method' => apply_filters( | |
| 847 | 1390 | 'rtsb/elements/shipping_method/options', |
| 848 | 1391 | [ |
| 849 | 1392 | 'id' => 'shipping_method', |
| 850 | 1393 | 'title' => esc_html__( 'Shipping Method', 'shopbuilder' ), |
| @@ -854,8 +1397,20 @@ | ||
| 854 | 1397 | 'package' => 'free', |
| 855 | 1398 | 'fields' => [], |
| 856 | 1399 | ] |
| 857 | 1400 | ), |
| 1401 | + 'multi_step_checkout_widget' => apply_filters( | |
| 1402 | + 'rtsb/elements/multi_step_checkout_widget/options', | |
| 1403 | + [ | |
| 1404 | + 'id' => 'multi_step_checkout_widget', | |
| 1405 | + 'title' => esc_html__( 'Multi Step Checkout', 'shopbuilder' ), | |
| 1406 | + 'base_class' => CheckoutPro\MultiStepCheckout::class, | |
| 1407 | + 'category' => 'checkout', | |
| 1408 | + 'active' => '', | |
| 1409 | + 'package' => $this->pro_package(), | |
| 1410 | + 'fields' => [], | |
| 1411 | + ] | |
| 1412 | + ), | |
| 858 | 1413 | |
| 859 | 1414 | ]; |
| 860 | 1415 | |
| 861 | 1416 | return apply_filters( 'rtsb/core/elements/checkout/widget_list', $list ); |
| @@ -867,13 +1422,13 @@ | ||
| 867 | 1422 | * @return array |
| 868 | 1423 | */ |
| 869 | 1424 | protected function thankyou_page_widget_list() { |
| 870 | 1425 | return [ |
| 871 | - 'order_received_text' => apply_filters( | |
| 1426 | + 'order_received_text' => apply_filters( | |
| 872 | 1427 | 'rtsb/elements/order_received_text/options', |
| 873 | 1428 | [ |
| 874 | 1429 | 'id' => 'order_received_text', |
| 875 | - 'title' => esc_html__( 'Order Received Text', 'shopbuilder-pro' ), | |
| 1430 | + 'title' => esc_html__( 'Order Received Text', 'shopbuilder' ), | |
| 876 | 1431 | 'category' => 'thank_you', |
| 877 | 1432 | 'is_front_page' => 'thank_you', |
| 878 | 1433 | 'active' => 'on', |
| 879 | 1434 | 'package' => $this->pro_package(), |
| @@ -879,13 +1434,13 @@ | ||
| 879 | 1434 | 'package' => $this->pro_package(), |
| 880 | 1435 | 'fields' => [], |
| 881 | 1436 | ] |
| 882 | 1437 | ), |
| 883 | - 'order_details_summary' => apply_filters( | |
| 1438 | + 'order_details_summary' => apply_filters( | |
| 884 | 1439 | 'rtsb/elements/order_details_summary/options', |
| 885 | 1440 | [ |
| 886 | 1441 | 'id' => 'order_details_summary', |
| 887 | - 'title' => esc_html__( 'Order Details Summary', 'shopbuilder-pro' ), | |
| 1442 | + 'title' => esc_html__( 'Order Details Summary', 'shopbuilder' ), | |
| 888 | 1443 | 'category' => 'thank_you', |
| 889 | 1444 | 'is_front_page' => 'thank_you', |
| 890 | 1445 | 'active' => 'on', |
| 891 | 1446 | 'package' => $this->pro_package(), |
| @@ -891,13 +1446,13 @@ | ||
| 891 | 1446 | 'package' => $this->pro_package(), |
| 892 | 1447 | 'fields' => [], |
| 893 | 1448 | ] |
| 894 | 1449 | ), |
| 895 | - 'order_details_table' => apply_filters( | |
| 1450 | + 'order_details_table' => apply_filters( | |
| 896 | 1451 | 'rtsb/elements/order_details_table/options', |
| 897 | 1452 | [ |
| 898 | 1453 | 'id' => 'order_details_table', |
| 899 | - 'title' => esc_html__( 'Order Details Table', 'shopbuilder-pro' ), | |
| 1454 | + 'title' => esc_html__( 'Order Details Table', 'shopbuilder' ), | |
| 900 | 1455 | 'category' => 'thank_you', |
| 901 | 1456 | 'is_front_page' => 'thank_you', |
| 902 | 1457 | 'active' => 'on', |
| 903 | 1458 | 'package' => $this->pro_package(), |
| @@ -903,13 +1458,13 @@ | ||
| 903 | 1458 | 'package' => $this->pro_package(), |
| 904 | 1459 | 'fields' => [], |
| 905 | 1460 | ] |
| 906 | 1461 | ), |
| 907 | - 'downloadable_products' => apply_filters( | |
| 1462 | + 'downloadable_products' => apply_filters( | |
| 908 | 1463 | 'rtsb/elements/downloadable_products/options', |
| 909 | 1464 | [ |
| 910 | 1465 | 'id' => 'downloadable_products', |
| 911 | - 'title' => esc_html__( 'Downloadable Products', 'shopbuilder-pro' ), | |
| 1466 | + 'title' => esc_html__( 'Downloadable Products', 'shopbuilder' ), | |
| 912 | 1467 | 'category' => 'thank_you', |
| 913 | 1468 | 'is_front_page' => 'thank_you', |
| 914 | 1469 | 'active' => 'on', |
| 915 | 1470 | 'package' => $this->pro_package(), |
| @@ -915,13 +1470,13 @@ | ||
| 915 | 1470 | 'package' => $this->pro_package(), |
| 916 | 1471 | 'fields' => [], |
| 917 | 1472 | ] |
| 918 | 1473 | ), |
| 919 | - 'order_billing_address' => apply_filters( | |
| 1474 | + 'order_billing_address' => apply_filters( | |
| 920 | 1475 | 'rtsb/elements/order_billing_address/options', |
| 921 | 1476 | [ |
| 922 | 1477 | 'id' => 'order_billing_address', |
| 923 | - 'title' => esc_html__( 'Order Billing Address', 'shopbuilder-pro' ), | |
| 1478 | + 'title' => esc_html__( 'Order Billing Address', 'shopbuilder' ), | |
| 924 | 1479 | 'category' => 'thank_you', |
| 925 | 1480 | 'is_front_page' => 'thank_you', |
| 926 | 1481 | 'active' => 'on', |
| 927 | 1482 | 'package' => $this->pro_package(), |
| @@ -927,13 +1482,13 @@ | ||
| 927 | 1482 | 'package' => $this->pro_package(), |
| 928 | 1483 | 'fields' => [], |
| 929 | 1484 | ] |
| 930 | 1485 | ), |
| 931 | - 'order_shipping_address' => apply_filters( | |
| 1486 | + 'order_shipping_address' => apply_filters( | |
| 932 | 1487 | 'rtsb/elements/order_shipping_address/options', |
| 933 | 1488 | [ |
| 934 | 1489 | 'id' => 'order_shipping_address', |
| 935 | - 'title' => esc_html__( 'Order Shipping Address', 'shopbuilder-pro' ), | |
| 1490 | + 'title' => esc_html__( 'Order Shipping Address', 'shopbuilder' ), | |
| 936 | 1491 | 'category' => 'thank_you', |
| 937 | 1492 | 'is_front_page' => 'thank_you', |
| 938 | 1493 | 'active' => 'on', |
| 939 | 1494 | 'package' => $this->pro_package(), |
| @@ -939,8 +1494,20 @@ | ||
| 939 | 1494 | 'package' => $this->pro_package(), |
| 940 | 1495 | 'fields' => [], |
| 941 | 1496 | ] |
| 942 | 1497 | ), |
| 1498 | + 'order_custom_fields_data' => apply_filters( | |
| 1499 | + 'rtsb/elements/order_custom_fields_data/options', | |
| 1500 | + [ | |
| 1501 | + 'id' => 'order_custom_fields_data', | |
| 1502 | + 'title' => esc_html__( 'Checkout Form Custom Fields Data', 'shopbuilder' ), | |
| 1503 | + 'category' => 'thank_you', | |
| 1504 | + 'is_front_page' => 'thank_you', | |
| 1505 | + 'active' => 'on', | |
| 1506 | + 'package' => $this->pro_package(), | |
| 1507 | + 'fields' => [], | |
| 1508 | + ] | |
| 1509 | + ), | |
| 943 | 1510 | ]; |
| 944 | 1511 | } |
| 945 | 1512 | |
| 946 | 1513 | /** |
| @@ -948,15 +1515,14 @@ | ||
| 948 | 1515 | * |
| 949 | 1516 | * @return array |
| 950 | 1517 | */ |
| 951 | 1518 | protected function my_account_page_widget_list() { |
| 952 | - return [ | |
| 953 | - | |
| 1519 | + $widgets = [ | |
| 954 | 1520 | 'account_navigation_edit_shipping' => apply_filters( |
| 955 | 1521 | 'rtsb/elements/account_navigation_edit_shipping/options', |
| 956 | 1522 | [ |
| 957 | 1523 | 'id' => 'account_navigation_edit_shipping', |
| 958 | - 'title' => esc_html__( 'Account Navigation', 'shopbuilder-pro' ), | |
| 1524 | + 'title' => esc_html__( 'Account Navigation', 'shopbuilder' ), | |
| 959 | 1525 | 'category' => 'myaccount_dashboard', |
| 960 | 1526 | 'is_front_page' => 'all_myaccount_dashboard_inner', |
| 961 | 1527 | 'active' => 'on', |
| 962 | 1528 | 'package' => $this->pro_package(), |
| @@ -966,11 +1532,11 @@ | ||
| 966 | 1532 | 'account_dashboard' => apply_filters( |
| 967 | 1533 | 'rtsb/elements/account_dashboard/options', |
| 968 | 1534 | [ |
| 969 | 1535 | 'id' => 'account_dashboard', |
| 970 | - 'title' => esc_html__( 'Account Dashboard', 'shopbuilder-pro' ), | |
| 1536 | + 'title' => esc_html__( 'Account Dashboard', 'shopbuilder' ), | |
| 971 | 1537 | 'category' => 'myaccount_dashboard', |
| 972 | - 'is_front_page' => 'myaccount_dashboard', | |
| 1538 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 973 | 1539 | 'active' => 'on', |
| 974 | 1540 | 'package' => $this->pro_package(), |
| 975 | 1541 | 'fields' => [], |
| 976 | 1542 | ] |
| @@ -978,11 +1544,11 @@ | ||
| 978 | 1544 | 'account_orders' => apply_filters( |
| 979 | 1545 | 'rtsb/elements/account_orders/options', |
| 980 | 1546 | [ |
| 981 | 1547 | 'id' => 'account_orders', |
| 982 | - 'title' => esc_html__( 'Account Orders', 'shopbuilder-pro' ), | |
| 1548 | + 'title' => esc_html__( 'Account Orders', 'shopbuilder' ), | |
| 983 | 1549 | 'category' => 'myaccount_dashboard', |
| 984 | - 'is_front_page' => 'myaccount_order', | |
| 1550 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 985 | 1551 | 'active' => 'on', |
| 986 | 1552 | 'package' => $this->pro_package(), |
| 987 | 1553 | 'fields' => [], |
| 988 | 1554 | ] |
| @@ -990,11 +1556,11 @@ | ||
| 990 | 1556 | 'account_downloads' => apply_filters( |
| 991 | 1557 | 'rtsb/elements/account_downloads/options', |
| 992 | 1558 | [ |
| 993 | 1559 | 'id' => 'account_downloads', |
| 994 | - 'title' => esc_html__( 'Account Downloads', 'shopbuilder-pro' ), | |
| 1560 | + 'title' => esc_html__( 'Account Downloads', 'shopbuilder' ), | |
| 995 | 1561 | 'category' => 'myaccount_dashboard', |
| 996 | - 'is_front_page' => 'myaccount_downloads', | |
| 1562 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 997 | 1563 | 'active' => 'on', |
| 998 | 1564 | 'package' => $this->pro_package(), |
| 999 | 1565 | 'fields' => [], |
| 1000 | 1566 | ] |
| @@ -1002,11 +1568,11 @@ | ||
| 1002 | 1568 | 'account_billing_address' => apply_filters( |
| 1003 | 1569 | 'rtsb/elements/account_billing_address/options', |
| 1004 | 1570 | [ |
| 1005 | 1571 | 'id' => 'account_billing_address', |
| 1006 | - 'title' => esc_html__( 'Account Billing Address', 'shopbuilder-pro' ), | |
| 1572 | + 'title' => esc_html__( 'Account Billing Address', 'shopbuilder' ), | |
| 1007 | 1573 | 'category' => 'myaccount_dashboard', |
| 1008 | - 'is_front_page' => 'myaccount_address', | |
| 1574 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1009 | 1575 | 'active' => 'on', |
| 1010 | 1576 | 'package' => $this->pro_package(), |
| 1011 | 1577 | 'fields' => [], |
| 1012 | 1578 | ] |
| @@ -1014,11 +1580,11 @@ | ||
| 1014 | 1580 | 'account_shipping_address' => apply_filters( |
| 1015 | 1581 | 'rtsb/elements/account_shipping_address/options', |
| 1016 | 1582 | [ |
| 1017 | 1583 | 'id' => 'account_shipping_address', |
| 1018 | - 'title' => esc_html__( 'Account Shipping Address', 'shopbuilder-pro' ), | |
| 1584 | + 'title' => esc_html__( 'Account Shipping Address', 'shopbuilder' ), | |
| 1019 | 1585 | 'category' => 'myaccount_dashboard', |
| 1020 | - 'is_front_page' => 'myaccount_address', | |
| 1586 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1021 | 1587 | 'active' => 'on', |
| 1022 | 1588 | 'package' => $this->pro_package(), |
| 1023 | 1589 | 'fields' => [], |
| 1024 | 1590 | ] |
| @@ -1026,11 +1592,11 @@ | ||
| 1026 | 1592 | 'account_address_description' => apply_filters( |
| 1027 | 1593 | 'rtsb/elements/account_address_description/options', |
| 1028 | 1594 | [ |
| 1029 | 1595 | 'id' => 'account_address_description', |
| 1030 | - 'title' => esc_html__( 'Account Address Description', 'shopbuilder-pro' ), | |
| 1596 | + 'title' => esc_html__( 'Account Address Description', 'shopbuilder' ), | |
| 1031 | 1597 | 'category' => 'myaccount_dashboard', |
| 1032 | - 'is_front_page' => 'myaccount_address', | |
| 1598 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1033 | 1599 | 'active' => 'on', |
| 1034 | 1600 | 'package' => $this->pro_package(), |
| 1035 | 1601 | 'fields' => [], |
| 1036 | 1602 | ] |
| @@ -1038,11 +1604,11 @@ | ||
| 1038 | 1604 | 'account_details' => apply_filters( |
| 1039 | 1605 | 'rtsb/elements/account_details/options', |
| 1040 | 1606 | [ |
| 1041 | 1607 | 'id' => 'account_details', |
| 1042 | - 'title' => esc_html__( 'Account Edit / Details', 'shopbuilder-pro' ), | |
| 1608 | + 'title' => esc_html__( 'Account Edit / Details', 'shopbuilder' ), | |
| 1043 | 1609 | 'category' => 'myaccount_dashboard', |
| 1044 | - 'is_front_page' => 'myaccount_edit_details', | |
| 1610 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1045 | 1611 | 'active' => 'on', |
| 1046 | 1612 | 'package' => $this->pro_package(), |
| 1047 | 1613 | 'fields' => [], |
| 1048 | 1614 | ] |
| @@ -1050,11 +1616,11 @@ | ||
| 1050 | 1616 | 'account_order_status' => apply_filters( |
| 1051 | 1617 | 'rtsb/elements/account_order_status/options', |
| 1052 | 1618 | [ |
| 1053 | 1619 | 'id' => 'account_order_status', |
| 1054 | - 'title' => esc_html__( 'Account Order Status', 'shopbuilder-pro' ), | |
| 1620 | + 'title' => esc_html__( 'Account Order Status', 'shopbuilder' ), | |
| 1055 | 1621 | 'category' => 'myaccount_dashboard', |
| 1056 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1622 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1057 | 1623 | 'active' => 'on', |
| 1058 | 1624 | 'package' => $this->pro_package(), |
| 1059 | 1625 | 'fields' => [], |
| 1060 | 1626 | ] |
| @@ -1062,11 +1628,11 @@ | ||
| 1062 | 1628 | 'account_order_details_download' => apply_filters( |
| 1063 | 1629 | 'rtsb/elements/account_order_details_download/options', |
| 1064 | 1630 | [ |
| 1065 | 1631 | 'id' => 'account_order_details_download', |
| 1066 | - 'title' => esc_html__( 'Account Order Download', 'shopbuilder-pro' ), | |
| 1632 | + 'title' => esc_html__( 'Account Order Download', 'shopbuilder' ), | |
| 1067 | 1633 | 'category' => 'myaccount_dashboard', |
| 1068 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1634 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1069 | 1635 | 'active' => 'on', |
| 1070 | 1636 | 'package' => $this->pro_package(), |
| 1071 | 1637 | 'fields' => [], |
| 1072 | 1638 | ] |
| @@ -1074,11 +1640,11 @@ | ||
| 1074 | 1640 | 'account_order_details_note' => apply_filters( |
| 1075 | 1641 | 'rtsb/elements/account_order_details_note/options', |
| 1076 | 1642 | [ |
| 1077 | 1643 | 'id' => 'account_order_details_note', |
| 1078 | - 'title' => esc_html__( 'Account Order Note', 'shopbuilder-pro' ), | |
| 1644 | + 'title' => esc_html__( 'Account Order Note', 'shopbuilder' ), | |
| 1079 | 1645 | 'category' => 'myaccount_dashboard', |
| 1080 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1646 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1081 | 1647 | 'active' => 'on', |
| 1082 | 1648 | 'package' => $this->pro_package(), |
| 1083 | 1649 | 'fields' => [], |
| 1084 | 1650 | ] |
| @@ -1086,11 +1652,11 @@ | ||
| 1086 | 1652 | 'account_order_details_table' => apply_filters( |
| 1087 | 1653 | 'rtsb/elements/account_order_details_table/options', |
| 1088 | 1654 | [ |
| 1089 | 1655 | 'id' => 'account_order_details_table', |
| 1090 | - 'title' => esc_html__( 'Account Order Table', 'shopbuilder-pro' ), | |
| 1656 | + 'title' => esc_html__( 'Account Order Table', 'shopbuilder' ), | |
| 1091 | 1657 | 'category' => 'myaccount_dashboard', |
| 1092 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1658 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1093 | 1659 | 'active' => 'on', |
| 1094 | 1660 | 'package' => $this->pro_package(), |
| 1095 | 1661 | 'fields' => [], |
| 1096 | 1662 | ] |
| @@ -1098,11 +1664,11 @@ | ||
| 1098 | 1664 | 'account_order_details_order_again' => apply_filters( |
| 1099 | 1665 | 'rtsb/elements/account_order_details_order_again/options', |
| 1100 | 1666 | [ |
| 1101 | 1667 | 'id' => 'account_order_details_order_again', |
| 1102 | - 'title' => esc_html__( 'Account Order Again Button', 'shopbuilder-pro' ), | |
| 1668 | + 'title' => esc_html__( 'Account Order Again Button', 'shopbuilder' ), | |
| 1103 | 1669 | 'category' => 'myaccount_dashboard', |
| 1104 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1670 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1105 | 1671 | 'active' => 'on', |
| 1106 | 1672 | 'package' => $this->pro_package(), |
| 1107 | 1673 | 'fields' => [], |
| 1108 | 1674 | ] |
| @@ -1110,11 +1676,11 @@ | ||
| 1110 | 1676 | 'account_order_details_order_shipping' => apply_filters( |
| 1111 | 1677 | 'rtsb/elements/account_order_details_order_shipping/options', |
| 1112 | 1678 | [ |
| 1113 | 1679 | 'id' => 'account_order_details_order_shipping', |
| 1114 | - 'title' => esc_html__( 'Account Order Shipping', 'shopbuilder-pro' ), | |
| 1680 | + 'title' => esc_html__( 'Account Order Shipping', 'shopbuilder' ), | |
| 1115 | 1681 | 'category' => 'myaccount_dashboard', |
| 1116 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1682 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1117 | 1683 | 'active' => 'on', |
| 1118 | 1684 | 'package' => $this->pro_package(), |
| 1119 | 1685 | 'fields' => [], |
| 1120 | 1686 | ] |
| @@ -1122,11 +1688,11 @@ | ||
| 1122 | 1688 | 'account_order_details_order_billing' => apply_filters( |
| 1123 | 1689 | 'rtsb/elements/account_order_details_order_billing/options', |
| 1124 | 1690 | [ |
| 1125 | 1691 | 'id' => 'account_order_details_order_billing', |
| 1126 | - 'title' => esc_html__( 'Account Order Billing', 'shopbuilder-pro' ), | |
| 1692 | + 'title' => esc_html__( 'Account Order Billing', 'shopbuilder' ), | |
| 1127 | 1693 | 'category' => 'myaccount_dashboard', |
| 1128 | - 'is_front_page' => 'myaccount_orders_details', | |
| 1694 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1129 | 1695 | 'active' => 'on', |
| 1130 | 1696 | 'package' => $this->pro_package(), |
| 1131 | 1697 | 'fields' => [], |
| 1132 | 1698 | ] |
| @@ -1134,11 +1700,11 @@ | ||
| 1134 | 1700 | 'account_edit_billing_address' => apply_filters( |
| 1135 | 1701 | 'rtsb/elements/account_edit_billing_address/options', |
| 1136 | 1702 | [ |
| 1137 | 1703 | 'id' => 'account_edit_billing_address', |
| 1138 | - 'title' => esc_html__( 'Edit Billing Address', 'shopbuilder-pro' ), | |
| 1704 | + 'title' => esc_html__( 'Edit Billing Address', 'shopbuilder' ), | |
| 1139 | 1705 | 'category' => 'myaccount_dashboard', |
| 1140 | - 'is_front_page' => 'myaccount_edit_billing_address', | |
| 1706 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1141 | 1707 | 'active' => 'on', |
| 1142 | 1708 | 'package' => $this->pro_package(), |
| 1143 | 1709 | 'fields' => [], |
| 1144 | 1710 | ] |
| @@ -1146,11 +1712,11 @@ | ||
| 1146 | 1712 | 'account_edit_shipping_address' => apply_filters( |
| 1147 | 1713 | 'rtsb/elements/account_edit_shipping_address/options', |
| 1148 | 1714 | [ |
| 1149 | 1715 | 'id' => 'account_edit_shipping_address', |
| 1150 | - 'title' => esc_html__( 'Edit Shipping Address', 'shopbuilder-pro' ), | |
| 1716 | + 'title' => esc_html__( 'Edit Shipping Address', 'shopbuilder' ), | |
| 1151 | 1717 | 'category' => 'myaccount_dashboard', |
| 1152 | - 'is_front_page' => 'myaccount_edit_shipping_address', | |
| 1718 | + 'is_front_page' => 'all_myaccount_dashboard_inner', | |
| 1153 | 1719 | 'active' => 'on', |
| 1154 | 1720 | 'package' => $this->pro_package(), |
| 1155 | 1721 | 'fields' => [], |
| 1156 | 1722 | ] |
| @@ -1155,8 +1721,10 @@ | ||
| 1155 | 1721 | 'fields' => [], |
| 1156 | 1722 | ] |
| 1157 | 1723 | ), |
| 1158 | 1724 | ]; |
| 1725 | + | |
| 1726 | + return apply_filters( 'rtsb/core/elements/my_account/widget_list', $widgets ); | |
| 1159 | 1727 | } |
| 1160 | 1728 | |
| 1161 | 1729 | /*** |
| 1162 | 1730 | * @return array |
| @@ -1162,13 +1730,13 @@ | ||
| 1162 | 1730 | * @return array |
| 1163 | 1731 | */ |
| 1164 | 1732 | protected function myaccount_auth_page_widget_list() { |
| 1165 | 1733 | return [ |
| 1166 | - 'account_login' => apply_filters( | |
| 1734 | + 'account_login' => apply_filters( | |
| 1167 | 1735 | 'rtsb/elements/account_login/options', |
| 1168 | 1736 | [ |
| 1169 | 1737 | 'id' => 'account_login', |
| 1170 | - 'title' => esc_html__( 'Login Register Form', 'shopbuilder-pro' ), | |
| 1738 | + 'title' => esc_html__( 'Login Register Form', 'shopbuilder' ), | |
| 1171 | 1739 | 'category' => 'others_widget', |
| 1172 | 1740 | 'is_front_page' => 'myaccount_auth', |
| 1173 | 1741 | 'active' => 'on', |
| 1174 | 1742 | 'package' => $this->pro_package(), |
| @@ -1174,15 +1742,39 @@ | ||
| 1174 | 1742 | 'package' => $this->pro_package(), |
| 1175 | 1743 | 'fields' => [], |
| 1176 | 1744 | ] |
| 1177 | 1745 | ), |
| 1178 | - 'account_lost_password' => apply_filters( | |
| 1746 | + 'account_login_form' => apply_filters( | |
| 1747 | + 'rtsb/elements/account_login_form/options', | |
| 1748 | + [ | |
| 1749 | + 'id' => 'account_login_form', | |
| 1750 | + 'title' => esc_html__( 'Login Form', 'shopbuilder' ), | |
| 1751 | + 'category' => 'others_widget', | |
| 1752 | + 'is_front_page' => 'myaccount_auth', | |
| 1753 | + 'active' => 'on', | |
| 1754 | + 'package' => $this->pro_package(), | |
| 1755 | + 'fields' => [], | |
| 1756 | + ] | |
| 1757 | + ), | |
| 1758 | + 'account_registration_form' => apply_filters( | |
| 1759 | + 'rtsb/elements/account_registration_form/options', | |
| 1760 | + [ | |
| 1761 | + 'id' => 'account_registration_form', | |
| 1762 | + 'title' => esc_html__( 'Registration Form', 'shopbuilder' ), | |
| 1763 | + 'category' => 'others_widget', | |
| 1764 | + 'is_front_page' => 'myaccount_auth', | |
| 1765 | + 'active' => 'on', | |
| 1766 | + 'package' => $this->pro_package(), | |
| 1767 | + 'fields' => [], | |
| 1768 | + ] | |
| 1769 | + ), | |
| 1770 | + 'account_lost_password' => apply_filters( | |
| 1179 | 1771 | 'rtsb/elements/account_lost_password/options', |
| 1180 | 1772 | [ |
| 1181 | 1773 | 'id' => 'account_lost_password', |
| 1182 | - 'title' => esc_html__( 'Lost Password Form', 'shopbuilder-pro' ), | |
| 1774 | + 'title' => esc_html__( 'Lost Password Form', 'shopbuilder' ), | |
| 1183 | 1775 | 'category' => 'others_widget', |
| 1184 | - 'is_front_page' => 'myaccount_lost_password', | |
| 1776 | + 'is_front_page' => 'myaccount_auth', | |
| 1185 | 1777 | 'active' => 'on', |
| 1186 | 1778 | 'package' => $this->pro_package(), |
| 1187 | 1779 | 'fields' => [], |
| 1188 | 1780 | ] |