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