PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 2.5.3
ShopBuilder – WooCommerce Builder For Elementor v2.5.3
3.4.2 3.4.1 3.4.0 2.0.1 2.0.2 2.0.3 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2.0 2.2.1 2.2.2 All 63 releases
← All changes | app/Controllers/AssetsController.php +15 -12 2.3.02.5.3 View file →
@@ -104,12 +104,14 @@
104 104 'handle' => 'rtsb-frontend',
105 105 'src' => rtsb()->get_assets_uri( 'css/frontend/frontend' . $rtl_suffix . '.css' ),
106 106 ];
107 107
108 + /*
108 109 $this->styles[] = [
109 110 'handle' => 'swiper',
110 111 'src' => rtsb()->get_assets_uri( 'vendor/swiper/css/swiper-bundle.min.css' ),
111 112 ];
113 + */
112 114
113 115 if ( BuilderFns::is_builder_preview() && 'elementor' == Fns::page_edit_with( get_the_ID() ) ) {
114 116 $this->styles[] = [
115 117 'handle' => 'photoswipe',
@@ -269,8 +271,9 @@
269 271 /**
270 272 * Register scripts.
271 273 */
272 274 $this->register_public_scripts();
275 + // wp_enqueue_style( 'swiper' );
273 276 /**
274 277 * Enqueue scripts.
275 278 */
276 279 if ( BuilderFns::is_builder_preview() && 'elementor' === Fns::page_edit_with( get_the_ID() ) ) {
@@ -276,9 +279,8 @@
276 279 if ( BuilderFns::is_builder_preview() && 'elementor' === Fns::page_edit_with( get_the_ID() ) ) {
277 280 /**
278 281 * Styles.
279 282 */
280 - wp_enqueue_style( 'swiper' );
281 283 wp_enqueue_style( 'photoswipe' );
282 284 wp_enqueue_style( 'photoswipe-default-skin' );
283 285 wp_enqueue_style( 'elementor-editor-style-fix' );
284 286 wp_enqueue_style( 'woocommerce-general' );
@@ -432,19 +434,20 @@
432 434 wp_localize_script(
433 435 'rtsb-admin-app',
434 436 'rtsbParams',
435 437 [
436 - 'ajaxurl' => esc_url( self::$ajaxurl ),
437 - 'homeurl' => home_url(),
438 - 'adminLogo' => rtsb()->get_assets_uri( 'images/icon/ShopBuilder-Logo.svg' ),
439 - 'restApiUrl' => esc_url_raw( rest_url() ),
440 - 'rest_nonce' => wp_create_nonce( 'wp_rest' ),
441 - 'nonce' => wp_create_nonce( rtsb()->nonceText ),
442 - 'pages' => Fns::get_pages(),
443 - 'hasPro' => rtsb()->has_pro() ? 'yes' : 'no',
444 - 'updateRates' => esc_html__( 'Update All Rates', 'shopbuilder' ),
445 - 'sections' => Settings::instance()->get_sections(),
446 - 'userRoles' => Fns::get_all_user_roles(),
438 + 'ajaxurl' => esc_url( self::$ajaxurl ),
439 + 'homeurl' => home_url(),
440 + 'adminLogo' => rtsb()->get_assets_uri( 'images/icon/ShopBuilder-Logo.svg' ),
441 + 'restApiUrl' => esc_url_raw( rest_url() ),
442 + 'rest_nonce' => wp_create_nonce( 'wp_rest' ),
443 + 'nonce' => wp_create_nonce( rtsb()->nonceText ),
444 + 'pages' => Fns::get_pages(),
445 + 'hasPro' => rtsb()->has_pro() ? 'yes' : 'no',
446 + 'updateRates' => esc_html__( 'Update All Rates', 'shopbuilder' ),
447 + 'sections' => Settings::instance()->get_sections(),
448 + 'userRoles' => Fns::get_all_user_roles(),
449 + 'hasElementor' => defined( 'ELEMENTOR_VERSION' ),
447 450 ]
448 451 );
449 452 } else {
450 453 $current_screen = get_current_screen();