| @@ -11,9 +11,8 @@ | ||
| 11 | 11 | use RadiusTheme\SB\Elementor\Widgets\Cart; |
| 12 | 12 | use RadiusTheme\SB\Elementor\Widgets\Checkout; |
| 13 | 13 | use RadiusTheme\SB\Elementor\Widgets\General; |
| 14 | 14 | use RadiusTheme\SB\Elementor\Widgets\Single; |
| 15 | -use RadiusTheme\SB\Helpers\Fns; | |
| 16 | 15 | use RadiusTheme\SB\Models\Base\ListModel; |
| 17 | 16 | use RadiusTheme\SB\Traits\SingletonTrait; |
| 18 | 17 | use RadiusTheme\SBPRO\Elementor\Widgets\Checkout as CheckoutPro; |
| 19 | 18 | |
| @@ -125,9 +124,8 @@ | ||
| 125 | 124 | 'package' => 'free', |
| 126 | 125 | 'fields' => [], |
| 127 | 126 | ] |
| 128 | 127 | ), |
| 129 | - | |
| 130 | 128 | 'products_slider' => apply_filters( |
| 131 | 129 | 'rtsb/elements/products_slider/options', |
| 132 | 130 | [ |
| 133 | 131 | 'id' => 'products_slider', |
| @@ -138,9 +136,19 @@ | ||
| 138 | 136 | 'package' => 'free', |
| 139 | 137 | 'fields' => [], |
| 140 | 138 | ] |
| 141 | 139 | ), |
| 142 | - | |
| 140 | + 'highlighted_product' => apply_filters( | |
| 141 | + 'rtsb/elements/highlighted_product/options', | |
| 142 | + [ | |
| 143 | + 'id' => 'highlighted_product', | |
| 144 | + 'title' => esc_html__( 'Highlighted Product', 'shopbuilder' ), | |
| 145 | + 'category' => 'general', | |
| 146 | + 'active' => '', | |
| 147 | + 'package' => $this->pro_package(), | |
| 148 | + 'fields' => [], | |
| 149 | + ] | |
| 150 | + ), | |
| 143 | 151 | 'products_single_cateogory' => apply_filters( |
| 144 | 152 | 'rtsb/elements/products_single_cateogory/options', |
| 145 | 153 | [ |
| 146 | 154 | 'id' => 'products_single_cateogory', |
| @@ -163,8 +171,31 @@ | ||
| 163 | 171 | 'package' => 'free', |
| 164 | 172 | 'fields' => [], |
| 165 | 173 | ] |
| 166 | 174 | ), |
| 175 | + 'product_lookbook' => apply_filters( | |
| 176 | + 'rtsb/elements/product_lookbook/options', | |
| 177 | + [ | |
| 178 | + 'id' => 'product_lookbook', | |
| 179 | + 'title' => esc_html__( 'Product LookBook', 'shopbuilder' ), | |
| 180 | + 'category' => 'general', | |
| 181 | + 'active' => '', | |
| 182 | + 'package' => $this->pro_package(), | |
| 183 | + 'fields' => [], | |
| 184 | + ] | |
| 185 | + ), | |
| 186 | + 'rtsb_wishlist' => apply_filters( | |
| 187 | + 'rtsb/elements/rtsb_wishlist/options', | |
| 188 | + [ | |
| 189 | + 'id' => 'rtsb_wishlist', | |
| 190 | + 'title' => esc_html__( 'Wishlist Table', 'shopbuilder' ), | |
| 191 | + 'base_class' => General\Wishlist::class, | |
| 192 | + 'category' => 'general', | |
| 193 | + 'active' => 'on', | |
| 194 | + 'package' => 'free', | |
| 195 | + 'fields' => [], | |
| 196 | + ] | |
| 197 | + ), | |
| 167 | 198 | 'social_share' => apply_filters( |
| 168 | 199 | 'rtsb/elements/social_share/options', |
| 169 | 200 | [ |
| 170 | 201 | 'id' => 'social_share', |
| @@ -199,14 +230,14 @@ | ||
| 199 | 230 | 'package' => 'free', |
| 200 | 231 | 'fields' => [], |
| 201 | 232 | ] |
| 202 | 233 | ), |
| 203 | - 'rtsb_wishlist' => apply_filters( | |
| 204 | - 'rtsb/elements/rtsb_wishlist/options', | |
| 234 | + 'advanced_heading' => apply_filters( | |
| 235 | + 'rtsb/elements/advanced_heading/options', | |
| 205 | 236 | [ |
| 206 | - 'id' => 'rtsb_wishlist', | |
| 207 | - 'title' => esc_html__( 'Wishlist Table', 'shopbuilder' ), | |
| 208 | - 'base_class' => General\Wishlist::class, | |
| 237 | + 'id' => 'advanced_heading', | |
| 238 | + 'title' => esc_html__( 'Advanced Heading', 'shopbuilder' ), | |
| 239 | + 'base_class' => General\AdvancedHeading\AdvancedHeading::class, | |
| 209 | 240 | 'category' => 'general', |
| 210 | 241 | 'active' => 'on', |
| 211 | 242 | 'package' => 'free', |
| 212 | 243 | 'fields' => [], |
| @@ -211,13 +242,85 @@ | ||
| 211 | 242 | 'package' => 'free', |
| 212 | 243 | 'fields' => [], |
| 213 | 244 | ] |
| 214 | 245 | ), |
| 215 | - 'highlighted_product' => apply_filters( | |
| 216 | - 'rtsb/elements/highlighted_product/options', | |
| 246 | + 'dropcaps' => apply_filters( | |
| 247 | + 'rtsb/elements/dropcaps/options', | |
| 217 | 248 | [ |
| 218 | - 'id' => 'highlighted_product', | |
| 219 | - 'title' => esc_html__( 'Highlighted Product', 'shopbuilder' ), | |
| 249 | + 'id' => 'dropcaps', | |
| 250 | + 'title' => esc_html__( 'Dropcaps', 'shopbuilder' ), | |
| 251 | + 'base_class' => General\DropCaps\DropCaps::class, | |
| 252 | + 'category' => 'general', | |
| 253 | + 'active' => 'on', | |
| 254 | + 'package' => 'free', | |
| 255 | + 'fields' => [], | |
| 256 | + ] | |
| 257 | + ), | |
| 258 | + 'shopbuilder_button' => apply_filters( | |
| 259 | + 'rtsb/elements/shopbuilder_button/options', | |
| 260 | + [ | |
| 261 | + 'id' => 'shopbuilder_button', | |
| 262 | + 'title' => esc_html__( 'Advanced Button', 'shopbuilder' ), | |
| 263 | + 'base_class' => General\ShopBuilderButton\ShopBuilderButton::class, | |
| 264 | + 'category' => 'general', | |
| 265 | + 'active' => 'on', | |
| 266 | + 'package' => 'free', | |
| 267 | + 'fields' => [], | |
| 268 | + ] | |
| 269 | + ), | |
| 270 | + 'shopbuilder_cta' => apply_filters( | |
| 271 | + 'rtsb/elements/shopbuilder_cta/options', | |
| 272 | + [ | |
| 273 | + 'id' => 'shopbuilder_cta', | |
| 274 | + 'title' => esc_html__( 'Call To Action', 'shopbuilder' ), | |
| 275 | + 'base_class' => General\CallToAction\CallToAction::class, | |
| 276 | + 'category' => 'general', | |
| 277 | + 'active' => 'on', | |
| 278 | + 'package' => 'free', | |
| 279 | + 'fields' => [], | |
| 280 | + ] | |
| 281 | + ), | |
| 282 | + 'shopbuilder_info_box' => apply_filters( | |
| 283 | + 'rtsb/elements/shopbuilder_info_box/options', | |
| 284 | + [ | |
| 285 | + 'id' => 'shopbuilder_info_box', | |
| 286 | + 'title' => esc_html__( 'Info Box', 'shopbuilder' ), | |
| 287 | + 'base_class' => General\InfoBox\InfoBox::class, | |
| 288 | + 'category' => 'general', | |
| 289 | + 'active' => 'on', | |
| 290 | + 'package' => 'free', | |
| 291 | + 'fields' => [], | |
| 292 | + ] | |
| 293 | + ), | |
| 294 | + 'shopbuilder_flip_box' => apply_filters( | |
| 295 | + 'rtsb/elements/shopbuilder_flip_box/options', | |
| 296 | + [ | |
| 297 | + 'id' => 'shopbuilder_flip_box', | |
| 298 | + 'title' => esc_html__( 'Flip Box', 'shopbuilder' ), | |
| 299 | + 'base_class' => General\FlipBox\FlipBox::class, | |
| 300 | + 'category' => 'general', | |
| 301 | + 'active' => 'on', | |
| 302 | + 'package' => 'free', | |
| 303 | + 'fields' => [], | |
| 304 | + ] | |
| 305 | + ), | |
| 306 | + 'shopbuilder_pricing_table' => apply_filters( | |
| 307 | + 'rtsb/elements/shopbuilder_pricing_table/options', | |
| 308 | + [ | |
| 309 | + 'id' => 'shopbuilder_pricing_table', | |
| 310 | + 'title' => esc_html__( 'Pricing Table', 'shopbuilder' ), | |
| 311 | + 'base_class' => General\PricingTable\PricingTable::class, | |
| 312 | + 'category' => 'general', | |
| 313 | + 'active' => 'on', | |
| 314 | + 'package' => 'free', | |
| 315 | + 'fields' => [], | |
| 316 | + ] | |
| 317 | + ), | |
| 318 | + 'image_hotspots' => apply_filters( | |
| 319 | + 'rtsb/elements/image_hotspots/options', | |
| 320 | + [ | |
| 321 | + 'id' => 'image_hotspots', | |
| 322 | + 'title' => esc_html__( 'Image Hotspots', 'shopbuilder' ), | |
| 220 | 323 | 'category' => 'general', |
| 221 | 324 | 'active' => '', |
| 222 | 325 | 'package' => $this->pro_package(), |
| 223 | 326 | 'fields' => [], |
| @@ -222,9 +325,139 @@ | ||
| 222 | 325 | 'package' => $this->pro_package(), |
| 223 | 326 | 'fields' => [], |
| 224 | 327 | ] |
| 225 | 328 | ), |
| 226 | - | |
| 329 | + 'coupon_list' => apply_filters( | |
| 330 | + 'rtsb/elements/coupon_list/options', | |
| 331 | + [ | |
| 332 | + 'id' => 'coupon_list', | |
| 333 | + 'title' => esc_html__( 'Coupon List', 'shopbuilder' ), | |
| 334 | + 'category' => 'general', | |
| 335 | + 'active' => '', | |
| 336 | + 'package' => $this->pro_package(), | |
| 337 | + 'fields' => [], | |
| 338 | + ] | |
| 339 | + ), | |
| 340 | + 'shopbuilder_counter' => apply_filters( | |
| 341 | + 'rtsb/elements/shopbuilder_counter/options', | |
| 342 | + [ | |
| 343 | + 'id' => 'shopbuilder_counter', | |
| 344 | + 'title' => esc_html__( 'Fun Facts', 'shopbuilder' ), | |
| 345 | + 'base_class' => General\Counter\Counter::class, | |
| 346 | + 'category' => 'general', | |
| 347 | + 'active' => 'on', | |
| 348 | + 'package' => 'free', | |
| 349 | + 'fields' => [], | |
| 350 | + ] | |
| 351 | + ), | |
| 352 | + 'shopbuilder_countdown' => apply_filters( | |
| 353 | + 'rtsb/elements/shopbuilder_countdown/options', | |
| 354 | + [ | |
| 355 | + 'id' => 'shopbuilder_countdown', | |
| 356 | + 'title' => esc_html__( 'Countdown', 'shopbuilder' ), | |
| 357 | + 'base_class' => General\CountDown\CountDown::class, | |
| 358 | + 'category' => 'general', | |
| 359 | + 'active' => 'on', | |
| 360 | + 'package' => 'free', | |
| 361 | + 'fields' => [], | |
| 362 | + ] | |
| 363 | + ), | |
| 364 | + 'shopbuilder_progress_bar' => apply_filters( | |
| 365 | + 'rtsb/elements/shopbuilder_progress_bar/options', | |
| 366 | + [ | |
| 367 | + 'id' => 'shopbuilder_progress_bar', | |
| 368 | + 'title' => esc_html__( 'Progress Bar', 'shopbuilder' ), | |
| 369 | + 'base_class' => General\ProgressBar\ProgressBar::class, | |
| 370 | + 'category' => 'general', | |
| 371 | + 'active' => 'on', | |
| 372 | + 'package' => 'free', | |
| 373 | + 'fields' => [], | |
| 374 | + ] | |
| 375 | + ), | |
| 376 | + 'image_accordion' => apply_filters( | |
| 377 | + 'rtsb/elements/image_accordion/options', | |
| 378 | + [ | |
| 379 | + 'id' => 'image_accordion', | |
| 380 | + 'title' => esc_html__( 'Image Accordion', 'shopbuilder' ), | |
| 381 | + 'base_class' => General\ImageAccordion\ImageAccordion::class, | |
| 382 | + 'category' => 'general', | |
| 383 | + 'active' => 'on', | |
| 384 | + 'package' => 'free', | |
| 385 | + 'fields' => [], | |
| 386 | + ] | |
| 387 | + ), | |
| 388 | + 'shopbuilder_faq' => apply_filters( | |
| 389 | + 'rtsb/elements/shopbuilder_faq/options', | |
| 390 | + [ | |
| 391 | + 'id' => 'shopbuilder_faq', | |
| 392 | + 'title' => esc_html__( 'FAQ', 'shopbuilder' ), | |
| 393 | + 'base_class' => General\ShopBuilderFaq\ShopBuilderFaq::class, | |
| 394 | + 'category' => 'general', | |
| 395 | + 'active' => 'on', | |
| 396 | + 'package' => 'free', | |
| 397 | + 'fields' => [], | |
| 398 | + ] | |
| 399 | + ), | |
| 400 | + 'logo_slider_and_grid' => apply_filters( | |
| 401 | + 'rtsb/elements/logo_slider_and_grid/options', | |
| 402 | + [ | |
| 403 | + 'id' => 'logo_slider_and_grid', | |
| 404 | + 'title' => esc_html__( 'Logo Slider and Grid', 'shopbuilder' ), | |
| 405 | + 'base_class' => General\LogoSliderAndGrid\LogoSliderAndGrid::class, | |
| 406 | + 'category' => 'general', | |
| 407 | + 'active' => 'on', | |
| 408 | + 'package' => 'free', | |
| 409 | + 'fields' => [], | |
| 410 | + ] | |
| 411 | + ), | |
| 412 | + 'testimonial' => apply_filters( | |
| 413 | + 'rtsb/elements/testimonial/options', | |
| 414 | + [ | |
| 415 | + 'id' => 'testimonial', | |
| 416 | + 'title' => esc_html__( 'Testimonials', 'shopbuilder' ), | |
| 417 | + 'base_class' => General\Testimonial\Testimonial::class, | |
| 418 | + 'category' => 'general', | |
| 419 | + 'active' => 'on', | |
| 420 | + 'package' => 'free', | |
| 421 | + 'fields' => [], | |
| 422 | + ] | |
| 423 | + ), | |
| 424 | + 'team_member' => apply_filters( | |
| 425 | + 'rtsb/elements/team_member/options', | |
| 426 | + [ | |
| 427 | + 'id' => 'team_member', | |
| 428 | + 'title' => esc_html__( 'Team Members', 'shopbuilder' ), | |
| 429 | + 'base_class' => General\TeamMember\TeamMember::class, | |
| 430 | + 'category' => 'general', | |
| 431 | + 'active' => 'on', | |
| 432 | + 'package' => 'free', | |
| 433 | + 'fields' => [], | |
| 434 | + ] | |
| 435 | + ), | |
| 436 | + 'post_grid' => apply_filters( | |
| 437 | + 'rtsb/elements/post_grid/options', | |
| 438 | + [ | |
| 439 | + 'id' => 'post_grid', | |
| 440 | + 'title' => esc_html__( 'Post Grid', 'shopbuilder' ), | |
| 441 | + 'base_class' => General\PostGrid\PostGrid::class, | |
| 442 | + 'category' => 'general', | |
| 443 | + 'active' => 'on', | |
| 444 | + 'package' => 'free', | |
| 445 | + 'fields' => [], | |
| 446 | + ] | |
| 447 | + ), | |
| 448 | + 'post_list' => apply_filters( | |
| 449 | + 'rtsb/elements/post_list/options', | |
| 450 | + [ | |
| 451 | + 'id' => 'post_list', | |
| 452 | + 'title' => esc_html__( 'Post List', 'shopbuilder' ), | |
| 453 | + 'base_class' => General\PostList\PostList::class, | |
| 454 | + 'category' => 'general', | |
| 455 | + 'active' => 'on', | |
| 456 | + 'package' => 'free', | |
| 457 | + 'fields' => [], | |
| 458 | + ] | |
| 459 | + ), | |
| 227 | 460 | ]; |
| 228 | 461 | |
| 229 | 462 | return apply_filters( 'rtsb/core/elements/general/widget_list', $list ); |
| 230 | 463 | } |
| @@ -924,8 +1157,20 @@ | ||
| 924 | 1157 | 'package' => $this->pro_package(), |
| 925 | 1158 | 'fields' => [], |
| 926 | 1159 | ] |
| 927 | 1160 | ), |
| 1161 | + 'product_filters' => apply_filters( | |
| 1162 | + 'rtsb/elements/product_filters/options', | |
| 1163 | + [ | |
| 1164 | + 'id' => 'product_filters', | |
| 1165 | + 'title' => esc_html__( 'Product Filters', 'shopbuilder' ), | |
| 1166 | + 'base_class' => Archive\ProductFilters::class, | |
| 1167 | + 'category' => 'shop', | |
| 1168 | + 'active' => 'on', | |
| 1169 | + 'package' => 'free', | |
| 1170 | + 'fields' => [], | |
| 1171 | + ] | |
| 1172 | + ), | |
| 928 | 1173 | |
| 929 | 1174 | 'archive_result_count' => apply_filters( |
| 930 | 1175 | 'rtsb/elements/archive_result_count/options', |
| 931 | 1176 | [ |
| @@ -1177,9 +1422,9 @@ | ||
| 1177 | 1422 | * @return array |
| 1178 | 1423 | */ |
| 1179 | 1424 | protected function thankyou_page_widget_list() { |
| 1180 | 1425 | return [ |
| 1181 | - 'order_received_text' => apply_filters( | |
| 1426 | + 'order_received_text' => apply_filters( | |
| 1182 | 1427 | 'rtsb/elements/order_received_text/options', |
| 1183 | 1428 | [ |
| 1184 | 1429 | 'id' => 'order_received_text', |
| 1185 | 1430 | 'title' => esc_html__( 'Order Received Text', 'shopbuilder' ), |
| @@ -1189,9 +1434,9 @@ | ||
| 1189 | 1434 | 'package' => $this->pro_package(), |
| 1190 | 1435 | 'fields' => [], |
| 1191 | 1436 | ] |
| 1192 | 1437 | ), |
| 1193 | - 'order_details_summary' => apply_filters( | |
| 1438 | + 'order_details_summary' => apply_filters( | |
| 1194 | 1439 | 'rtsb/elements/order_details_summary/options', |
| 1195 | 1440 | [ |
| 1196 | 1441 | 'id' => 'order_details_summary', |
| 1197 | 1442 | 'title' => esc_html__( 'Order Details Summary', 'shopbuilder' ), |
| @@ -1201,9 +1446,9 @@ | ||
| 1201 | 1446 | 'package' => $this->pro_package(), |
| 1202 | 1447 | 'fields' => [], |
| 1203 | 1448 | ] |
| 1204 | 1449 | ), |
| 1205 | - 'order_details_table' => apply_filters( | |
| 1450 | + 'order_details_table' => apply_filters( | |
| 1206 | 1451 | 'rtsb/elements/order_details_table/options', |
| 1207 | 1452 | [ |
| 1208 | 1453 | 'id' => 'order_details_table', |
| 1209 | 1454 | 'title' => esc_html__( 'Order Details Table', 'shopbuilder' ), |
| @@ -1213,9 +1458,9 @@ | ||
| 1213 | 1458 | 'package' => $this->pro_package(), |
| 1214 | 1459 | 'fields' => [], |
| 1215 | 1460 | ] |
| 1216 | 1461 | ), |
| 1217 | - 'downloadable_products' => apply_filters( | |
| 1462 | + 'downloadable_products' => apply_filters( | |
| 1218 | 1463 | 'rtsb/elements/downloadable_products/options', |
| 1219 | 1464 | [ |
| 1220 | 1465 | 'id' => 'downloadable_products', |
| 1221 | 1466 | 'title' => esc_html__( 'Downloadable Products', 'shopbuilder' ), |
| @@ -1225,9 +1470,9 @@ | ||
| 1225 | 1470 | 'package' => $this->pro_package(), |
| 1226 | 1471 | 'fields' => [], |
| 1227 | 1472 | ] |
| 1228 | 1473 | ), |
| 1229 | - 'order_billing_address' => apply_filters( | |
| 1474 | + 'order_billing_address' => apply_filters( | |
| 1230 | 1475 | 'rtsb/elements/order_billing_address/options', |
| 1231 | 1476 | [ |
| 1232 | 1477 | 'id' => 'order_billing_address', |
| 1233 | 1478 | 'title' => esc_html__( 'Order Billing Address', 'shopbuilder' ), |
| @@ -1237,13 +1482,25 @@ | ||
| 1237 | 1482 | 'package' => $this->pro_package(), |
| 1238 | 1483 | 'fields' => [], |
| 1239 | 1484 | ] |
| 1240 | 1485 | ), |
| 1241 | - 'order_shipping_address' => apply_filters( | |
| 1486 | + 'order_shipping_address' => apply_filters( | |
| 1242 | 1487 | 'rtsb/elements/order_shipping_address/options', |
| 1243 | 1488 | [ |
| 1244 | 1489 | 'id' => 'order_shipping_address', |
| 1245 | 1490 | 'title' => esc_html__( 'Order Shipping Address', 'shopbuilder' ), |
| 1491 | + 'category' => 'thank_you', | |
| 1492 | + 'is_front_page' => 'thank_you', | |
| 1493 | + 'active' => 'on', | |
| 1494 | + 'package' => $this->pro_package(), | |
| 1495 | + 'fields' => [], | |
| 1496 | + ] | |
| 1497 | + ), | |
| 1498 | + 'order_custom_fields_data' => apply_filters( | |
| 1499 | + 'rtsb/elements/order_custom_fields_data/options', | |
| 1500 | + [ | |
| 1501 | + 'id' => 'order_custom_fields_data', | |
| 1502 | + 'title' => esc_html__( 'Checkout Form Custom Fields Data', 'shopbuilder' ), | |
| 1246 | 1503 | 'category' => 'thank_you', |
| 1247 | 1504 | 'is_front_page' => 'thank_you', |
| 1248 | 1505 | 'active' => 'on', |
| 1249 | 1506 | 'package' => $this->pro_package(), |