| @@ -5,9 +5,8 @@ | ||
| 5 | 5 | use Elementor\Plugin; |
| 6 | 6 | use Elementor\Controls_Manager; |
| 7 | 7 | use Elementor\Group_Control_Background; |
| 8 | 8 | use Elementor\Group_Control_Typography; |
| 9 | -use Elementor\Core\Responsive\Responsive; | |
| 10 | 9 | use Elementor\Core\Kits\Documents\Tabs\Tab_Base; |
| 11 | 10 | use UltimateStoreKit\Base\Ultimate_Store_Kit_Module_Base; |
| 12 | 11 | use Elementor\Core\Kits\Documents\Kit; |
| 13 | 12 | // use Elementor\Core\Experiments\Manager as Experiments_Manager; |
| @@ -50,9 +49,9 @@ | ||
| 50 | 49 | 'tab' => 'ultimate-store-kit-modal', |
| 51 | 50 | ] |
| 52 | 51 | ); |
| 53 | 52 | $this->add_control( |
| 54 | - 'modal_layout', | |
| 53 | + 'ultimate_store_kit_modal_layout', | |
| 55 | 54 | [ |
| 56 | 55 | 'label' => esc_html__('Layout', 'ultimate-store-kit'), |
| 57 | 56 | 'type' => Controls_Manager::HEADING, |
| 58 | 57 | 'separator' => 'before', |
| @@ -58,9 +57,9 @@ | ||
| 58 | 57 | 'separator' => 'before', |
| 59 | 58 | ] |
| 60 | 59 | ); |
| 61 | 60 | // $this->add_responsive_control( |
| 62 | - // 'modal_width', | |
| 61 | + // 'ultimate_store_kit_modal_width', | |
| 63 | 62 | // [ |
| 64 | 63 | // 'label' => esc_html__( 'Width', 'ultimate-store-kit' ), |
| 65 | 64 | // 'type' => Controls_Manager::SLIDER, |
| 66 | 65 | // ] |
| @@ -65,13 +64,13 @@ | ||
| 65 | 64 | // 'type' => Controls_Manager::SLIDER, |
| 66 | 65 | // ] |
| 67 | 66 | // ); |
| 68 | 67 | $this->add_responsive_control( |
| 69 | - 'modal_width', | |
| 68 | + 'ultimate_store_kit_modal_width', | |
| 70 | 69 | [ |
| 71 | 70 | 'label' => esc_html__('Width', 'ultimate-store-kit'), |
| 72 | 71 | 'type' => Controls_Manager::SLIDER, |
| 73 | - 'description' => esc_html__('You must need to update and preview changes for seeing updated result'), | |
| 72 | + 'description' => esc_html__('You must need to update and preview changes for seeing updated result', 'ultimate-store-kit'), | |
| 74 | 73 | 'size_units' => ['px', '%', 'vh'], |
| 75 | 74 | 'range' => [ |
| 76 | 75 | 'px' => [ |
| 77 | 76 | 'min' => 300, |
| @@ -81,13 +80,13 @@ | ||
| 81 | 80 | ] |
| 82 | 81 | ] |
| 83 | 82 | ); |
| 84 | 83 | $this->add_responsive_control( |
| 85 | - 'modal_height', | |
| 84 | + 'ultimate_store_kit_modal_height', | |
| 86 | 85 | [ |
| 87 | 86 | 'label' => esc_html__('Height', 'ultimate-store-kit'), |
| 88 | 87 | 'type' => Controls_Manager::SLIDER, |
| 89 | - 'description' => esc_html__('You must need to update and preview changes for seeing updated result'), | |
| 88 | + 'description' => esc_html__('You must need to update and preview changes for seeing updated result', 'ultimate-store-kit'), | |
| 90 | 89 | 'size_units' => ['px', '%', 'vh'], |
| 91 | 90 | 'range' => [ |
| 92 | 91 | 'px' => [ |
| 93 | 92 | 'min' => 300, |
| @@ -97,13 +96,13 @@ | ||
| 97 | 96 | ] |
| 98 | 97 | ] |
| 99 | 98 | ); |
| 100 | 99 | $this->add_control( |
| 101 | - 'modal_animation', | |
| 100 | + 'ultimate_store_kit_modal_animation', | |
| 102 | 101 | [ |
| 103 | 102 | 'label' => esc_html__('Animation Type', 'ultimate-store-kit'), |
| 104 | 103 | 'type' => Controls_Manager::SELECT, |
| 105 | - 'description' => esc_html__('You must need to update and preview changes for seeing updated result'), | |
| 104 | + 'description' => esc_html__('You must need to update and preview changes for seeing updated result', 'ultimate-store-kit'), | |
| 106 | 105 | 'default' => 'zoomIn', |
| 107 | 106 | 'options' => [ |
| 108 | 107 | 'zoomIn' => esc_html__('ZoomIn', 'ultimate-store-kit'), |
| 109 | 108 | 'zoomOut' => esc_html__('ZoomOut', 'ultimate-store-kit'), |
| @@ -143,9 +142,9 @@ | ||
| 143 | 142 | ], |
| 144 | 143 | ] |
| 145 | 144 | ); |
| 146 | 145 | $this->add_control( |
| 147 | - 'close_btn_heading', | |
| 146 | + 'ultimate_store_kit_modal_close_btn_heading', | |
| 148 | 147 | [ |
| 149 | 148 | 'label' => esc_html__('Close Button', 'ultimate-store-kit'), |
| 150 | 149 | 'type' => Controls_Manager::HEADING, |
| 151 | 150 | 'separator' => 'before', |
| @@ -151,9 +150,9 @@ | ||
| 151 | 150 | 'separator' => 'before', |
| 152 | 151 | ] |
| 153 | 152 | ); |
| 154 | 153 | $this->add_control( |
| 155 | - 'show_close_btn', | |
| 154 | + 'ultimate_store_kit_modal_show_close_btn', | |
| 156 | 155 | [ |
| 157 | 156 | 'label' => esc_html__('Enable Close Button', 'ultimate-store-kit'), |
| 158 | 157 | 'type' => Controls_Manager::SWITCHER, |
| 159 | 158 | 'label_on' => esc_html__('Yes', 'ultimate-store-kit'), |
| @@ -172,14 +171,14 @@ | ||
| 172 | 171 | // 'inside' => esc_html__( 'Inside', 'ultimate-store-kit' ), |
| 173 | 172 | // '' => esc_html__( 'OutSide', 'ultimate-store-kit' ), |
| 174 | 173 | // ], |
| 175 | 174 | // 'condition' => [ |
| 176 | - // 'show_close_btn' => 'yes' | |
| 175 | + // 'ultimate_store_kit_modal_show_close_btn' => 'yes' | |
| 177 | 176 | // ] |
| 178 | 177 | // ] |
| 179 | 178 | // ); |
| 180 | 179 | $this->add_control( |
| 181 | - 'button_style', | |
| 180 | + 'ultimate_store_kit_modal_button_style', | |
| 182 | 181 | [ |
| 183 | 182 | 'label' => esc_html__('Button Style', 'ultimate-store-kit'), |
| 184 | 183 | 'type' => Controls_Manager::SELECT, |
| 185 | 184 | 'default' => 'cancel simple', |
| @@ -190,21 +189,22 @@ | ||
| 190 | 189 | 'text simple' => esc_html__('Text Simple', 'ultimate-store-kit'), |
| 191 | 190 | 'text label' => esc_html__('Text Label', 'ultimate-store-kit'), |
| 192 | 191 | ], |
| 193 | 192 | 'condition' => [ |
| 194 | - 'show_close_btn' => 'yes' | |
| 193 | + 'ultimate_store_kit_modal_show_close_btn' => 'yes' | |
| 195 | 194 | ] |
| 196 | 195 | ] |
| 197 | 196 | ); |
| 198 | 197 | $this->add_control( |
| 199 | - 'button_text', | |
| 198 | + 'ultimate_store_kit_modal_button_text', | |
| 200 | 199 | [ |
| 201 | 200 | 'label' => esc_html__('Button Text', 'ultimate-store-kit'), |
| 202 | 201 | 'type' => Controls_Manager::TEXT, |
| 202 | + 'dynamic' => [ 'active' => true ], | |
| 203 | 203 | 'placeholder' => esc_html__('close', 'ultimate-store-kit'), |
| 204 | 204 | 'condition' => [ |
| 205 | - 'show_close_btn' => 'yes', | |
| 206 | - 'button_style' => [ | |
| 205 | + 'ultimate_store_kit_modal_show_close_btn' => 'yes', | |
| 206 | + 'ultimate_store_kit_modal_button_style' => [ | |
| 207 | 207 | 'text simple', |
| 208 | 208 | 'text label' |
| 209 | 209 | ] |
| 210 | 210 | ] |
| @@ -218,9 +218,9 @@ | ||
| 218 | 218 | 'tab' => 'ultimate-store-kit-modal', |
| 219 | 219 | ] |
| 220 | 220 | ); |
| 221 | 221 | $this->add_control( |
| 222 | - 'modal_background', | |
| 222 | + 'ultimate_store_kit_modal_background', | |
| 223 | 223 | [ |
| 224 | 224 | 'label' => esc_html__('Background', 'ultimate-store-kit'), |
| 225 | 225 | 'type' => Controls_Manager::COLOR, |
| 226 | 226 | 'render_type' => 'template' |
| @@ -226,9 +226,9 @@ | ||
| 226 | 226 | 'render_type' => 'template' |
| 227 | 227 | ] |
| 228 | 228 | ); |
| 229 | 229 | $this->add_control( |
| 230 | - 'modal_overlay', | |
| 230 | + 'ultimate_store_kit_modal_overlay', | |
| 231 | 231 | [ |
| 232 | 232 | 'label' => esc_html__('Overlay', 'ultimate-store-kit'), |
| 233 | 233 | 'type' => Controls_Manager::COLOR, |
| 234 | 234 | 'render_type' => 'template' |
| @@ -234,9 +234,9 @@ | ||
| 234 | 234 | 'render_type' => 'template' |
| 235 | 235 | ] |
| 236 | 236 | ); |
| 237 | 237 | $this->add_control( |
| 238 | - 'modal_close_btn', | |
| 238 | + 'ultimate_store_kit_modal_close_btn', | |
| 239 | 239 | [ |
| 240 | 240 | 'label' => esc_html__('Close Button', 'ultimate-store-kit'), |
| 241 | 241 | 'type' => Controls_Manager::HEADING, |
| 242 | 242 | // 'separator' => 'before', |
| @@ -242,18 +242,18 @@ | ||
| 242 | 242 | // 'separator' => 'before', |
| 243 | 243 | ] |
| 244 | 244 | ); |
| 245 | 245 | $this->start_controls_tabs( |
| 246 | - 'modal_close_btn_tabs' | |
| 246 | + 'ultimate_store_kit_modal_close_btn_tabs' | |
| 247 | 247 | ); |
| 248 | 248 | $this->start_controls_tab( |
| 249 | - 'close_btn_normal', | |
| 249 | + 'ultimate_store_kit_modal_close_btn_normal', | |
| 250 | 250 | [ |
| 251 | 251 | 'label' => esc_html__('Normal', 'ultimate-store-kit'), |
| 252 | 252 | ] |
| 253 | 253 | ); |
| 254 | 254 | $this->add_control( |
| 255 | - 'modal_close_btn_color', | |
| 255 | + 'ultimate_store_kit_modal_close_btn_color', | |
| 256 | 256 | [ |
| 257 | 257 | 'label' => esc_html__('Color', 'ultimate-store-kit'), |
| 258 | 258 | 'type' => Controls_Manager::COLOR, |
| 259 | 259 | 'selectors' => [ |
| @@ -261,9 +261,9 @@ | ||
| 261 | 261 | ], |
| 262 | 262 | ] |
| 263 | 263 | ); |
| 264 | 264 | $this->add_control( |
| 265 | - 'modal_close_btn_bg_color', | |
| 265 | + 'ultimate_store_kit_modal_close_btn_bg_color', | |
| 266 | 266 | [ |
| 267 | 267 | 'label' => esc_html__('Background', 'ultimate-store-kit'), |
| 268 | 268 | 'type' => Controls_Manager::COLOR, |
| 269 | 269 | 'selectors' => [ |
| @@ -272,15 +272,15 @@ | ||
| 272 | 272 | ] |
| 273 | 273 | ); |
| 274 | 274 | $this->end_controls_tab(); |
| 275 | 275 | $this->start_controls_tab( |
| 276 | - 'close_btn_hover', | |
| 276 | + 'ultimate_store_kit_modal_close_btn_hover', | |
| 277 | 277 | [ |
| 278 | 278 | 'label' => esc_html__('Hover', 'ultimate-store-kit'), |
| 279 | 279 | ] |
| 280 | 280 | ); |
| 281 | 281 | $this->add_control( |
| 282 | - 'modal_close_btn_hover_color', | |
| 282 | + 'ultimate_store_kit_modal_close_btn_hover_color', | |
| 283 | 283 | [ |
| 284 | 284 | 'label' => esc_html__('Color', 'ultimate-store-kit'), |
| 285 | 285 | 'type' => Controls_Manager::COLOR, |
| 286 | 286 | 'selectors' => [ |
| @@ -288,9 +288,9 @@ | ||
| 288 | 288 | ], |
| 289 | 289 | ] |
| 290 | 290 | ); |
| 291 | 291 | $this->add_control( |
| 292 | - 'modal_close_btn_hover_bg_color', | |
| 292 | + 'ultimate_store_kit_modal_close_btn_hover_bg_color', | |
| 293 | 293 | [ |
| 294 | 294 | 'label' => esc_html__('Background', 'ultimate-store-kit'), |
| 295 | 295 | 'type' => Controls_Manager::COLOR, |
| 296 | 296 | 'selectors' => [ |
| @@ -300,9 +300,9 @@ | ||
| 300 | 300 | ); |
| 301 | 301 | $this->end_controls_tab(); |
| 302 | 302 | $this->end_controls_tabs(); |
| 303 | 303 | $this->add_control( |
| 304 | - 'modal_heading_title', | |
| 304 | + 'ultimate_store_kit_modal_heading_title', | |
| 305 | 305 | [ |
| 306 | 306 | 'label' => esc_html__('Title', 'ultimate-store-kit'), |
| 307 | 307 | 'type' => Controls_Manager::HEADING, |
| 308 | 308 | 'separator' => 'before', |
| @@ -308,18 +308,18 @@ | ||
| 308 | 308 | 'separator' => 'before', |
| 309 | 309 | ] |
| 310 | 310 | ); |
| 311 | 311 | $this->start_controls_tabs( |
| 312 | - 'modal_title_tabs' | |
| 312 | + 'ultimate_store_kit_modal_title_tabs' | |
| 313 | 313 | ); |
| 314 | 314 | $this->start_controls_tab( |
| 315 | - 'title_tab_normal', | |
| 315 | + 'ultimate_store_kit_modal_title_tab_normal', | |
| 316 | 316 | [ |
| 317 | 317 | 'label' => esc_html__('Normal', 'ultimate-store-kit'), |
| 318 | 318 | ] |
| 319 | 319 | ); |
| 320 | 320 | $this->add_control( |
| 321 | - 'modal_title_color', | |
| 321 | + 'ultimate_store_kit_modal_title_color', | |
| 322 | 322 | [ |
| 323 | 323 | 'label' => esc_html__('Color', 'ultimate-store-kit'), |
| 324 | 324 | 'type' => Controls_Manager::COLOR, |
| 325 | 325 | 'selectors' => [ |
| @@ -328,15 +328,15 @@ | ||
| 328 | 328 | ] |
| 329 | 329 | ); |
| 330 | 330 | $this->end_controls_tab(); |
| 331 | 331 | $this->start_controls_tab( |
| 332 | - 'title_tab_hover', | |
| 332 | + 'ultimate_store_kit_modal_title_tab_hover', | |
| 333 | 333 | [ |
| 334 | 334 | 'label' => esc_html__('Hover', 'ultimate-store-kit'), |
| 335 | 335 | ] |
| 336 | 336 | ); |
| 337 | 337 | $this->add_control( |
| 338 | - 'modal_title_hover_color', | |
| 338 | + 'ultimate_store_kit_modal_title_hover_color', | |
| 339 | 339 | [ |
| 340 | 340 | 'label' => esc_html__('Color', 'ultimate-store-kit'), |
| 341 | 341 | 'type' => Controls_Manager::COLOR, |
| 342 | 342 | 'selectors' => [ |
| @@ -359,15 +359,15 @@ | ||
| 359 | 359 | // ); |
| 360 | 360 | $this->add_group_control( |
| 361 | 361 | Group_Control_Typography::get_type(), |
| 362 | 362 | [ |
| 363 | - 'name' => 'modal_title_typography', | |
| 363 | + 'name' => 'ultimate_store_kit_modal_title_typography', | |
| 364 | 364 | 'label' => esc_html__('Typography', 'ultimate-store-kit'), |
| 365 | 365 | 'selector' => '.usk-modal-page .usk-product-title .product_title', |
| 366 | 366 | ] |
| 367 | 367 | ); |
| 368 | 368 | $this->add_control( |
| 369 | - 'modal_rating_star', | |
| 369 | + 'ultimate_store_kit_modal_rating_star', | |
| 370 | 370 | [ |
| 371 | 371 | 'label' => esc_html__('Rating', 'ultimate-store-kit'), |
| 372 | 372 | 'type' => Controls_Manager::HEADING, |
| 373 | 373 | 'separator' => 'before', |
| @@ -373,18 +373,18 @@ | ||
| 373 | 373 | 'separator' => 'before', |
| 374 | 374 | ] |
| 375 | 375 | ); |
| 376 | 376 | $this->start_controls_tabs( |
| 377 | - 'modal_rating_tabs' | |
| 377 | + 'ultimate_store_kit_modal_rating_tabs' | |
| 378 | 378 | ); |
| 379 | 379 | $this->start_controls_tab( |
| 380 | - 'modal_rating_normal', | |
| 380 | + 'ultimate_store_kit_modal_rating_normal', | |
| 381 | 381 | [ |
| 382 | 382 | 'label' => esc_html__('Normal', 'ultimate-store-kit'), |
| 383 | 383 | ] |
| 384 | 384 | ); |
| 385 | 385 | $this->add_control( |
| 386 | - 'rating_color', | |
| 386 | + 'ultimate_store_kit_modal_rating_color', | |
| 387 | 387 | [ |
| 388 | 388 | 'label' => esc_html__('Color', 'ultimate-store-kit'), |
| 389 | 389 | 'type' => Controls_Manager::COLOR, |
| 390 | 390 | 'default' => '#e7e7e7', |
| @@ -394,15 +394,15 @@ | ||
| 394 | 394 | ] |
| 395 | 395 | ); |
| 396 | 396 | $this->end_controls_tab(); |
| 397 | 397 | $this->start_controls_tab( |
| 398 | - 'modal_rating_active', | |
| 398 | + 'ultimate_store_kit_modal_rating_active', | |
| 399 | 399 | [ |
| 400 | 400 | 'label' => esc_html__('Active', 'ultimate-store-kit'), |
| 401 | 401 | ] |
| 402 | 402 | ); |
| 403 | 403 | $this->add_control( |
| 404 | - 'active_rating_color', | |
| 404 | + 'ultimate_store_kit_modal_active_rating_color', | |
| 405 | 405 | [ |
| 406 | 406 | 'label' => esc_html__('Color', 'ultimate-store-kit'), |
| 407 | 407 | 'type' => Controls_Manager::COLOR, |
| 408 | 408 | 'default' => '#FFCC00', |
| @@ -413,9 +413,9 @@ | ||
| 413 | 413 | ); |
| 414 | 414 | $this->end_controls_tab(); |
| 415 | 415 | $this->end_controls_tabs(); |
| 416 | 416 | $this->add_control( |
| 417 | - 'modal_sale_price_heading', | |
| 417 | + 'ultimate_store_kit_modal_sale_price_heading', | |
| 418 | 418 | [ |
| 419 | 419 | 'label' => esc_html__('Price', 'ultimate-store-kit'), |
| 420 | 420 | 'type' => Controls_Manager::HEADING, |
| 421 | 421 | 'separator' => 'before', |
| @@ -421,18 +421,18 @@ | ||
| 421 | 421 | 'separator' => 'before', |
| 422 | 422 | ] |
| 423 | 423 | ); |
| 424 | 424 | $this->start_controls_tabs( |
| 425 | - 'modal_price_tabs' | |
| 425 | + 'ultimate_store_kit_modal_price_tabs' | |
| 426 | 426 | ); |
| 427 | 427 | $this->start_controls_tab( |
| 428 | - 'price_regular_tab', | |
| 428 | + 'ultimate_store_kit_modal_price_regular_tab', | |
| 429 | 429 | [ |
| 430 | 430 | 'label' => esc_html__('Regular', 'ultimate-store-kit'), |
| 431 | 431 | ] |
| 432 | 432 | ); |
| 433 | 433 | $this->add_control( |
| 434 | - 'regular_price_color', | |
| 434 | + 'ultimate_store_kit_modal_regular_price_color', | |
| 435 | 435 | [ |
| 436 | 436 | 'label' => esc_html__('Regular Color', 'ultimate-store-kit'), |
| 437 | 437 | 'type' => Controls_Manager::COLOR, |
| 438 | 438 | 'selectors' => [ |
| @@ -443,15 +443,15 @@ | ||
| 443 | 443 | ] |
| 444 | 444 | ); |
| 445 | 445 | $this->end_controls_tab(); |
| 446 | 446 | $this->start_controls_tab( |
| 447 | - 'price_sale_tab', | |
| 447 | + 'ultimate_store_kit_modal_price_sale_tab', | |
| 448 | 448 | [ |
| 449 | 449 | 'label' => esc_html__('Sale', 'ultimate-store-kit'), |
| 450 | 450 | ] |
| 451 | 451 | ); |
| 452 | 452 | $this->add_control( |
| 453 | - 'sale_price_color', | |
| 453 | + 'ultimate_store_kit_modal_sale_price_color', | |
| 454 | 454 | [ |
| 455 | 455 | 'label' => esc_html__('Color', 'ultimate-store-kit'), |
| 456 | 456 | 'type' => Controls_Manager::COLOR, |
| 457 | 457 | 'selectors' => [ |
| @@ -466,9 +466,9 @@ | ||
| 466 | 466 | $this->end_controls_tabs(); |
| 467 | 467 | $this->add_group_control( |
| 468 | 468 | Group_Control_Typography::get_type(), |
| 469 | 469 | [ |
| 470 | - 'name' => 'sale_price_typography', | |
| 470 | + 'name' => 'ultimate_store_kit_modal_sale_price_typography', | |
| 471 | 471 | 'label' => esc_html__('Typography', 'ultimate-store-kit'), |
| 472 | 472 | 'selector' => ' |
| 473 | 473 | .usk-modal-page .usk-product-price .price *', |
| 474 | 474 | ] |
| @@ -473,9 +473,9 @@ | ||
| 473 | 473 | .usk-modal-page .usk-product-price .price *', |
| 474 | 474 | ] |
| 475 | 475 | ); |
| 476 | 476 | $this->add_control( |
| 477 | - 'modal_heading_desc', | |
| 477 | + 'ultimate_store_kit_modal_heading_desc', | |
| 478 | 478 | [ |
| 479 | 479 | 'label' => esc_html__('Description', 'ultimate-store-kit'), |
| 480 | 480 | 'type' => Controls_Manager::HEADING, |
| 481 | 481 | 'separator' => 'before', |
| @@ -481,9 +481,9 @@ | ||
| 481 | 481 | 'separator' => 'before', |
| 482 | 482 | ] |
| 483 | 483 | ); |
| 484 | 484 | $this->add_control( |
| 485 | - 'modal_desc_color', | |
| 485 | + 'ultimate_store_kit_modal_desc_color', | |
| 486 | 486 | [ |
| 487 | 487 | 'label' => esc_html__('Color', 'ultimate-store-kit'), |
| 488 | 488 | 'type' => Controls_Manager::COLOR, |
| 489 | 489 | 'selectors' => [ |
| @@ -493,15 +493,15 @@ | ||
| 493 | 493 | ); |
| 494 | 494 | $this->add_group_control( |
| 495 | 495 | Group_Control_Typography::get_type(), |
| 496 | 496 | [ |
| 497 | - 'name' => 'modal_desc_typography', | |
| 498 | - 'label' => esc_html__('Typography', 'ultimate-wooo-kit'), | |
| 497 | + 'name' => 'ultimate_store_kit_modal_desc_typography', | |
| 498 | + 'label' => esc_html__('Typography', 'ultimate-store-kit'), | |
| 499 | 499 | 'selector' => '.product-quick-view .usk-modal-page .usk-modal-product .product .usk-modal-content-box .usk-product-desc p', |
| 500 | 500 | ] |
| 501 | 501 | ); |
| 502 | 502 | $this->add_control( |
| 503 | - 'modal_heading_btn', | |
| 503 | + 'ultimate_store_kit_modal_heading_btn', | |
| 504 | 504 | [ |
| 505 | 505 | 'label' => esc_html__('Button', 'ultimate-store-kit'), |
| 506 | 506 | 'type' => Controls_Manager::HEADING, |
| 507 | 507 | 'separator' => 'before', |
| @@ -507,18 +507,18 @@ | ||
| 507 | 507 | 'separator' => 'before', |
| 508 | 508 | ] |
| 509 | 509 | ); |
| 510 | 510 | $this->start_controls_tabs( |
| 511 | - 'modal_btn_tabs' | |
| 511 | + 'ultimate_store_kit_modal_btn_tabs' | |
| 512 | 512 | ); |
| 513 | 513 | $this->start_controls_tab( |
| 514 | - 'modal_tab_normal', | |
| 514 | + 'ultimate_store_kit_modal_tab_normal', | |
| 515 | 515 | [ |
| 516 | 516 | 'label' => esc_html__('Normal', 'ultimate-store-kit'), |
| 517 | 517 | ] |
| 518 | 518 | ); |
| 519 | 519 | $this->add_control( |
| 520 | - 'modal_btn_color', | |
| 520 | + 'ultimate_store_kit_modal_btn_color', | |
| 521 | 521 | [ |
| 522 | 522 | 'label' => esc_html__('Color', 'ultimate-store-kit'), |
| 523 | 523 | 'type' => Controls_Manager::COLOR, |
| 524 | 524 | 'selectors' => [ |
| @@ -526,9 +526,9 @@ | ||
| 526 | 526 | ], |
| 527 | 527 | ] |
| 528 | 528 | ); |
| 529 | 529 | $this->add_control( |
| 530 | - 'modal_btn_bg_color', | |
| 530 | + 'ultimate_store_kit_modal_btn_bg_color', | |
| 531 | 531 | [ |
| 532 | 532 | 'label' => esc_html__('Background', 'ultimate-store-kit'), |
| 533 | 533 | 'type' => Controls_Manager::COLOR, |
| 534 | 534 | 'selectors' => [ |
| @@ -537,15 +537,15 @@ | ||
| 537 | 537 | ] |
| 538 | 538 | ); |
| 539 | 539 | $this->end_controls_tab(); |
| 540 | 540 | $this->start_controls_tab( |
| 541 | - 'modal_btn_tab_hover', | |
| 541 | + 'ultimate_store_kit_modal_btn_tab_hover', | |
| 542 | 542 | [ |
| 543 | 543 | 'label' => esc_html__('Hover', 'ultimate-store-kit'), |
| 544 | 544 | ] |
| 545 | 545 | ); |
| 546 | 546 | $this->add_control( |
| 547 | - 'modal_btn_hover_color', | |
| 547 | + 'ultimate_store_kit_modal_btn_hover_color', | |
| 548 | 548 | [ |
| 549 | 549 | 'label' => esc_html__('Hover Color', 'ultimate-store-kit'), |
| 550 | 550 | 'type' => Controls_Manager::COLOR, |
| 551 | 551 | 'selectors' => [ |
| @@ -553,9 +553,9 @@ | ||
| 553 | 553 | ], |
| 554 | 554 | ] |
| 555 | 555 | ); |
| 556 | 556 | $this->add_control( |
| 557 | - 'modal_btn_hover_bg_color', | |
| 557 | + 'ultimate_store_kit_modal_btn_hover_bg_color', | |
| 558 | 558 | [ |
| 559 | 559 | 'label' => esc_html__('Hover Background', 'ultimate-store-kit'), |
| 560 | 560 | 'type' => Controls_Manager::COLOR, |
| 561 | 561 | 'selectors' => [ |
| @@ -565,9 +565,9 @@ | ||
| 565 | 565 | ); |
| 566 | 566 | $this->end_controls_tab(); |
| 567 | 567 | $this->end_controls_tabs(); |
| 568 | 568 | $this->add_control( |
| 569 | - 'modal_heading_stock', | |
| 569 | + 'ultimate_store_kit_modal_heading_stock', | |
| 570 | 570 | [ |
| 571 | 571 | 'label' => esc_html__('Stock Status', 'ultimate-store-kit'), |
| 572 | 572 | 'type' => Controls_Manager::HEADING, |
| 573 | 573 | 'separator' => 'before', |
| @@ -573,9 +573,9 @@ | ||
| 573 | 573 | 'separator' => 'before', |
| 574 | 574 | ] |
| 575 | 575 | ); |
| 576 | 576 | $this->add_control( |
| 577 | - 'modal_stock_color', | |
| 577 | + 'ultimate_store_kit_modal_stock_color', | |
| 578 | 578 | [ |
| 579 | 579 | 'label' => esc_html__('Color', 'ultimate-store-kit'), |
| 580 | 580 | 'type' => Controls_Manager::COLOR, |
| 581 | 581 | 'selectors' => [ |
| @@ -585,15 +585,15 @@ | ||
| 585 | 585 | ); |
| 586 | 586 | $this->add_group_control( |
| 587 | 587 | Group_Control_Typography::get_type(), |
| 588 | 588 | [ |
| 589 | - 'name' => 'modal_stock_typography', | |
| 590 | - 'label' => esc_html__('Typography', 'ultimate-wooo-kit'), | |
| 589 | + 'name' => 'ultimate_store_kit_modal_stock_typography', | |
| 590 | + 'label' => esc_html__('Typography', 'ultimate-store-kit'), | |
| 591 | 591 | 'selector' => '.ultimate-store-kit-product-modal-wrap .usk-modal-page .usk-modal-content-box .usk-quick-action-wrap .out-of-stock', |
| 592 | 592 | ] |
| 593 | 593 | ); |
| 594 | 594 | $this->add_control( |
| 595 | - 'modal_heading_sku', | |
| 595 | + 'ultimate_store_kit_modal_heading_sku', | |
| 596 | 596 | [ |
| 597 | 597 | 'label' => esc_html__('SKU', 'ultimate-store-kit'), |
| 598 | 598 | 'type' => Controls_Manager::HEADING, |
| 599 | 599 | 'separator' => 'before', |
| @@ -599,18 +599,18 @@ | ||
| 599 | 599 | 'separator' => 'before', |
| 600 | 600 | ] |
| 601 | 601 | ); |
| 602 | 602 | $this->start_controls_tabs( |
| 603 | - 'modal_sku_tabs' | |
| 603 | + 'ultimate_store_kit_modal_sku_tabs' | |
| 604 | 604 | ); |
| 605 | 605 | $this->start_controls_tab( |
| 606 | - 'sku_tab_label', | |
| 606 | + 'ultimate_store_kit_modal_sku_tab_label', | |
| 607 | 607 | [ |
| 608 | 608 | 'label' => esc_html__('Label', 'ultimate-store-kit'), |
| 609 | 609 | ] |
| 610 | 610 | ); |
| 611 | 611 | $this->add_control( |
| 612 | - 'modal_sku_label_color', | |
| 612 | + 'ultimate_store_kit_modal_sku_label_color', | |
| 613 | 613 | [ |
| 614 | 614 | 'label' => esc_html__('Label Color', 'ultimate-store-kit'), |
| 615 | 615 | 'type' => Controls_Manager::COLOR, |
| 616 | 616 | 'selectors' => [ |
| @@ -620,9 +620,9 @@ | ||
| 620 | 620 | ); |
| 621 | 621 | $this->add_group_control( |
| 622 | 622 | Group_Control_Typography::get_type(), |
| 623 | 623 | [ |
| 624 | - 'name' => 'modal_sku_label_typography', | |
| 624 | + 'name' => 'ultimate_store_kit_modal_sku_label_typography', | |
| 625 | 625 | 'label' => esc_html__('Label Typography', 'ultimate-store-kit'), |
| 626 | 626 | 'selector' => '.product-quick-view .usk-modal-page .usk-modal-product .product .usk-modal-content-box .usk-product-meta .sku_wrapper .sku', |
| 627 | 627 | ] |
| 628 | 628 | ); |
| @@ -627,15 +627,15 @@ | ||
| 627 | 627 | ] |
| 628 | 628 | ); |
| 629 | 629 | $this->end_controls_tab(); |
| 630 | 630 | $this->start_controls_tab( |
| 631 | - 'sku_tab_value', | |
| 631 | + 'ultimate_store_kit_modal_sku_tab_value', | |
| 632 | 632 | [ |
| 633 | 633 | 'label' => esc_html__('Value', 'ultimate-store-kit'), |
| 634 | 634 | ] |
| 635 | 635 | ); |
| 636 | 636 | $this->add_control( |
| 637 | - 'modal_sku_color', | |
| 637 | + 'ultimate_store_kit_modal_sku_color', | |
| 638 | 638 | [ |
| 639 | 639 | 'label' => esc_html__('Sku Color', 'ultimate-store-kit'), |
| 640 | 640 | 'type' => Controls_Manager::COLOR, |
| 641 | 641 | 'selectors' => [ |
| @@ -645,10 +645,10 @@ | ||
| 645 | 645 | ); |
| 646 | 646 | $this->add_group_control( |
| 647 | 647 | Group_Control_Typography::get_type(), |
| 648 | 648 | [ |
| 649 | - 'name' => 'modal_sku_typography', | |
| 650 | - 'label' => esc_html__('Typography', 'ultimate-wooo-kit'), | |
| 649 | + 'name' => 'ultimate_store_kit_modal_sku_typography', | |
| 650 | + 'label' => esc_html__('Typography', 'ultimate-store-kit'), | |
| 651 | 651 | 'selector' => '.product-quick-view .usk-modal-page .usk-modal-product .product .usk-modal-content-box .usk-product-meta .sku_wrapper .sku', |
| 652 | 652 | ] |
| 653 | 653 | ); |
| 654 | 654 | $this->end_controls_tab(); |
| @@ -653,9 +653,9 @@ | ||
| 653 | 653 | ); |
| 654 | 654 | $this->end_controls_tab(); |
| 655 | 655 | $this->end_controls_tabs(); |
| 656 | 656 | $this->add_control( |
| 657 | - 'modal_heading_category', | |
| 657 | + 'ultimate_store_kit_modal_heading_category', | |
| 658 | 658 | [ |
| 659 | 659 | 'label' => esc_html__('Category', 'ultimate-store-kit'), |
| 660 | 660 | 'type' => Controls_Manager::HEADING, |
| 661 | 661 | 'separator' => 'before', |
| @@ -661,18 +661,18 @@ | ||
| 661 | 661 | 'separator' => 'before', |
| 662 | 662 | ] |
| 663 | 663 | ); |
| 664 | 664 | $this->start_controls_tabs( |
| 665 | - 'modal_category_tabs' | |
| 665 | + 'ultimate_store_kit_modal_category_tabs' | |
| 666 | 666 | ); |
| 667 | 667 | $this->start_controls_tab( |
| 668 | - 'category_tab_label', | |
| 668 | + 'ultimate_store_kit_modal_category_tab_label', | |
| 669 | 669 | [ |
| 670 | - 'label' => esc_html__('Label', 'ultimae-woo-kit'), | |
| 670 | + 'label' => esc_html__('Label', 'ultimate-store-kit'), | |
| 671 | 671 | ] |
| 672 | 672 | ); |
| 673 | 673 | $this->add_control( |
| 674 | - 'modal_category_label_color', | |
| 674 | + 'ultimate_store_kit_modal_category_label_color', | |
| 675 | 675 | [ |
| 676 | 676 | 'label' => esc_html__('Label Color', 'ultimate-store-kit'), |
| 677 | 677 | 'type' => Controls_Manager::COLOR, |
| 678 | 678 | 'selectors' => [ |
| @@ -682,9 +682,9 @@ | ||
| 682 | 682 | ); |
| 683 | 683 | $this->add_group_control( |
| 684 | 684 | Group_Control_Typography::get_type(), |
| 685 | 685 | [ |
| 686 | - 'name' => 'modal_category_label_typography', | |
| 686 | + 'name' => 'ultimate_store_kit_modal_category_label_typography', | |
| 687 | 687 | 'label' => esc_html__('Label Typography', 'ultimate-store-kit'), |
| 688 | 688 | 'selector' => '.product-quick-view .usk-modal-page .usk-modal-product .product .usk-modal-content-box .usk-product-meta .posted_in', |
| 689 | 689 | ] |
| 690 | 690 | ); |
| @@ -689,15 +689,15 @@ | ||
| 689 | 689 | ] |
| 690 | 690 | ); |
| 691 | 691 | $this->end_controls_tab(); |
| 692 | 692 | $this->start_controls_tab( |
| 693 | - 'category_tab_value', | |
| 693 | + 'ultimate_store_kit_modal_category_tab_value', | |
| 694 | 694 | [ |
| 695 | - 'label' => esc_html__('Value', 'ultimae-woo-kit'), | |
| 695 | + 'label' => esc_html__('Value', 'ultimate-store-kit'), | |
| 696 | 696 | ] |
| 697 | 697 | ); |
| 698 | 698 | $this->add_control( |
| 699 | - 'modal_category_color', | |
| 699 | + 'ultimate_store_kit_modal_category_color', | |
| 700 | 700 | [ |
| 701 | 701 | 'label' => esc_html__('Category Color', 'ultimate-store-kit'), |
| 702 | 702 | 'type' => Controls_Manager::COLOR, |
| 703 | 703 | 'selectors' => [ |
| @@ -707,10 +707,10 @@ | ||
| 707 | 707 | ); |
| 708 | 708 | $this->add_group_control( |
| 709 | 709 | Group_Control_Typography::get_type(), |
| 710 | 710 | [ |
| 711 | - 'name' => 'modal_category_typography', | |
| 712 | - 'label' => esc_html__('Typography', 'ultimate-wooo-kit'), | |
| 711 | + 'name' => 'ultimate_store_kit_modal_category_typography', | |
| 712 | + 'label' => esc_html__('Typography', 'ultimate-store-kit'), | |
| 713 | 713 | 'selector' => '.product-quick-view .usk-modal-page .usk-modal-product .product .usk-modal-content-box .usk-product-meta .posted_in a', |
| 714 | 714 | ] |
| 715 | 715 | ); |
| 716 | 716 | $this->end_controls_tab(); |