PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 2.0.2
ShopBuilder – WooCommerce Builder For Elementor v2.0.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/Elementor/Render/Render.php +3 -5 2.0.3 → 2.0.2 View file →
@@ -76,11 +76,10 @@
76 76 $cart_txt_class = '';
77 77 $container_class = 'rtsb-elementor-container products rtsb-pos-r ' . esc_attr( $class );
78 78 $metas = RenderHelpers::meta_dataset( $settings, $template );
79 79
80 - $layout = $metas['layout'];
81 - $animation = $metas['hover_animation'];
82 - $animation .= ' gallery-hover-' . ( ! empty( $settings['gallery_hover_animation'] ) ? $settings['gallery_hover_animation'] : 'fade' );
80 + $layout = $metas['layout'];
81 + $animation = $metas['hover_animation'];
83 82
84 83 $is_cat = preg_match( '/category/', $layout );
85 84 $is_carousel = preg_match( '/slider/', $layout );
86 85
@@ -96,9 +95,9 @@
96 95 'position' => $metas['badge_position'],
97 96 'alignment' => $metas['badge_alignment'],
98 97 ];
99 98
100 - if ( ! rtsb()->has_pro() && ! in_array( $layout, array_keys( Fns::free_layouts() ), true ) ) {
99 + if ( ! in_array( $layout, array_keys( Fns::free_layouts() ), true ) ) {
101 100 $layout = RenderHelpers::set_default_layout( $layout );
102 101 }
103 102
104 103 if ( $is_carousel ) {
@@ -633,9 +632,8 @@
633 632 $arg['add_to_cart'] = '';
634 633 $arg['p_id'] = $post_id;
635 634 $arg['p_link'] = get_permalink();
636 635 $arg['p_sale'] = '';
637 - $arg['rating_args'] = [];
638 636 $arg['has_attributes'] = $_product->is_type( 'variable' ) && $_product->get_attributes();
639 637 $arg['raw_settings'] = ! empty( $meta['raw_settings'] ) ? $meta['raw_settings'] : [];
640 638 $cart_icon_html = '';
641 639