PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 2.6.2
ShopBuilder – WooCommerce Builder For Elementor v2.6.2
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/Modules/QuickView/QuickViewFrontEnd.php +16 -16 2.2.02.6.2 View file →
@@ -49,9 +49,9 @@
49 49 * @return void
50 50 * @since 1.0.0
51 51 */
52 52 public function quick_view_action_template() {
53 -
53 + wp_enqueue_style( 'elementor-frontend' );
54 54 // Image.
55 55 add_action( 'rtsb/wcqv/product/image', 'woocommerce_show_product_sale_flash', 10 );
56 56 add_action( 'rtsb/wcqv/product/image', 'woocommerce_show_product_images', 20 );
57 57
@@ -85,10 +85,10 @@
85 85 if ( defined( 'RTWPVG_VERSION' ) ) {
86 86 remove_action( 'woocommerce_product_thumbnails', 'woocommerce_show_product_thumbnails', 20 );
87 87 }
88 88 if ( ! defined( 'RTWPVG_VERSION' ) ) {
89 - //add_action( 'woocommerce_product_thumbnails', [ $this, 'woocommerce_product_thumbnails_before' ], 1 );
90 - //add_action( 'woocommerce_product_thumbnails', [ $this, 'woocommerce_product_thumbnails_after' ], 25 );
89 + // add_action( 'woocommerce_product_thumbnails', [ $this, 'woocommerce_product_thumbnails_before' ], 1 );
90 + // add_action( 'woocommerce_product_thumbnails', [ $this, 'woocommerce_product_thumbnails_after' ], 25 );
91 91 }
92 92
93 93 ob_start();
94 94 Fns::load_template( 'quick-view/content' );
@@ -178,9 +178,8 @@
178 178 global $product;
179 179 if ( $product instanceof WC_Product ) {
180 180 do_action( 'rtsb/modules/quick_view/print_button', $product->get_id() );
181 181 }
182 -
183 182 }
184 183
185 184
186 185 /**
@@ -203,14 +202,15 @@
203 202 $icon_html = '<i class="rtsb-icon rtsb-icon-eye"></i>';
204 203 // get product type.
205 204 $product_type = $product->get_type();
206 205 $params = [
207 - 'classes' => $classes,
208 - 'product_id' => $product->get_id(),
209 - 'product_type' => $product_type,
210 - 'button_text' => $button_text,
211 - 'left_text' => apply_filters( 'rtsb/module/quick_view/button_left_text', '' ),
212 - 'right_text' => apply_filters( 'rtsb/module/quick_view/button_right_text', '' ),
206 + 'classes' => $classes,
207 + 'product_id' => $product->get_id(),
208 + 'product_type' => $product_type,
209 + 'button_text' => $button_text,
210 + 'has_button_text' => ! empty( Fns::get_option( 'modules', 'quick_view', 'button_text', '' ) ),
211 + 'left_text' => apply_filters( 'rtsb/module/quick_view/button_left_text', '' ),
212 + 'right_text' => apply_filters( 'rtsb/module/quick_view/button_right_text', '' ),
213 213 ];
214 214 // let third party developer filter options.
215 215 $atts = apply_filters( 'rtsb/module/quick_view/button_params', $params );
216 216 // set fragment options.
@@ -241,15 +241,15 @@
241 241 }
242 242
243 243 public function enqueue() {
244 244
245 - wp_enqueue_style( 'elementor-icons-fa-regular' );
245 + wp_enqueue_style( 'elementor-icons-fa-regular' );
246 246
247 - wp_enqueue_style( 'elementor-icons-fa-solid' );
248 - wp_enqueue_style( 'elementor-icons-shared-0' );
249 - // wp_enqueue_style( 'elementor-frontend' );
247 + wp_enqueue_style( 'elementor-icons-fa-solid' );
248 + wp_enqueue_style( 'elementor-icons-shared-0' );
249 + // wp_enqueue_style( 'elementor-frontend' );
250 250
251 - if ( ! class_exists('WooProductVariationGallery') && current_theme_supports( 'wc-product-gallery-slider' ) ) {
251 + if ( ! class_exists( 'WooProductVariationGallery' ) && current_theme_supports( 'wc-product-gallery-slider' ) ) {
252 252 wp_enqueue_script( 'flexslider' );
253 253 }
254 254
255 255 wp_enqueue_script( 'wc-add-to-cart-variation' );
@@ -277,9 +277,9 @@
277 277 ],
278 278 RTSB_VERSION,
279 279 true
280 280 );
281 - wp_enqueue_style( 'rtsb-modules' );
281 + wp_enqueue_style( 'rtsb-modules' );
282 282 wp_enqueue_script( 'rtsb-quick-view' );
283 283
284 284 // Allow user to load custom style and scripts!
285 285 do_action( 'rtsb/modules/quick_view/custom_scripts' );