| 1 |
<?php |
| 2 |
|
| 3 |
namespace RadiusTheme\SB\Models; |
| 4 |
|
| 5 |
// Do not allow directly accessing this file. |
| 6 |
if ( ! defined( 'ABSPATH' ) ) { |
| 7 |
exit( 'This script cannot be accessed directly.' ); |
| 8 |
} |
| 9 |
|
| 10 |
use RadiusTheme\SB\Elementor\Widgets\Archive; |
| 11 |
use RadiusTheme\SB\Elementor\Widgets\Cart; |
| 12 |
use RadiusTheme\SB\Elementor\Widgets\Checkout; |
| 13 |
use RadiusTheme\SB\Elementor\Widgets\General; |
| 14 |
use RadiusTheme\SB\Elementor\Widgets\Single; |
| 15 |
use RadiusTheme\SB\Models\Base\ListModel; |
| 16 |
use RadiusTheme\SB\Traits\SingletonTrait; |
| 17 |
|
| 18 |
/** |
| 19 |
* Elementor Element List |
| 20 |
*/ |
| 21 |
class ElementList extends ListModel { |
| 22 |
/** |
| 23 |
* Singleton |
| 24 |
*/ |
| 25 |
use SingletonTrait; |
| 26 |
|
| 27 |
/** |
| 28 |
* List id |
| 29 |
* |
| 30 |
* @var string |
| 31 |
*/ |
| 32 |
protected $list_id = 'elements'; |
| 33 |
|
| 34 |
/** |
| 35 |
* Elementor Elements |
| 36 |
*/ |
| 37 |
public function __construct() { |
| 38 |
parent::__construct(); |
| 39 |
$this->title = esc_html__( 'Elementor Widgets', 'shopbuilder' ); |
| 40 |
$this->short_title = esc_html__( 'Elements', 'shopbuilder' ); |
| 41 |
$this->description = esc_html__( 'Here you can find the list of all Elementor widgets. You can individually enable or disable the elements. Or you can do that by one click.', 'shopbuilder' ); |
| 42 |
$this->categories = apply_filters( |
| 43 |
'rtsb/elements/list/categories', |
| 44 |
[ |
| 45 |
'general' => [ |
| 46 |
'title' => esc_html__( 'General', 'shopbuilder' ), |
| 47 |
], |
| 48 |
'shop' => [ |
| 49 |
'title' => esc_html__( 'Shop / Archive', 'shopbuilder' ), |
| 50 |
], |
| 51 |
'product' => [ |
| 52 |
'title' => esc_html__( 'Single', 'shopbuilder' ), |
| 53 |
], |
| 54 |
'cart' => [ |
| 55 |
'title' => esc_html__( 'Cart', 'shopbuilder' ), |
| 56 |
], |
| 57 |
'checkout' => [ |
| 58 |
'title' => esc_html__( 'Checkout', 'shopbuilder' ), |
| 59 |
], |
| 60 |
'thank_you' => [ |
| 61 |
'title' => esc_html__( 'Order Received', 'shopbuilder-pro' ), |
| 62 |
], |
| 63 |
'myaccount_dashboard' => [ |
| 64 |
'title' => esc_html__( 'My Account', 'shopbuilder-pro' ), |
| 65 |
], |
| 66 |
'others_widget' => [ |
| 67 |
'title' => esc_html__( 'Others', 'shopbuilder-pro' ), |
| 68 |
], |
| 69 |
] |
| 70 |
); |
| 71 |
} |
| 72 |
|
| 73 |
|
| 74 |
/** |
| 75 |
* Widget List. |
| 76 |
* |
| 77 |
* @return array |
| 78 |
*/ |
| 79 |
protected function raw_list() { |
| 80 |
$list = $this->product_page_widget_list() |
| 81 |
+ $this->general_widget_list() |
| 82 |
+ $this->shop_archive_page_widget_list() |
| 83 |
+ $this->cart_page_widget_list() |
| 84 |
+ $this->checkout_page_widget_list() |
| 85 |
+ $this->thankyou_page_widget_list() |
| 86 |
+ $this->my_account_page_widget_list() |
| 87 |
+ $this->myaccount_auth_page_widget_list(); |
| 88 |
|
| 89 |
return apply_filters( 'rtsb/core/elements/raw_list', $list ); |
| 90 |
} |
| 91 |
|
| 92 |
/** |
| 93 |
* GLobal Widget List. |
| 94 |
* |
| 95 |
* @return array |
| 96 |
*/ |
| 97 |
protected function general_widget_list() { |
| 98 |
$list = [ |
| 99 |
'products_grid' => apply_filters( |
| 100 |
'rtsb/elements/products_grid/options', |
| 101 |
[ |
| 102 |
'id' => 'products_grid', |
| 103 |
'title' => esc_html__( 'Products - Grid Layouts', 'shopbuilder' ), |
| 104 |
'base_class' => General\ProductsGrid::class, |
| 105 |
'category' => 'general', |
| 106 |
'active' => 'on', |
| 107 |
'package' => 'free', |
| 108 |
'fields' => [], |
| 109 |
] |
| 110 |
), |
| 111 |
'products_list' => apply_filters( |
| 112 |
'rtsb/elements/products_list/options', |
| 113 |
[ |
| 114 |
'id' => 'products_list', |
| 115 |
'title' => esc_html__( 'Products - List Layouts', 'shopbuilder' ), |
| 116 |
'base_class' => General\ProductsList::class, |
| 117 |
'category' => 'general', |
| 118 |
'active' => 'on', |
| 119 |
'package' => 'free', |
| 120 |
'fields' => [], |
| 121 |
] |
| 122 |
), |
| 123 |
|
| 124 |
'products_slider' => apply_filters( |
| 125 |
'rtsb/elements/products_slider/options', |
| 126 |
[ |
| 127 |
'id' => 'products_slider', |
| 128 |
'title' => esc_html__( 'Products - Slider Layouts', 'shopbuilder' ), |
| 129 |
'base_class' => General\ProductsSlider::class, |
| 130 |
'category' => 'general', |
| 131 |
'active' => 'on', |
| 132 |
'package' => 'free', |
| 133 |
'fields' => [], |
| 134 |
] |
| 135 |
), |
| 136 |
|
| 137 |
'products_single_cateogory' => apply_filters( |
| 138 |
'rtsb/elements/products_single_cateogory/options', |
| 139 |
[ |
| 140 |
'id' => 'products_single_cateogory', |
| 141 |
'title' => esc_html__( 'Single Category', 'shopbuilder' ), |
| 142 |
'base_class' => General\ProductsSingleCategory::class, |
| 143 |
'category' => 'general', |
| 144 |
'active' => 'on', |
| 145 |
'package' => 'free', |
| 146 |
'fields' => [], |
| 147 |
] |
| 148 |
), |
| 149 |
'product_cateogories' => apply_filters( |
| 150 |
'rtsb/elements/product_cateogories/options', |
| 151 |
[ |
| 152 |
'id' => 'product_cateogories', |
| 153 |
'title' => esc_html__( 'Product Categories', 'shopbuilder' ), |
| 154 |
'base_class' => General\ProductCategories::class, |
| 155 |
'category' => 'general', |
| 156 |
'active' => 'on', |
| 157 |
'package' => 'free', |
| 158 |
'fields' => [], |
| 159 |
] |
| 160 |
), |
| 161 |
'social_share' => apply_filters( |
| 162 |
'rtsb/elements/social_share/options', |
| 163 |
[ |
| 164 |
'id' => 'social_share', |
| 165 |
'title' => esc_html__( 'Social Share', 'shopbuilder' ), |
| 166 |
'base_class' => General\SocialShare::class, |
| 167 |
'category' => 'general', |
| 168 |
'active' => 'on', |
| 169 |
'package' => 'free', |
| 170 |
'fields' => [], |
| 171 |
] |
| 172 |
), |
| 173 |
'wc_breadcrumbs' => apply_filters( |
| 174 |
'rtsb/elements/wc_breadcrumbs/options', |
| 175 |
[ |
| 176 |
'id' => 'wc_breadcrumbs', |
| 177 |
'title' => esc_html__( 'Breadcrumbs', 'shopbuilder' ), |
| 178 |
'base_class' => General\ProductBreadcrumbs::class, |
| 179 |
'category' => 'general', |
| 180 |
'active' => 'on', |
| 181 |
'package' => 'free', |
| 182 |
'fields' => [], |
| 183 |
] |
| 184 |
), |
| 185 |
'product_notice' => apply_filters( |
| 186 |
'rtsb/elements/product_notice/options', |
| 187 |
[ |
| 188 |
'id' => 'product_notice', |
| 189 |
'title' => esc_html__( 'Notice', 'shopbuilder' ), |
| 190 |
'base_class' => General\Notice::class, |
| 191 |
'category' => 'general', |
| 192 |
'active' => 'on', |
| 193 |
'package' => 'free', |
| 194 |
'fields' => [], |
| 195 |
] |
| 196 |
), |
| 197 |
'rtsb_wishlist' => apply_filters( |
| 198 |
'rtsb/elements/rtsb_wishlist/options', |
| 199 |
[ |
| 200 |
'id' => 'rtsb_wishlist', |
| 201 |
'title' => esc_html__( 'Wishlist Table', 'shopbuilder' ), |
| 202 |
'base_class' => General\Wishlist::class, |
| 203 |
'category' => 'general', |
| 204 |
'active' => 'on', |
| 205 |
'package' => 'free', |
| 206 |
'fields' => [], |
| 207 |
] |
| 208 |
), |
| 209 |
]; |
| 210 |
|
| 211 |
return apply_filters( 'rtsb/core/elements/general/widget_list', $list ); |
| 212 |
} |
| 213 |
|
| 214 |
/** |
| 215 |
* Product Single Widget List. |
| 216 |
* |
| 217 |
* @return array |
| 218 |
*/ |
| 219 |
protected function product_page_widget_list() { |
| 220 |
|
| 221 |
$list = [ |
| 222 |
'product_title' => apply_filters( |
| 223 |
'rtsb/elements/product_title/options', |
| 224 |
[ |
| 225 |
'id' => 'product_title', |
| 226 |
'title' => esc_html__( 'Product Title', 'shopbuilder' ), |
| 227 |
'base_class' => Single\ProductTitle::class, |
| 228 |
'category' => 'product', |
| 229 |
'active' => 'on', |
| 230 |
'package' => 'free', |
| 231 |
'fields' => [], |
| 232 |
] |
| 233 |
), |
| 234 |
'product_description' => apply_filters( |
| 235 |
'rtsb/elements/product_description/options', |
| 236 |
[ |
| 237 |
'id' => 'product_description', |
| 238 |
'title' => esc_html__( 'Product Description', 'shopbuilder' ), |
| 239 |
'base_class' => Single\ProductDescription::class, |
| 240 |
'category' => 'product', |
| 241 |
'active' => 'on', |
| 242 |
'package' => 'free', |
| 243 |
'fields' => [], |
| 244 |
] |
| 245 |
), |
| 246 |
'product_short_description' => apply_filters( |
| 247 |
'rtsb/elements/product_short_description/options', |
| 248 |
[ |
| 249 |
'id' => 'product_short_description', |
| 250 |
'title' => esc_html__( 'Short Description', 'shopbuilder' ), |
| 251 |
'base_class' => Single\ShortDescription::class, |
| 252 |
'category' => 'product', |
| 253 |
'active' => 'on', |
| 254 |
'package' => 'free', |
| 255 |
'fields' => [], |
| 256 |
] |
| 257 |
), |
| 258 |
'product_images' => apply_filters( |
| 259 |
'rtsb/elements/product_images/options', |
| 260 |
[ |
| 261 |
'id' => 'product_images', |
| 262 |
'title' => esc_html__( 'Product Images', 'shopbuilder' ), |
| 263 |
'base_class' => Single\ProductImages::class, |
| 264 |
'category' => 'product', |
| 265 |
'active' => 'on', |
| 266 |
'package' => 'free', |
| 267 |
'fields' => [], |
| 268 |
] |
| 269 |
), |
| 270 |
'product_onsale' => apply_filters( |
| 271 |
'rtsb/elements/product_onsale/options', |
| 272 |
[ |
| 273 |
'id' => 'product_onsale', |
| 274 |
'title' => esc_html__( 'Sale Flash - Onsale', 'shopbuilder' ), |
| 275 |
'base_class' => Single\ProductOnSale::class, |
| 276 |
'category' => 'product', |
| 277 |
'active' => 'on', |
| 278 |
'package' => 'free', |
| 279 |
'fields' => [], |
| 280 |
] |
| 281 |
), |
| 282 |
'product_additional_info' => apply_filters( |
| 283 |
'rtsb/elements/product_additional_info/options', |
| 284 |
[ |
| 285 |
'id' => 'product_additional_info', |
| 286 |
'title' => esc_html__( 'Additional Information', 'shopbuilder' ), |
| 287 |
'base_class' => Single\AdditionalInformation::class, |
| 288 |
'category' => 'product', |
| 289 |
'active' => 'on', |
| 290 |
'package' => 'free', |
| 291 |
'fields' => [], |
| 292 |
] |
| 293 |
), |
| 294 |
'product_price' => apply_filters( |
| 295 |
'rtsb/elements/product_price/options', |
| 296 |
[ |
| 297 |
'id' => 'product_price', |
| 298 |
'title' => esc_html__( 'Product Price', 'shopbuilder' ), |
| 299 |
'base_class' => Single\ProductPrice::class, |
| 300 |
'category' => 'product', |
| 301 |
'active' => 'on', |
| 302 |
'package' => 'free', |
| 303 |
'fields' => [], |
| 304 |
] |
| 305 |
), |
| 306 |
'product_meta' => apply_filters( |
| 307 |
'rtsb/elements/product_meta/options', |
| 308 |
[ |
| 309 |
'id' => 'product_meta', |
| 310 |
'title' => esc_html__( 'Product Meta', 'shopbuilder' ), |
| 311 |
'base_class' => Single\ProductMeta::class, |
| 312 |
'category' => 'product', |
| 313 |
'active' => 'on', |
| 314 |
'package' => 'free', |
| 315 |
'fields' => [], |
| 316 |
] |
| 317 |
), |
| 318 |
'product_categories' => apply_filters( |
| 319 |
'rtsb/elements/product_categories/options', |
| 320 |
[ |
| 321 |
'id' => 'product_categories', |
| 322 |
'title' => esc_html__( 'Product Categories', 'shopbuilder' ), |
| 323 |
'base_class' => Single\ProductCats::class, |
| 324 |
'category' => 'product', |
| 325 |
'active' => 'on', |
| 326 |
'package' => 'free', |
| 327 |
'fields' => [], |
| 328 |
] |
| 329 |
), |
| 330 |
'product_rating' => apply_filters( |
| 331 |
'rtsb/elements/product_rating/options', |
| 332 |
[ |
| 333 |
'id' => 'product_rating', |
| 334 |
'title' => esc_html__( 'Product Rating', 'shopbuilder' ), |
| 335 |
'base_class' => Single\ProductRating::class, |
| 336 |
'category' => 'product', |
| 337 |
'active' => 'on', |
| 338 |
'package' => 'free', |
| 339 |
'fields' => [], |
| 340 |
] |
| 341 |
), |
| 342 |
'product_tags' => apply_filters( |
| 343 |
'rtsb/elements/product_tags/options', |
| 344 |
[ |
| 345 |
'id' => 'product_tags', |
| 346 |
'title' => esc_html__( 'Product Tags', 'shopbuilder' ), |
| 347 |
'base_class' => Single\ProductTags::class, |
| 348 |
'category' => 'product', |
| 349 |
'active' => 'on', |
| 350 |
'package' => 'free', |
| 351 |
'fields' => [], |
| 352 |
] |
| 353 |
), |
| 354 |
'product_sku' => apply_filters( |
| 355 |
'rtsb/elements/product_sku/options', |
| 356 |
[ |
| 357 |
'id' => 'product_sku', |
| 358 |
'title' => esc_html__( 'Product SKU', 'shopbuilder' ), |
| 359 |
'base_class' => Single\ProductSKU::class, |
| 360 |
'category' => 'product', |
| 361 |
'active' => 'on', |
| 362 |
'package' => 'free', |
| 363 |
'fields' => [], |
| 364 |
] |
| 365 |
), |
| 366 |
'product_stock' => apply_filters( |
| 367 |
'rtsb/elements/product_stock/options', |
| 368 |
[ |
| 369 |
'id' => 'product_stock', |
| 370 |
'title' => esc_html__( 'Product Stock', 'shopbuilder' ), |
| 371 |
'base_class' => Single\ProductStock::class, |
| 372 |
'category' => 'product', |
| 373 |
'active' => 'on', |
| 374 |
'package' => 'free', |
| 375 |
'fields' => [], |
| 376 |
] |
| 377 |
), |
| 378 |
'actions_button' => apply_filters( |
| 379 |
'rtsb/elements/actions_button/options', |
| 380 |
[ |
| 381 |
'id' => 'actions_button', |
| 382 |
'title' => esc_html__( 'Action Buttons', 'shopbuilder' ), |
| 383 |
'base_class' => Single\ActionsButton::class, |
| 384 |
'category' => 'product', |
| 385 |
'active' => 'on', |
| 386 |
'package' => 'free', |
| 387 |
'fields' => [], |
| 388 |
] |
| 389 |
), |
| 390 |
'product_add_to_cart' => apply_filters( |
| 391 |
'rtsb/elements/product_add_to_cart/options', |
| 392 |
[ |
| 393 |
'id' => 'product_add_to_cart', |
| 394 |
'title' => esc_html__( 'Add to Cart', 'shopbuilder' ), |
| 395 |
'base_class' => Single\ProductAddToCart::class, |
| 396 |
'category' => 'product', |
| 397 |
'active' => 'on', |
| 398 |
'package' => 'free', |
| 399 |
'fields' => [], |
| 400 |
] |
| 401 |
), |
| 402 |
'product_share' => apply_filters( |
| 403 |
'rtsb/elements/product_share/options', |
| 404 |
[ |
| 405 |
'id' => 'product_share', |
| 406 |
'title' => esc_html__( 'Product Share', 'shopbuilder' ), |
| 407 |
'base_class' => Single\ProductShare::class, |
| 408 |
'category' => 'product', |
| 409 |
'active' => 'on', |
| 410 |
'package' => 'free', |
| 411 |
'fields' => [], |
| 412 |
] |
| 413 |
), |
| 414 |
'product_sales_count' => apply_filters( |
| 415 |
'rtsb/elements/product_sales_count/options', |
| 416 |
[ |
| 417 |
'id' => 'product_sales_count', |
| 418 |
'title' => esc_html__( 'Sales Count', 'shopbuilder-pro' ), |
| 419 |
'category' => 'product', |
| 420 |
'active' => '', |
| 421 |
'package' => $this->pro_package(), |
| 422 |
'fields' => [], |
| 423 |
] |
| 424 |
), |
| 425 |
'flash_sale_countdown' => apply_filters( |
| 426 |
'rtsb/elements/flash_sale_countdown/options', |
| 427 |
[ |
| 428 |
'id' => 'flash_sale_countdown', |
| 429 |
'title' => esc_html__( 'Flash Sale Countdown', 'shopbuilder-pro' ), |
| 430 |
'category' => 'product', |
| 431 |
'active' => '', |
| 432 |
'package' => $this->pro_package(), |
| 433 |
'fields' => [], |
| 434 |
] |
| 435 |
), |
| 436 |
'product_size_chart' => apply_filters( |
| 437 |
'rtsb/elements/product_size_chart/options', |
| 438 |
[ |
| 439 |
'id' => 'product_size_chart', |
| 440 |
'title' => esc_html__( 'Size Chart', 'shopbuilder-pro' ), |
| 441 |
'category' => 'product', |
| 442 |
'active' => '', |
| 443 |
'package' => $this->pro_package(), |
| 444 |
'fields' => [], |
| 445 |
] |
| 446 |
), |
| 447 |
'product_quick_checkout' => apply_filters( |
| 448 |
'rtsb/elements/product_quick_checkout/options', |
| 449 |
[ |
| 450 |
'id' => 'product_quick_checkout', |
| 451 |
'title' => esc_html__( 'Quick Checkout', 'shopbuilder-pro' ), |
| 452 |
'category' => 'product', |
| 453 |
'active' => '', |
| 454 |
'package' => $this->pro_package(), |
| 455 |
'fields' => [], |
| 456 |
] |
| 457 |
), |
| 458 |
'product_tabs' => apply_filters( |
| 459 |
'rtsb/elements/product_tabs/options', |
| 460 |
[ |
| 461 |
'id' => 'product_tabs', |
| 462 |
'title' => esc_html__( 'Product Tabs', 'shopbuilder' ), |
| 463 |
'base_class' => Single\ProductTabs::class, |
| 464 |
'category' => 'product', |
| 465 |
'active' => 'on', |
| 466 |
'package' => 'free', |
| 467 |
'fields' => [], |
| 468 |
] |
| 469 |
), |
| 470 |
'product_reviews' => apply_filters( |
| 471 |
'rtsb/elements/product_reviews/options', |
| 472 |
[ |
| 473 |
'id' => 'product_reviews', |
| 474 |
'title' => esc_html__( 'Product Reviews', 'shopbuilder' ), |
| 475 |
'base_class' => Single\ProductReviews::class, |
| 476 |
'category' => 'product', |
| 477 |
'active' => 'on', |
| 478 |
'package' => 'free', |
| 479 |
'fields' => [], |
| 480 |
] |
| 481 |
), |
| 482 |
'upsells_product' => apply_filters( |
| 483 |
'rtsb/elements/upsells_product/options', |
| 484 |
[ |
| 485 |
'id' => 'upsells_product', |
| 486 |
'title' => esc_html__( 'Upsell - Default Layout', 'shopbuilder' ), |
| 487 |
'base_class' => Single\UpsellsProduct::class, |
| 488 |
'category' => 'product', |
| 489 |
'active' => 'on', |
| 490 |
'package' => 'free', |
| 491 |
'fields' => [], |
| 492 |
] |
| 493 |
), |
| 494 |
'upsells_product_custom' => apply_filters( |
| 495 |
'rtsb/elements/upsells_product_custom/options', |
| 496 |
[ |
| 497 |
'id' => 'upsells_product_custom', |
| 498 |
'title' => esc_html__( 'Upsell - Custom Layouts', 'shopbuilder' ), |
| 499 |
'base_class' => Single\UpsellsProductsCustom::class, |
| 500 |
'category' => 'product', |
| 501 |
'active' => 'on', |
| 502 |
'package' => 'free', |
| 503 |
'fields' => [], |
| 504 |
] |
| 505 |
), |
| 506 |
'upsells_products_slider_custom' => apply_filters( |
| 507 |
'rtsb/elements/upsells_products_slider_custom/options', |
| 508 |
[ |
| 509 |
'id' => 'upsells_products_slider_custom', |
| 510 |
'title' => esc_html__( 'Upsell - Slider Layouts', 'shopbuilder' ), |
| 511 |
'base_class' => Single\UpsellsProductsSlider::class, |
| 512 |
'category' => 'product', |
| 513 |
'active' => 'on', |
| 514 |
'package' => 'free', |
| 515 |
'fields' => [], |
| 516 |
] |
| 517 |
), |
| 518 |
'related_product' => apply_filters( |
| 519 |
'rtsb/elements/related_product/options', |
| 520 |
[ |
| 521 |
'id' => 'related_product', |
| 522 |
'title' => esc_html__( 'Related - Default Layout', 'shopbuilder' ), |
| 523 |
'base_class' => Single\RelatedProduct::class, |
| 524 |
'category' => 'product', |
| 525 |
'active' => 'on', |
| 526 |
'package' => 'free', |
| 527 |
'fields' => [], |
| 528 |
] |
| 529 |
), |
| 530 |
'related_product_custom' => apply_filters( |
| 531 |
'rtsb/elements/related_product_custom/options', |
| 532 |
[ |
| 533 |
'id' => 'related_product_custom', |
| 534 |
'title' => esc_html__( 'Related - Custom Layouts', 'shopbuilder' ), |
| 535 |
'base_class' => Single\RelatedProductsCustom::class, |
| 536 |
'category' => 'product', |
| 537 |
'active' => 'on', |
| 538 |
'package' => 'free', |
| 539 |
'fields' => [], |
| 540 |
] |
| 541 |
), |
| 542 |
'related_products_slider_custom' => apply_filters( |
| 543 |
'rtsb/elements/related_products_slider_custom/options', |
| 544 |
[ |
| 545 |
'id' => 'related_products_slider_custom', |
| 546 |
'title' => esc_html__( 'Related - Slider Layouts', 'shopbuilder' ), |
| 547 |
'base_class' => Single\RelatedProductsSlider::class, |
| 548 |
'category' => 'product', |
| 549 |
'active' => 'on', |
| 550 |
'package' => 'free', |
| 551 |
'fields' => [], |
| 552 |
] |
| 553 |
), |
| 554 |
]; |
| 555 |
|
| 556 |
return apply_filters( 'rtsb/core/elements/product_page/widget_list', $list ); |
| 557 |
} |
| 558 |
|
| 559 |
/** |
| 560 |
* Product Archive Widget List. |
| 561 |
* |
| 562 |
* @return array |
| 563 |
*/ |
| 564 |
protected function shop_archive_page_widget_list() { |
| 565 |
$list = [ |
| 566 |
'archive_title' => apply_filters( |
| 567 |
'rtsb/elements/archive_title/options', |
| 568 |
[ |
| 569 |
'id' => 'archive_title', |
| 570 |
'title' => esc_html__( 'Archive Title', 'shopbuilder' ), |
| 571 |
'base_class' => Archive\ArchiveTitle::class, |
| 572 |
'category' => 'shop', |
| 573 |
'active' => 'on', |
| 574 |
'package' => 'free', |
| 575 |
'fields' => [], |
| 576 |
] |
| 577 |
), |
| 578 |
|
| 579 |
'archive_description' => apply_filters( |
| 580 |
'rtsb/elements/archive_description/options', |
| 581 |
[ |
| 582 |
'id' => 'archive_description', |
| 583 |
'title' => esc_html__( 'Archive Description', 'shopbuilder' ), |
| 584 |
'base_class' => Archive\ArchiveDescription::class, |
| 585 |
'category' => 'shop', |
| 586 |
'active' => 'on', |
| 587 |
'package' => 'free', |
| 588 |
'fields' => [], |
| 589 |
] |
| 590 |
), |
| 591 |
|
| 592 |
'products_archive_catalog' => apply_filters( |
| 593 |
'rtsb/elements/products_archive_catalog/options', |
| 594 |
[ |
| 595 |
'id' => 'products_archive_catalog', |
| 596 |
'title' => esc_html__( 'Products - Default Layout', 'shopbuilder' ), |
| 597 |
'base_class' => Archive\ProductsArchive::class, |
| 598 |
'category' => 'shop', |
| 599 |
'active' => 'on', |
| 600 |
'package' => 'free', |
| 601 |
'fields' => [], |
| 602 |
] |
| 603 |
), |
| 604 |
|
| 605 |
'products_archive_catalog_custom' => apply_filters( |
| 606 |
'rtsb/elements/products_archive_catalog_custom/options', |
| 607 |
[ |
| 608 |
'id' => 'products_archive_catalog_custom', |
| 609 |
'title' => esc_html__( 'Products - Custom Layouts', 'shopbuilder' ), |
| 610 |
'base_class' => Archive\ProductsArchiveCustom::class, |
| 611 |
'category' => 'shop', |
| 612 |
'active' => 'on', |
| 613 |
'package' => 'free', |
| 614 |
'fields' => [], |
| 615 |
] |
| 616 |
), |
| 617 |
|
| 618 |
'ajax_product_filters' => apply_filters( |
| 619 |
'rtsb/elements/ajax_product_filters/options', |
| 620 |
[ |
| 621 |
'id' => 'ajax_product_filters', |
| 622 |
'title' => esc_html__( 'Ajax Product Filters', 'shopbuilder-pro' ), |
| 623 |
'category' => 'shop', |
| 624 |
'active' => 'on', |
| 625 |
'package' => $this->pro_package(), |
| 626 |
'fields' => [], |
| 627 |
] |
| 628 |
), |
| 629 |
|
| 630 |
'archive_result_count' => apply_filters( |
| 631 |
'rtsb/elements/archive_result_count/options', |
| 632 |
[ |
| 633 |
'id' => 'archive_result_count', |
| 634 |
'title' => esc_html__( 'Result Count', 'shopbuilder' ), |
| 635 |
'base_class' => Archive\ArchiveResultCount::class, |
| 636 |
'category' => 'shop', |
| 637 |
'active' => 'on', |
| 638 |
'package' => 'free', |
| 639 |
'fields' => [], |
| 640 |
] |
| 641 |
), |
| 642 |
'archive_products_ordering' => apply_filters( |
| 643 |
'rtsb/elements/archive_products_ordering/options', |
| 644 |
[ |
| 645 |
'id' => 'archive_products_ordering', |
| 646 |
'title' => esc_html__( 'Products Ordering', 'shopbuilder' ), |
| 647 |
'base_class' => Archive\ProductsOrdering::class, |
| 648 |
'category' => 'shop', |
| 649 |
'active' => 'on', |
| 650 |
'package' => 'free', |
| 651 |
'fields' => [], |
| 652 |
] |
| 653 |
), |
| 654 |
'archive_product_mode' => apply_filters( |
| 655 |
'rtsb/elements/archive_product_mode/options', |
| 656 |
[ |
| 657 |
'id' => 'archive_product_mode', |
| 658 |
'title' => esc_html__( 'View Mode', 'shopbuilder' ), |
| 659 |
'base_class' => Archive\ArchiveProductMode::class, |
| 660 |
'category' => 'shop', |
| 661 |
'active' => 'on', |
| 662 |
'package' => 'free', |
| 663 |
'fields' => [], |
| 664 |
] |
| 665 |
), |
| 666 |
]; |
| 667 |
|
| 668 |
return apply_filters( 'rtsb/core/elements/shop/widget_list', $list ); |
| 669 |
} |
| 670 |
|
| 671 |
/** |
| 672 |
* Cart Page Widget List. |
| 673 |
* |
| 674 |
* @return array |
| 675 |
*/ |
| 676 |
protected function cart_page_widget_list() { |
| 677 |
$list = [ |
| 678 |
'cart_table' => apply_filters( |
| 679 |
'rtsb/elements/cart_table/options', |
| 680 |
[ |
| 681 |
'id' => 'cart_table', |
| 682 |
'title' => esc_html__( 'Cart Table', 'shopbuilder' ), |
| 683 |
'base_class' => Cart\CartTable::class, |
| 684 |
'category' => 'cart', |
| 685 |
'active' => 'on', |
| 686 |
'package' => 'free', |
| 687 |
'fields' => [], |
| 688 |
] |
| 689 |
), |
| 690 |
'cart_totals' => apply_filters( |
| 691 |
'rtsb/elements/cart_totals/options', |
| 692 |
[ |
| 693 |
'id' => 'cart_totals', |
| 694 |
'title' => esc_html__( 'Cart Totals', 'shopbuilder' ), |
| 695 |
'base_class' => Cart\CartTotals::class, |
| 696 |
'category' => 'cart', |
| 697 |
'active' => 'on', |
| 698 |
'package' => 'free', |
| 699 |
'fields' => [], |
| 700 |
] |
| 701 |
), |
| 702 |
'cart_coupon_form' => apply_filters( |
| 703 |
'rtsb/elements/cart_coupon_form/options', |
| 704 |
[ |
| 705 |
'id' => 'cart_coupon_form', |
| 706 |
'title' => esc_html__( 'Coupon Form', 'shopbuilder' ), |
| 707 |
'category' => 'cart', |
| 708 |
'active' => 'on', |
| 709 |
'package' => $this->pro_package(), |
| 710 |
'fields' => [], |
| 711 |
] |
| 712 |
), |
| 713 |
'cross_sells' => apply_filters( |
| 714 |
'rtsb/elements/cross_sells/options', |
| 715 |
[ |
| 716 |
'id' => 'cross_sells', |
| 717 |
'title' => esc_html__( 'Cross Sell - Default Layout', 'shopbuilder' ), |
| 718 |
'base_class' => Cart\CrossSellProduct::class, |
| 719 |
'category' => 'cart', |
| 720 |
'active' => 'on', |
| 721 |
'package' => 'free', |
| 722 |
'fields' => [], |
| 723 |
] |
| 724 |
), |
| 725 |
'cross_sells_custom' => apply_filters( |
| 726 |
'rtsb/elements/cross_sells_custom/options', |
| 727 |
[ |
| 728 |
'id' => 'cross_sells_custom', |
| 729 |
'title' => esc_html__( 'Cross Sell - Custom Layouts', 'shopbuilder' ), |
| 730 |
'base_class' => Cart\CrossSellsProductsCustom::class, |
| 731 |
'category' => 'cart', |
| 732 |
'active' => 'on', |
| 733 |
'package' => 'free', |
| 734 |
'fields' => [], |
| 735 |
] |
| 736 |
), |
| 737 |
'cross_sells_custom_slider' => apply_filters( |
| 738 |
'rtsb/elements/cross_sells_custom_slider/options', |
| 739 |
[ |
| 740 |
'id' => 'cross_sells_custom_slider', |
| 741 |
'title' => esc_html__( 'Cross Sell - Slider Layouts', 'shopbuilder' ), |
| 742 |
'base_class' => Cart\CrossSellsProductsSlider::class, |
| 743 |
'category' => 'cart', |
| 744 |
'active' => 'on', |
| 745 |
'package' => 'free', |
| 746 |
'fields' => [], |
| 747 |
] |
| 748 |
), |
| 749 |
]; |
| 750 |
|
| 751 |
return apply_filters( 'rtsb/core/elements/cart/widget_list', $list ); |
| 752 |
} |
| 753 |
|
| 754 |
/** |
| 755 |
* Checkout Page Widget List. |
| 756 |
* |
| 757 |
* @return array |
| 758 |
*/ |
| 759 |
protected function checkout_page_widget_list() { |
| 760 |
$list = [ |
| 761 |
'billing_form' => apply_filters( |
| 762 |
'rtsb/elements/billing_form/options', |
| 763 |
[ |
| 764 |
'id' => 'billing_form', |
| 765 |
'title' => esc_html__( 'Billing Form', 'shopbuilder' ), |
| 766 |
'base_class' => Checkout\BillingForm::class, |
| 767 |
'category' => 'checkout', |
| 768 |
'active' => 'on', |
| 769 |
'package' => 'free', |
| 770 |
'fields' => [], |
| 771 |
] |
| 772 |
), |
| 773 |
'shipping_form' => apply_filters( |
| 774 |
'rtsb/elements/shipping_form/options', |
| 775 |
[ |
| 776 |
'id' => 'shipping_form', |
| 777 |
'title' => esc_html__( 'Shipping Form', 'shopbuilder' ), |
| 778 |
'base_class' => Checkout\ShippingForm::class, |
| 779 |
'category' => 'checkout', |
| 780 |
'active' => 'on', |
| 781 |
'package' => 'free', |
| 782 |
'fields' => [], |
| 783 |
] |
| 784 |
), |
| 785 |
'order_notes' => apply_filters( |
| 786 |
'rtsb/elements/order_notes/options', |
| 787 |
[ |
| 788 |
'id' => 'order_notes', |
| 789 |
'title' => esc_html__( 'Order Notes', 'shopbuilder' ), |
| 790 |
'base_class' => Checkout\OrderNotes::class, |
| 791 |
'category' => 'checkout', |
| 792 |
'active' => 'on', |
| 793 |
'package' => 'free', |
| 794 |
'fields' => [], |
| 795 |
] |
| 796 |
), |
| 797 |
'order_review' => apply_filters( |
| 798 |
'rtsb/elements/order_review/options', |
| 799 |
[ |
| 800 |
'id' => 'order_review', |
| 801 |
'title' => esc_html__( 'Order Review', 'shopbuilder' ), |
| 802 |
'base_class' => Checkout\OrderReview::class, |
| 803 |
'category' => 'checkout', |
| 804 |
'active' => 'on', |
| 805 |
'package' => 'free', |
| 806 |
'fields' => [], |
| 807 |
] |
| 808 |
), |
| 809 |
'checkout_payment' => apply_filters( |
| 810 |
'rtsb/elements/checkout_payment/options', |
| 811 |
[ |
| 812 |
'id' => 'checkout_payment', |
| 813 |
'title' => esc_html__( 'Checkout Payment Method', 'shopbuilder' ), |
| 814 |
'base_class' => Checkout\CheckoutPayment::class, |
| 815 |
'category' => 'checkout', |
| 816 |
'active' => 'on', |
| 817 |
'package' => 'free', |
| 818 |
'fields' => [], |
| 819 |
] |
| 820 |
), |
| 821 |
'coupon_form' => apply_filters( |
| 822 |
'rtsb/elements/coupon_form/options', |
| 823 |
[ |
| 824 |
'id' => 'coupon_form', |
| 825 |
'title' => esc_html__( 'Coupon Form', 'shopbuilder' ), |
| 826 |
'base_class' => Checkout\CouponForm::class, |
| 827 |
'category' => 'checkout', |
| 828 |
'active' => 'on', |
| 829 |
'package' => 'free', |
| 830 |
'fields' => [], |
| 831 |
] |
| 832 |
), |
| 833 |
'checkout_login_form' => apply_filters( |
| 834 |
'rtsb/elements/checkout_login_form/options', |
| 835 |
[ |
| 836 |
'id' => 'checkout_login_form', |
| 837 |
'title' => esc_html__( 'Login Form', 'shopbuilder' ), |
| 838 |
'base_class' => Checkout\CheckoutLoginForm::class, |
| 839 |
'category' => 'checkout', |
| 840 |
'active' => 'on', |
| 841 |
'package' => 'free', |
| 842 |
'fields' => [], |
| 843 |
] |
| 844 |
), |
| 845 |
|
| 846 |
'shipping_method' => apply_filters( |
| 847 |
'rtsb/elements/shipping_method/options', |
| 848 |
[ |
| 849 |
'id' => 'shipping_method', |
| 850 |
'title' => esc_html__( 'Shipping Method', 'shopbuilder' ), |
| 851 |
'base_class' => Checkout\ShippingMethod::class, |
| 852 |
'category' => 'checkout', |
| 853 |
'active' => 'on', |
| 854 |
'package' => 'free', |
| 855 |
'fields' => [], |
| 856 |
] |
| 857 |
), |
| 858 |
|
| 859 |
]; |
| 860 |
|
| 861 |
return apply_filters( 'rtsb/core/elements/checkout/widget_list', $list ); |
| 862 |
} |
| 863 |
|
| 864 |
/** |
| 865 |
* Checkout Page Widget List. |
| 866 |
* |
| 867 |
* @return array |
| 868 |
*/ |
| 869 |
protected function thankyou_page_widget_list() { |
| 870 |
return [ |
| 871 |
'order_received_text' => apply_filters( |
| 872 |
'rtsb/elements/order_received_text/options', |
| 873 |
[ |
| 874 |
'id' => 'order_received_text', |
| 875 |
'title' => esc_html__( 'Order Received Text', 'shopbuilder-pro' ), |
| 876 |
'category' => 'thank_you', |
| 877 |
'is_front_page' => 'thank_you', |
| 878 |
'active' => 'on', |
| 879 |
'package' => $this->pro_package(), |
| 880 |
'fields' => [], |
| 881 |
] |
| 882 |
), |
| 883 |
'order_details_summary' => apply_filters( |
| 884 |
'rtsb/elements/order_details_summary/options', |
| 885 |
[ |
| 886 |
'id' => 'order_details_summary', |
| 887 |
'title' => esc_html__( 'Order Details Summary', 'shopbuilder-pro' ), |
| 888 |
'category' => 'thank_you', |
| 889 |
'is_front_page' => 'thank_you', |
| 890 |
'active' => 'on', |
| 891 |
'package' => $this->pro_package(), |
| 892 |
'fields' => [], |
| 893 |
] |
| 894 |
), |
| 895 |
'order_details_table' => apply_filters( |
| 896 |
'rtsb/elements/order_details_table/options', |
| 897 |
[ |
| 898 |
'id' => 'order_details_table', |
| 899 |
'title' => esc_html__( 'Order Details Table', 'shopbuilder-pro' ), |
| 900 |
'category' => 'thank_you', |
| 901 |
'is_front_page' => 'thank_you', |
| 902 |
'active' => 'on', |
| 903 |
'package' => $this->pro_package(), |
| 904 |
'fields' => [], |
| 905 |
] |
| 906 |
), |
| 907 |
'downloadable_products' => apply_filters( |
| 908 |
'rtsb/elements/downloadable_products/options', |
| 909 |
[ |
| 910 |
'id' => 'downloadable_products', |
| 911 |
'title' => esc_html__( 'Downloadable Products', 'shopbuilder-pro' ), |
| 912 |
'category' => 'thank_you', |
| 913 |
'is_front_page' => 'thank_you', |
| 914 |
'active' => 'on', |
| 915 |
'package' => $this->pro_package(), |
| 916 |
'fields' => [], |
| 917 |
] |
| 918 |
), |
| 919 |
'order_billing_address' => apply_filters( |
| 920 |
'rtsb/elements/order_billing_address/options', |
| 921 |
[ |
| 922 |
'id' => 'order_billing_address', |
| 923 |
'title' => esc_html__( 'Order Billing Address', 'shopbuilder-pro' ), |
| 924 |
'category' => 'thank_you', |
| 925 |
'is_front_page' => 'thank_you', |
| 926 |
'active' => 'on', |
| 927 |
'package' => $this->pro_package(), |
| 928 |
'fields' => [], |
| 929 |
] |
| 930 |
), |
| 931 |
'order_shipping_address' => apply_filters( |
| 932 |
'rtsb/elements/order_shipping_address/options', |
| 933 |
[ |
| 934 |
'id' => 'order_shipping_address', |
| 935 |
'title' => esc_html__( 'Order Shipping Address', 'shopbuilder-pro' ), |
| 936 |
'category' => 'thank_you', |
| 937 |
'is_front_page' => 'thank_you', |
| 938 |
'active' => 'on', |
| 939 |
'package' => $this->pro_package(), |
| 940 |
'fields' => [], |
| 941 |
] |
| 942 |
), |
| 943 |
]; |
| 944 |
} |
| 945 |
|
| 946 |
/** |
| 947 |
* Checkout Page Widget List. |
| 948 |
* |
| 949 |
* @return array |
| 950 |
*/ |
| 951 |
protected function my_account_page_widget_list() { |
| 952 |
return [ |
| 953 |
|
| 954 |
'account_navigation_edit_shipping' => apply_filters( |
| 955 |
'rtsb/elements/account_navigation_edit_shipping/options', |
| 956 |
[ |
| 957 |
'id' => 'account_navigation_edit_shipping', |
| 958 |
'title' => esc_html__( 'Account Navigation', 'shopbuilder-pro' ), |
| 959 |
'category' => 'myaccount_dashboard', |
| 960 |
'is_front_page' => 'all_myaccount_dashboard_inner', |
| 961 |
'active' => 'on', |
| 962 |
'package' => $this->pro_package(), |
| 963 |
'fields' => [], |
| 964 |
] |
| 965 |
), |
| 966 |
'account_dashboard' => apply_filters( |
| 967 |
'rtsb/elements/account_dashboard/options', |
| 968 |
[ |
| 969 |
'id' => 'account_dashboard', |
| 970 |
'title' => esc_html__( 'Account Dashboard', 'shopbuilder-pro' ), |
| 971 |
'category' => 'myaccount_dashboard', |
| 972 |
'is_front_page' => 'myaccount_dashboard', |
| 973 |
'active' => 'on', |
| 974 |
'package' => $this->pro_package(), |
| 975 |
'fields' => [], |
| 976 |
] |
| 977 |
), |
| 978 |
'account_orders' => apply_filters( |
| 979 |
'rtsb/elements/account_orders/options', |
| 980 |
[ |
| 981 |
'id' => 'account_orders', |
| 982 |
'title' => esc_html__( 'Account Orders', 'shopbuilder-pro' ), |
| 983 |
'category' => 'myaccount_dashboard', |
| 984 |
'is_front_page' => 'myaccount_order', |
| 985 |
'active' => 'on', |
| 986 |
'package' => $this->pro_package(), |
| 987 |
'fields' => [], |
| 988 |
] |
| 989 |
), |
| 990 |
'account_downloads' => apply_filters( |
| 991 |
'rtsb/elements/account_downloads/options', |
| 992 |
[ |
| 993 |
'id' => 'account_downloads', |
| 994 |
'title' => esc_html__( 'Account Downloads', 'shopbuilder-pro' ), |
| 995 |
'category' => 'myaccount_dashboard', |
| 996 |
'is_front_page' => 'myaccount_downloads', |
| 997 |
'active' => 'on', |
| 998 |
'package' => $this->pro_package(), |
| 999 |
'fields' => [], |
| 1000 |
] |
| 1001 |
), |
| 1002 |
'account_billing_address' => apply_filters( |
| 1003 |
'rtsb/elements/account_billing_address/options', |
| 1004 |
[ |
| 1005 |
'id' => 'account_billing_address', |
| 1006 |
'title' => esc_html__( 'Account Billing Address', 'shopbuilder-pro' ), |
| 1007 |
'category' => 'myaccount_dashboard', |
| 1008 |
'is_front_page' => 'myaccount_address', |
| 1009 |
'active' => 'on', |
| 1010 |
'package' => $this->pro_package(), |
| 1011 |
'fields' => [], |
| 1012 |
] |
| 1013 |
), |
| 1014 |
'account_shipping_address' => apply_filters( |
| 1015 |
'rtsb/elements/account_shipping_address/options', |
| 1016 |
[ |
| 1017 |
'id' => 'account_shipping_address', |
| 1018 |
'title' => esc_html__( 'Account Shipping Address', 'shopbuilder-pro' ), |
| 1019 |
'category' => 'myaccount_dashboard', |
| 1020 |
'is_front_page' => 'myaccount_address', |
| 1021 |
'active' => 'on', |
| 1022 |
'package' => $this->pro_package(), |
| 1023 |
'fields' => [], |
| 1024 |
] |
| 1025 |
), |
| 1026 |
'account_address_description' => apply_filters( |
| 1027 |
'rtsb/elements/account_address_description/options', |
| 1028 |
[ |
| 1029 |
'id' => 'account_address_description', |
| 1030 |
'title' => esc_html__( 'Account Address Description', 'shopbuilder-pro' ), |
| 1031 |
'category' => 'myaccount_dashboard', |
| 1032 |
'is_front_page' => 'myaccount_address', |
| 1033 |
'active' => 'on', |
| 1034 |
'package' => $this->pro_package(), |
| 1035 |
'fields' => [], |
| 1036 |
] |
| 1037 |
), |
| 1038 |
'account_details' => apply_filters( |
| 1039 |
'rtsb/elements/account_details/options', |
| 1040 |
[ |
| 1041 |
'id' => 'account_details', |
| 1042 |
'title' => esc_html__( 'Account Edit / Details', 'shopbuilder-pro' ), |
| 1043 |
'category' => 'myaccount_dashboard', |
| 1044 |
'is_front_page' => 'myaccount_edit_details', |
| 1045 |
'active' => 'on', |
| 1046 |
'package' => $this->pro_package(), |
| 1047 |
'fields' => [], |
| 1048 |
] |
| 1049 |
), |
| 1050 |
'account_order_status' => apply_filters( |
| 1051 |
'rtsb/elements/account_order_status/options', |
| 1052 |
[ |
| 1053 |
'id' => 'account_order_status', |
| 1054 |
'title' => esc_html__( 'Account Order Status', 'shopbuilder-pro' ), |
| 1055 |
'category' => 'myaccount_dashboard', |
| 1056 |
'is_front_page' => 'myaccount_orders_details', |
| 1057 |
'active' => 'on', |
| 1058 |
'package' => $this->pro_package(), |
| 1059 |
'fields' => [], |
| 1060 |
] |
| 1061 |
), |
| 1062 |
'account_order_details_download' => apply_filters( |
| 1063 |
'rtsb/elements/account_order_details_download/options', |
| 1064 |
[ |
| 1065 |
'id' => 'account_order_details_download', |
| 1066 |
'title' => esc_html__( 'Account Order Download', 'shopbuilder-pro' ), |
| 1067 |
'category' => 'myaccount_dashboard', |
| 1068 |
'is_front_page' => 'myaccount_orders_details', |
| 1069 |
'active' => 'on', |
| 1070 |
'package' => $this->pro_package(), |
| 1071 |
'fields' => [], |
| 1072 |
] |
| 1073 |
), |
| 1074 |
'account_order_details_note' => apply_filters( |
| 1075 |
'rtsb/elements/account_order_details_note/options', |
| 1076 |
[ |
| 1077 |
'id' => 'account_order_details_note', |
| 1078 |
'title' => esc_html__( 'Account Order Note', 'shopbuilder-pro' ), |
| 1079 |
'category' => 'myaccount_dashboard', |
| 1080 |
'is_front_page' => 'myaccount_orders_details', |
| 1081 |
'active' => 'on', |
| 1082 |
'package' => $this->pro_package(), |
| 1083 |
'fields' => [], |
| 1084 |
] |
| 1085 |
), |
| 1086 |
'account_order_details_table' => apply_filters( |
| 1087 |
'rtsb/elements/account_order_details_table/options', |
| 1088 |
[ |
| 1089 |
'id' => 'account_order_details_table', |
| 1090 |
'title' => esc_html__( 'Account Order Table', 'shopbuilder-pro' ), |
| 1091 |
'category' => 'myaccount_dashboard', |
| 1092 |
'is_front_page' => 'myaccount_orders_details', |
| 1093 |
'active' => 'on', |
| 1094 |
'package' => $this->pro_package(), |
| 1095 |
'fields' => [], |
| 1096 |
] |
| 1097 |
), |
| 1098 |
'account_order_details_order_again' => apply_filters( |
| 1099 |
'rtsb/elements/account_order_details_order_again/options', |
| 1100 |
[ |
| 1101 |
'id' => 'account_order_details_order_again', |
| 1102 |
'title' => esc_html__( 'Account Order Again Button', 'shopbuilder-pro' ), |
| 1103 |
'category' => 'myaccount_dashboard', |
| 1104 |
'is_front_page' => 'myaccount_orders_details', |
| 1105 |
'active' => 'on', |
| 1106 |
'package' => $this->pro_package(), |
| 1107 |
'fields' => [], |
| 1108 |
] |
| 1109 |
), |
| 1110 |
'account_order_details_order_shipping' => apply_filters( |
| 1111 |
'rtsb/elements/account_order_details_order_shipping/options', |
| 1112 |
[ |
| 1113 |
'id' => 'account_order_details_order_shipping', |
| 1114 |
'title' => esc_html__( 'Account Order Shipping', 'shopbuilder-pro' ), |
| 1115 |
'category' => 'myaccount_dashboard', |
| 1116 |
'is_front_page' => 'myaccount_orders_details', |
| 1117 |
'active' => 'on', |
| 1118 |
'package' => $this->pro_package(), |
| 1119 |
'fields' => [], |
| 1120 |
] |
| 1121 |
), |
| 1122 |
'account_order_details_order_billing' => apply_filters( |
| 1123 |
'rtsb/elements/account_order_details_order_billing/options', |
| 1124 |
[ |
| 1125 |
'id' => 'account_order_details_order_billing', |
| 1126 |
'title' => esc_html__( 'Account Order Billing', 'shopbuilder-pro' ), |
| 1127 |
'category' => 'myaccount_dashboard', |
| 1128 |
'is_front_page' => 'myaccount_orders_details', |
| 1129 |
'active' => 'on', |
| 1130 |
'package' => $this->pro_package(), |
| 1131 |
'fields' => [], |
| 1132 |
] |
| 1133 |
), |
| 1134 |
'account_edit_billing_address' => apply_filters( |
| 1135 |
'rtsb/elements/account_edit_billing_address/options', |
| 1136 |
[ |
| 1137 |
'id' => 'account_edit_billing_address', |
| 1138 |
'title' => esc_html__( 'Edit Billing Address', 'shopbuilder-pro' ), |
| 1139 |
'category' => 'myaccount_dashboard', |
| 1140 |
'is_front_page' => 'myaccount_edit_billing_address', |
| 1141 |
'active' => 'on', |
| 1142 |
'package' => $this->pro_package(), |
| 1143 |
'fields' => [], |
| 1144 |
] |
| 1145 |
), |
| 1146 |
'account_edit_shipping_address' => apply_filters( |
| 1147 |
'rtsb/elements/account_edit_shipping_address/options', |
| 1148 |
[ |
| 1149 |
'id' => 'account_edit_shipping_address', |
| 1150 |
'title' => esc_html__( 'Edit Shipping Address', 'shopbuilder-pro' ), |
| 1151 |
'category' => 'myaccount_dashboard', |
| 1152 |
'is_front_page' => 'myaccount_edit_shipping_address', |
| 1153 |
'active' => 'on', |
| 1154 |
'package' => $this->pro_package(), |
| 1155 |
'fields' => [], |
| 1156 |
] |
| 1157 |
), |
| 1158 |
]; |
| 1159 |
} |
| 1160 |
|
| 1161 |
/*** |
| 1162 |
* @return array |
| 1163 |
*/ |
| 1164 |
protected function myaccount_auth_page_widget_list() { |
| 1165 |
return [ |
| 1166 |
'account_login' => apply_filters( |
| 1167 |
'rtsb/elements/account_login/options', |
| 1168 |
[ |
| 1169 |
'id' => 'account_login', |
| 1170 |
'title' => esc_html__( 'Login Register Form', 'shopbuilder-pro' ), |
| 1171 |
'category' => 'others_widget', |
| 1172 |
'is_front_page' => 'myaccount_auth', |
| 1173 |
'active' => 'on', |
| 1174 |
'package' => $this->pro_package(), |
| 1175 |
'fields' => [], |
| 1176 |
] |
| 1177 |
), |
| 1178 |
'account_lost_password' => apply_filters( |
| 1179 |
'rtsb/elements/account_lost_password/options', |
| 1180 |
[ |
| 1181 |
'id' => 'account_lost_password', |
| 1182 |
'title' => esc_html__( 'Lost Password Form', 'shopbuilder-pro' ), |
| 1183 |
'category' => 'others_widget', |
| 1184 |
'is_front_page' => 'myaccount_lost_password', |
| 1185 |
'active' => 'on', |
| 1186 |
'package' => $this->pro_package(), |
| 1187 |
'fields' => [], |
| 1188 |
] |
| 1189 |
), |
| 1190 |
]; |
| 1191 |
} |
| 1192 |
} |
| 1193 |
|