Woocommerce Products Slider - Version 1.13.9

Version Description

  • 2020-04-05 add - add support for "YITH WooCommerce Badge Management"
    • 2020-04-05 add - add element for "YITH WooCommerce Quick View" under layout builder
    • 2020-04-05 add - add element for "YITH WooCommerce Wishlist" under layout builder
    • 2020-04-05 add - add element for "YITH WooCommerce Brands" under layout builder
    • 2020-04-05 add - add element for "YITH WooCommerce Compare" under layout builder
    • 2020-04-05 update - product featured image update.
Download this release

Release Info

Developer pickplugins
Plugin Icon 128x128 Woocommerce Products Slider
Version 1.13.9
Comparing to
See all releases

Code changes from version 1.13.8 to 1.13.9

includes/3rd-party/3rd-party.php ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if ( ! defined('ABSPATH')) exit; // if direct access
3
+
4
+ include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
5
+
6
+
7
+ if ( is_plugin_active( 'yith-woocommerce-quick-view/init.php' ) ) {
8
+ require_once( wcps_plugin_dir . 'includes/3rd-party/yith-woocommerce-quick-view.php');
9
+ }
10
+
11
+
12
+ if ( is_plugin_active( 'yith-woocommerce-wishlist/init.php' ) ) {
13
+ require_once( wcps_plugin_dir . 'includes/3rd-party/yith-woocommerce-wishlist.php');
14
+ }
15
+
16
+ if ( is_plugin_active( 'yith-woocommerce-brands-add-on/init.php' ) ) {
17
+ require_once( wcps_plugin_dir . 'includes/3rd-party/yith-woocommerce-brands-add-on.php');
18
+ }
19
+
20
+ if ( is_plugin_active( 'yith-woocommerce-compare/init.php' ) ) {
21
+ require_once( wcps_plugin_dir . 'includes/3rd-party/yith-woocommerce-compare.php');
22
+ }
23
+
includes/3rd-party/yith-woocommerce-badges-management.php ADDED
@@ -0,0 +1,119 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if ( ! defined('ABSPATH')) exit; // if direct access
3
+
4
+ add_filter('wcps_layout_elements', 'wcps_layout_elements_yith_badges');
5
+
6
+ function wcps_layout_elements_yith_badges($layout_elements){
7
+
8
+
9
+ $layout_elements['yith_badges'] = array('name' =>__('YITH badges','woocommerce-products-slider'));
10
+
11
+ return $layout_elements;
12
+
13
+ }
14
+
15
+
16
+
17
+
18
+ add_action('wcps_layout_elements_option_yith_badges','wcps_layout_elements_option_yith_badges');
19
+ function wcps_layout_elements_option_yith_badges($parameters){
20
+
21
+ $settings_tabs_field = new settings_tabs_field();
22
+
23
+ $input_name = isset($parameters['input_name']) ? $parameters['input_name'] : '{input_name}';
24
+ $element_data = isset($parameters['element_data']) ? $parameters['element_data'] : array();
25
+ $element_index = isset($parameters['index']) ? $parameters['index'] : '';
26
+
27
+ $font_size = isset($element_data['font_size']) ? $element_data['font_size'] : '';
28
+ $font_family = isset($element_data['font_family']) ? $element_data['font_family'] : '';
29
+ $margin = isset($element_data['margin']) ? $element_data['margin'] : '';
30
+ $color = isset($element_data['color']) ? $element_data['color'] : '';
31
+ $background_color = isset($element_data['background_color']) ? $element_data['background_color'] : '';
32
+ $padding = isset($element_data['padding']) ? $element_data['padding'] : '';
33
+
34
+ ?>
35
+ <div class="item">
36
+ <div class="element-title header ">
37
+ <span class="remove" onclick="jQuery(this).parent().parent().remove()"><i class="fas fa-times"></i></span>
38
+ <span class="sort"><i class="fas fa-sort"></i></span>
39
+
40
+ <span class="expand"><?php echo __('YITH badges','woocommerce-products-slider'); ?></span>
41
+ </div>
42
+ <div class="element-options options">
43
+
44
+ <?php
45
+
46
+ $args = array(
47
+ 'id' => 'margin',
48
+ 'css_id' => $element_index.'_margin',
49
+ 'parent' => $input_name.'[yith_badges]',
50
+ 'title' => __('Margin','woocommerce-products-slider'),
51
+ 'details' => __('Set margin.','woocommerce-products-slider'),
52
+ 'type' => 'text',
53
+ 'value' => $margin,
54
+ 'default' => '',
55
+ 'placeholder' => '5px 0',
56
+ );
57
+
58
+ $settings_tabs_field->generate_field($args);
59
+
60
+
61
+
62
+
63
+
64
+ ?>
65
+
66
+ </div>
67
+ </div>
68
+ <?php
69
+
70
+ }
71
+
72
+
73
+
74
+
75
+ add_action('wcps_layout_element_yith_badges', 'wcps_layout_element_yith_badges', 10);
76
+ function wcps_layout_element_yith_badges($args){
77
+
78
+ //echo '<pre>'.var_export($args, true).'</pre>';
79
+ $product_id = isset($args['product_id']) ? $args['product_id'] : '';
80
+ $elementData = isset($args['elementData']) ? $args['elementData'] : array();
81
+ $element_index = isset($args['element_index']) ? $args['element_index'] : '';
82
+
83
+ $element_class = !empty($element_index) ? 'element-yith_badges element-'.$element_index : 'element-yith_badges';
84
+
85
+ wp_enqueue_script( 'yith_wccl_frontend' );
86
+ wp_enqueue_style( 'yith_wccl_frontend' );
87
+
88
+
89
+
90
+ }
91
+
92
+ remove_action( 'woocommerce_variable_add_to_cart', 'woocommerce_variable_add_to_cart', 30 );
93
+ add_action( 'woocommerce_variable_add_to_cart', array( $this, 'variable_add_to_cart' ), 30 );
94
+
95
+
96
+ add_action('wcps_layout_element_css_yith_badges', 'wcps_layout_element_css_yith_badges', 10);
97
+ function wcps_layout_element_css_yith_badges($args){
98
+
99
+
100
+ $element_index = isset($args['element_index']) ? $args['element_index'] : '';
101
+ $elementData = isset($args['elementData']) ? $args['elementData'] : array();
102
+ $layout_id = isset($args['layout_id']) ? $args['layout_id'] : '';
103
+
104
+ $margin = isset($elementData['margin']) ? $elementData['margin'] : '';
105
+
106
+
107
+ //echo '<pre>'.var_export($layout_id, true).'</pre>';
108
+
109
+ ?>
110
+ <style type="text/css">
111
+ .layout-<?php echo $layout_id; ?> .element-<?php echo $element_index; ?>{
112
+ <?php if(!empty($margin)): ?>
113
+ margin: <?php echo $margin; ?>;
114
+ <?php endif; ?>
115
+ }
116
+ </style>
117
+ <?php
118
+ }
119
+
includes/3rd-party/yith-woocommerce-brands-add-on.php ADDED
@@ -0,0 +1,220 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if ( ! defined('ABSPATH')) exit; // if direct access
3
+
4
+ add_filter('wcps_layout_elements', 'wcps_layout_elements_yith_brands');
5
+
6
+ function wcps_layout_elements_yith_brands($layout_elements){
7
+
8
+
9
+ $layout_elements['yith_brands'] = array('name' =>__('YITH brands','woocommerce-products-slider'));
10
+
11
+ return $layout_elements;
12
+
13
+ }
14
+
15
+
16
+
17
+
18
+ add_action('wcps_layout_elements_option_yith_brands','wcps_layout_elements_option_yith_brands');
19
+ function wcps_layout_elements_option_yith_brands($parameters){
20
+
21
+ $settings_tabs_field = new settings_tabs_field();
22
+
23
+ $input_name = isset($parameters['input_name']) ? $parameters['input_name'] : '{input_name}';
24
+ $element_data = isset($parameters['element_data']) ? $parameters['element_data'] : array();
25
+ $element_index = isset($parameters['index']) ? $parameters['index'] : '';
26
+
27
+
28
+ $label_text = isset($element_data['label_text']) ? $element_data['label_text'] : '';
29
+
30
+ $font_size = isset($element_data['font_size']) ? $element_data['font_size'] : '';
31
+ $font_family = isset($element_data['font_family']) ? $element_data['font_family'] : '';
32
+ $margin = isset($element_data['margin']) ? $element_data['margin'] : '';
33
+ $color = isset($element_data['color']) ? $element_data['color'] : '';
34
+ $background_color = isset($element_data['background_color']) ? $element_data['background_color'] : '';
35
+ $padding = isset($element_data['padding']) ? $element_data['padding'] : '';
36
+
37
+ ?>
38
+ <div class="item">
39
+ <div class="element-title header ">
40
+ <span class="remove" onclick="jQuery(this).parent().parent().remove()"><i class="fas fa-times"></i></span>
41
+ <span class="sort"><i class="fas fa-sort"></i></span>
42
+
43
+ <span class="expand"><?php echo __('YITH brands','woocommerce-products-slider'); ?></span>
44
+ </div>
45
+ <div class="element-options options">
46
+
47
+ <?php
48
+
49
+ $args = array(
50
+ 'id' => 'font_size',
51
+ 'css_id' => $element_index.'_font_size',
52
+ 'parent' => $input_name.'[yith_brands]',
53
+ 'title' => __('Font size','woocommerce-products-slider'),
54
+ 'details' => __('Choose font size.','woocommerce-products-slider'),
55
+ 'type' => 'text',
56
+ 'value' => $font_size,
57
+ 'default' => '',
58
+ 'placeholder' => '16px',
59
+
60
+ );
61
+
62
+ $settings_tabs_field->generate_field($args);
63
+
64
+
65
+ $args = array(
66
+ 'id' => 'font_family',
67
+ 'css_id' => $element_index.'_font_family',
68
+ 'parent' => $input_name.'[yith_brands]',
69
+ 'title' => __('Font family','woocommerce-products-slider'),
70
+ 'details' => __('Set font family.','woocommerce-products-slider'),
71
+ 'type' => 'text',
72
+ 'value' => $font_family,
73
+ 'default' => '',
74
+ 'placeholder' => 'Open Sans',
75
+ );
76
+
77
+ $settings_tabs_field->generate_field($args);
78
+
79
+
80
+ $args = array(
81
+ 'id' => 'color',
82
+ 'css_id' => $element_index.'_content_color',
83
+ 'parent' => $input_name.'[yith_brands]',
84
+ 'title' => __('Color','woocommerce-products-slider'),
85
+ 'details' => __('Title text color.','woocommerce-products-slider'),
86
+ 'type' => 'colorpicker',
87
+ 'value' => $color,
88
+ 'default' => '',
89
+ );
90
+
91
+ $settings_tabs_field->generate_field($args);
92
+
93
+ $args = array(
94
+ 'id' => 'background_color',
95
+ 'css_id' => $element_index.'_background_color',
96
+ 'parent' => $input_name.'[yith_brands]',
97
+ 'title' => __('Background color','woocommerce-products-slider'),
98
+ 'details' => __('Choose background color.','woocommerce-products-slider'),
99
+ 'type' => 'colorpicker',
100
+ 'value' => $background_color,
101
+ 'default' => '',
102
+ );
103
+
104
+ $settings_tabs_field->generate_field($args);
105
+
106
+
107
+ $args = array(
108
+ 'id' => 'margin',
109
+ 'css_id' => $element_index.'_margin',
110
+ 'parent' => $input_name.'[yith_brands]',
111
+ 'title' => __('Margin','woocommerce-products-slider'),
112
+ 'details' => __('Set margin.','woocommerce-products-slider'),
113
+ 'type' => 'text',
114
+ 'value' => $margin,
115
+ 'default' => '',
116
+ 'placeholder' => '5px 0',
117
+ );
118
+
119
+ $settings_tabs_field->generate_field($args);
120
+
121
+
122
+ $args = array(
123
+ 'id' => 'padding',
124
+ 'css_id' => $element_index.'_padding',
125
+ 'parent' => $input_name.'[yith_brands]',
126
+ 'title' => __('Padding','woocommerce-products-slider'),
127
+ 'details' => __('Set padding.','woocommerce-products-slider'),
128
+ 'type' => 'text',
129
+ 'value' => $padding,
130
+ 'default' => '',
131
+ 'placeholder' => '5px 0',
132
+ );
133
+
134
+ $settings_tabs_field->generate_field($args);
135
+
136
+
137
+ ?>
138
+
139
+ </div>
140
+ </div>
141
+ <?php
142
+
143
+ }
144
+
145
+
146
+
147
+
148
+ add_action('wcps_layout_element_yith_brands', 'wcps_layout_element_yith_brands', 10);
149
+ function wcps_layout_element_yith_brands($args){
150
+
151
+ //echo '<pre>'.var_export($args, true).'</pre>';
152
+ $product_id = isset($args['product_id']) ? $args['product_id'] : '';
153
+ $elementData = isset($args['elementData']) ? $args['elementData'] : array();
154
+ $element_index = isset($args['element_index']) ? $args['element_index'] : '';
155
+
156
+ $element_class = !empty($element_index) ? 'element-yith_brands element-'.$element_index : 'element-yith_brands';
157
+
158
+ ?>
159
+ <div class="<?php echo $element_class; ?>"><?php echo do_shortcode('[yith_wcbr_product_brand product_id="'.$product_id.'" ]');; ?></div>
160
+ <?php
161
+
162
+ }
163
+
164
+
165
+
166
+
167
+ add_action('wcps_layout_element_css_yith_brands', 'wcps_layout_element_css_yith_brands', 10);
168
+ function wcps_layout_element_css_yith_brands($args){
169
+
170
+
171
+ $element_index = isset($args['element_index']) ? $args['element_index'] : '';
172
+ $elementData = isset($args['elementData']) ? $args['elementData'] : array();
173
+ $layout_id = isset($args['layout_id']) ? $args['layout_id'] : '';
174
+
175
+ $color = isset($elementData['color']) ? $elementData['color'] : '';
176
+ $background_color = isset($elementData['background_color']) ? $elementData['background_color'] : '';
177
+
178
+ $font_size = isset($elementData['font_size']) ? $elementData['font_size'] : '';
179
+ $font_family = isset($elementData['font_family']) ? $elementData['font_family'] : '';
180
+ $margin = isset($elementData['margin']) ? $elementData['margin'] : '';
181
+ $text_align = isset($elementData['text_align']) ? $elementData['text_align'] : '';
182
+ $padding = isset($elementData['padding']) ? $elementData['padding'] : '';
183
+
184
+
185
+ //echo '<pre>'.var_export($layout_id, true).'</pre>';
186
+
187
+ ?>
188
+ <style type="text/css">
189
+
190
+ .layout-<?php echo $layout_id; ?> .element-<?php echo $element_index; ?>{
191
+ <?php if(!empty($margin)): ?>
192
+ margin: <?php echo $margin; ?>;
193
+ <?php endif; ?>
194
+
195
+ }
196
+ .layout-<?php echo $layout_id; ?> .element-<?php echo $element_index; ?> a{
197
+ <?php if(!empty($color)): ?>
198
+ color: <?php echo $color; ?>;
199
+ <?php endif; ?>
200
+ text-decoration: none;
201
+ <?php if(!empty($font_size)): ?>
202
+ font-size: <?php echo $font_size; ?>;
203
+ <?php endif; ?>
204
+ <?php if(!empty($font_family)): ?>
205
+ font-family: <?php echo $font_family; ?>;
206
+ <?php endif; ?>
207
+ <?php if(!empty($padding)): ?>
208
+ padding: <?php echo $padding; ?>;
209
+ <?php endif; ?>
210
+ <?php if(!empty($background_color)): ?>
211
+ background-color: <?php echo $background_color; ?>;
212
+ <?php endif; ?>
213
+ <?php if(!empty($text_align)): ?>
214
+ text-align: <?php echo $text_align; ?>;
215
+ <?php endif; ?>
216
+ }
217
+ </style>
218
+ <?php
219
+ }
220
+
includes/3rd-party/yith-woocommerce-compare.php ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if ( ! defined('ABSPATH')) exit; // if direct access
3
+
4
+ add_filter('wcps_layout_elements', 'wcps_layout_elements_yith_compare');
5
+
6
+ function wcps_layout_elements_yith_compare($layout_elements){
7
+
8
+
9
+ $layout_elements['yith_compare'] = array('name' =>__('YITH compare','woocommerce-products-slider'));
10
+
11
+ return $layout_elements;
12
+
13
+ }
14
+
15
+
16
+
17
+
18
+ add_action('wcps_layout_elements_option_yith_compare','wcps_layout_elements_option_yith_compare');
19
+ function wcps_layout_elements_option_yith_compare($parameters){
20
+
21
+ $settings_tabs_field = new settings_tabs_field();
22
+
23
+ $input_name = isset($parameters['input_name']) ? $parameters['input_name'] : '{input_name}';
24
+ $element_data = isset($parameters['element_data']) ? $parameters['element_data'] : array();
25
+ $element_index = isset($parameters['index']) ? $parameters['index'] : '';
26
+
27
+ $font_size = isset($element_data['font_size']) ? $element_data['font_size'] : '';
28
+ $font_family = isset($element_data['font_family']) ? $element_data['font_family'] : '';
29
+ $margin = isset($element_data['margin']) ? $element_data['margin'] : '';
30
+ $color = isset($element_data['color']) ? $element_data['color'] : '';
31
+ $background_color = isset($element_data['background_color']) ? $element_data['background_color'] : '';
32
+ $padding = isset($element_data['padding']) ? $element_data['padding'] : '';
33
+
34
+ ?>
35
+ <div class="item">
36
+ <div class="element-title header ">
37
+ <span class="remove" onclick="jQuery(this).parent().parent().remove()"><i class="fas fa-times"></i></span>
38
+ <span class="sort"><i class="fas fa-sort"></i></span>
39
+
40
+ <span class="expand"><?php echo __('YITH compare','woocommerce-products-slider'); ?></span>
41
+ </div>
42
+ <div class="element-options options">
43
+
44
+ <?php
45
+
46
+ $args = array(
47
+ 'id' => 'margin',
48
+ 'css_id' => $element_index.'_margin',
49
+ 'parent' => $input_name.'[yith_compare]',
50
+ 'title' => __('Margin','woocommerce-products-slider'),
51
+ 'details' => __('Set margin.','woocommerce-products-slider'),
52
+ 'type' => 'text',
53
+ 'value' => $margin,
54
+ 'default' => '',
55
+ 'placeholder' => '5px 0',
56
+ );
57
+
58
+ $settings_tabs_field->generate_field($args);
59
+
60
+
61
+
62
+
63
+
64
+ ?>
65
+
66
+ </div>
67
+ </div>
68
+ <?php
69
+
70
+ }
71
+
72
+
73
+
74
+
75
+ add_action('wcps_layout_element_yith_compare', 'wcps_layout_element_yith_compare', 10);
76
+ function wcps_layout_element_yith_compare($args){
77
+
78
+ //echo '<pre>'.var_export($args, true).'</pre>';
79
+ $product_id = isset($args['product_id']) ? $args['product_id'] : '';
80
+ $elementData = isset($args['elementData']) ? $args['elementData'] : array();
81
+ $element_index = isset($args['element_index']) ? $args['element_index'] : '';
82
+
83
+ $element_class = !empty($element_index) ? 'element-yith_compare element-'.$element_index : 'element-yith_compare';
84
+
85
+ ?>
86
+ <div class="<?php echo $element_class; ?>"><?php echo do_shortcode('[yith_compare_button product_id="'.$product_id.'" ]');; ?></div>
87
+ <?php
88
+
89
+ }
90
+
91
+
92
+
93
+
94
+ add_action('wcps_layout_element_css_yith_compare', 'wcps_layout_element_css_yith_compare', 10);
95
+ function wcps_layout_element_css_yith_compare($args){
96
+
97
+
98
+ $element_index = isset($args['element_index']) ? $args['element_index'] : '';
99
+ $elementData = isset($args['elementData']) ? $args['elementData'] : array();
100
+ $layout_id = isset($args['layout_id']) ? $args['layout_id'] : '';
101
+
102
+ $margin = isset($elementData['margin']) ? $elementData['margin'] : '';
103
+
104
+
105
+ //echo '<pre>'.var_export($layout_id, true).'</pre>';
106
+
107
+ ?>
108
+ <style type="text/css">
109
+ .layout-<?php echo $layout_id; ?> .element-<?php echo $element_index; ?>{
110
+ <?php if(!empty($margin)): ?>
111
+ margin: <?php echo $margin; ?>;
112
+ <?php endif; ?>
113
+ }
114
+ </style>
115
+ <?php
116
+ }
117
+
includes/3rd-party/yith-woocommerce-quick-view.php ADDED
@@ -0,0 +1,239 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if ( ! defined('ABSPATH')) exit; // if direct access
3
+
4
+ add_filter('wcps_layout_elements', 'wcps_layout_elements_yith_quick_view');
5
+
6
+ function wcps_layout_elements_yith_quick_view($layout_elements){
7
+
8
+
9
+ $layout_elements['yith_quick_view'] = array('name' =>__('YITH quick view','woocommerce-products-slider'));
10
+
11
+ return $layout_elements;
12
+
13
+ }
14
+
15
+
16
+
17
+
18
+ add_action('wcps_layout_elements_option_yith_quick_view','wcps_layout_elements_option_yith_quick_view');
19
+ function wcps_layout_elements_option_yith_quick_view($parameters){
20
+
21
+ $settings_tabs_field = new settings_tabs_field();
22
+
23
+ $input_name = isset($parameters['input_name']) ? $parameters['input_name'] : '{input_name}';
24
+ $element_data = isset($parameters['element_data']) ? $parameters['element_data'] : array();
25
+ $element_index = isset($parameters['index']) ? $parameters['index'] : '';
26
+
27
+
28
+ $label_text = isset($element_data['label_text']) ? $element_data['label_text'] : '';
29
+
30
+ $font_size = isset($element_data['font_size']) ? $element_data['font_size'] : '';
31
+ $font_family = isset($element_data['font_family']) ? $element_data['font_family'] : '';
32
+ $margin = isset($element_data['margin']) ? $element_data['margin'] : '';
33
+ $color = isset($element_data['color']) ? $element_data['color'] : '';
34
+ $background_color = isset($element_data['background_color']) ? $element_data['background_color'] : '';
35
+ $padding = isset($element_data['padding']) ? $element_data['padding'] : '';
36
+
37
+ ?>
38
+ <div class="item">
39
+ <div class="element-title header ">
40
+ <span class="remove" onclick="jQuery(this).parent().parent().remove()"><i class="fas fa-times"></i></span>
41
+ <span class="sort"><i class="fas fa-sort"></i></span>
42
+
43
+ <span class="expand"><?php echo __('YITH quick view','woocommerce-products-slider'); ?></span>
44
+ </div>
45
+ <div class="element-options options">
46
+
47
+ <?php
48
+
49
+
50
+ $args = array(
51
+ 'id' => 'label_text',
52
+ 'css_id' => $element_index.'_font_size',
53
+ 'parent' => $input_name.'[yith_quick_view]',
54
+ 'title' => __('label text','woocommerce-products-slider'),
55
+ 'details' => __('Custom label text.','woocommerce-products-slider'),
56
+ 'type' => 'text',
57
+ 'value' => $label_text,
58
+ 'default' => '',
59
+ 'placeholder' => '',
60
+
61
+ );
62
+
63
+ $settings_tabs_field->generate_field($args);
64
+
65
+
66
+ $args = array(
67
+ 'id' => 'font_size',
68
+ 'css_id' => $element_index.'_font_size',
69
+ 'parent' => $input_name.'[yith_quick_view]',
70
+ 'title' => __('Font size','woocommerce-products-slider'),
71
+ 'details' => __('Choose font size.','woocommerce-products-slider'),
72
+ 'type' => 'text',
73
+ 'value' => $font_size,
74
+ 'default' => '',
75
+ 'placeholder' => '16px',
76
+
77
+ );
78
+
79
+ $settings_tabs_field->generate_field($args);
80
+
81
+
82
+ $args = array(
83
+ 'id' => 'font_family',
84
+ 'css_id' => $element_index.'_font_family',
85
+ 'parent' => $input_name.'[yith_quick_view]',
86
+ 'title' => __('Font family','woocommerce-products-slider'),
87
+ 'details' => __('Set font family.','woocommerce-products-slider'),
88
+ 'type' => 'text',
89
+ 'value' => $font_family,
90
+ 'default' => '',
91
+ 'placeholder' => 'Open Sans',
92
+ );
93
+
94
+ $settings_tabs_field->generate_field($args);
95
+
96
+
97
+ $args = array(
98
+ 'id' => 'color',
99
+ 'css_id' => $element_index.'_content_color',
100
+ 'parent' => $input_name.'[yith_quick_view]',
101
+ 'title' => __('Color','woocommerce-products-slider'),
102
+ 'details' => __('Title text color.','woocommerce-products-slider'),
103
+ 'type' => 'colorpicker',
104
+ 'value' => $color,
105
+ 'default' => '',
106
+ );
107
+
108
+ $settings_tabs_field->generate_field($args);
109
+
110
+ $args = array(
111
+ 'id' => 'background_color',
112
+ 'css_id' => $element_index.'_background_color',
113
+ 'parent' => $input_name.'[yith_quick_view]',
114
+ 'title' => __('Background color','woocommerce-products-slider'),
115
+ 'details' => __('Choose background color.','woocommerce-products-slider'),
116
+ 'type' => 'colorpicker',
117
+ 'value' => $background_color,
118
+ 'default' => '',
119
+ );
120
+
121
+ $settings_tabs_field->generate_field($args);
122
+
123
+
124
+ $args = array(
125
+ 'id' => 'margin',
126
+ 'css_id' => $element_index.'_margin',
127
+ 'parent' => $input_name.'[yith_quick_view]',
128
+ 'title' => __('Margin','woocommerce-products-slider'),
129
+ 'details' => __('Set margin.','woocommerce-products-slider'),
130
+ 'type' => 'text',
131
+ 'value' => $margin,
132
+ 'default' => '',
133
+ 'placeholder' => '5px 0',
134
+ );
135
+
136
+ $settings_tabs_field->generate_field($args);
137
+
138
+
139
+ $args = array(
140
+ 'id' => 'padding',
141
+ 'css_id' => $element_index.'_padding',
142
+ 'parent' => $input_name.'[yith_quick_view]',
143
+ 'title' => __('Padding','woocommerce-products-slider'),
144
+ 'details' => __('Set padding.','woocommerce-products-slider'),
145
+ 'type' => 'text',
146
+ 'value' => $padding,
147
+ 'default' => '',
148
+ 'placeholder' => '5px 0',
149
+ );
150
+
151
+ $settings_tabs_field->generate_field($args);
152
+
153
+
154
+ ?>
155
+
156
+ </div>
157
+ </div>
158
+ <?php
159
+
160
+ }
161
+
162
+
163
+
164
+
165
+ add_action('wcps_layout_element_yith_quick_view', 'wcps_layout_element_yith_quick_view', 10);
166
+ function wcps_layout_element_yith_quick_view($args){
167
+
168
+ //echo '<pre>'.var_export($args, true).'</pre>';
169
+ $product_id = isset($args['product_id']) ? $args['product_id'] : '';
170
+ $elementData = isset($args['elementData']) ? $args['elementData'] : array();
171
+ $element_index = isset($args['element_index']) ? $args['element_index'] : '';
172
+
173
+ $element_class = !empty($element_index) ? 'element-yith_quick_view element-'.$element_index : 'element-yith_quick_view';
174
+
175
+ $label_text = isset($elementData['label_text']) ? $elementData['label_text'] : '';
176
+
177
+
178
+ ?>
179
+ <div class="<?php echo $element_class; ?>"><?php echo do_shortcode('[yith_quick_view label="'.$label_text.'" product_id="'.$product_id.'" ]');; ?></div>
180
+ <?php
181
+
182
+ }
183
+
184
+
185
+
186
+
187
+ add_action('wcps_layout_element_css_yith_quick_view', 'wcps_layout_element_css_yith_quick_view', 10);
188
+ function wcps_layout_element_css_yith_quick_view($args){
189
+
190
+
191
+ $element_index = isset($args['element_index']) ? $args['element_index'] : '';
192
+ $elementData = isset($args['elementData']) ? $args['elementData'] : array();
193
+ $layout_id = isset($args['layout_id']) ? $args['layout_id'] : '';
194
+
195
+ $color = isset($elementData['color']) ? $elementData['color'] : '';
196
+ $background_color = isset($elementData['background_color']) ? $elementData['background_color'] : '';
197
+
198
+ $font_size = isset($elementData['font_size']) ? $elementData['font_size'] : '';
199
+ $font_family = isset($elementData['font_family']) ? $elementData['font_family'] : '';
200
+ $margin = isset($elementData['margin']) ? $elementData['margin'] : '';
201
+ $text_align = isset($elementData['text_align']) ? $elementData['text_align'] : '';
202
+ $padding = isset($elementData['padding']) ? $elementData['padding'] : '';
203
+
204
+
205
+ //echo '<pre>'.var_export($layout_id, true).'</pre>';
206
+
207
+ ?>
208
+ <style type="text/css">
209
+
210
+ .layout-<?php echo $layout_id; ?> .element-<?php echo $element_index; ?>{
211
+ <?php if(!empty($margin)): ?>
212
+ margin: <?php echo $margin; ?>;
213
+ <?php endif; ?>
214
+ }
215
+ .layout-<?php echo $layout_id; ?> .element-<?php echo $element_index; ?> a{
216
+ <?php if(!empty($color)): ?>
217
+ color: <?php echo $color; ?>;
218
+ <?php endif; ?>
219
+ text-decoration: none;
220
+ <?php if(!empty($font_size)): ?>
221
+ font-size: <?php echo $font_size; ?>;
222
+ <?php endif; ?>
223
+ <?php if(!empty($font_family)): ?>
224
+ font-family: <?php echo $font_family; ?>;
225
+ <?php endif; ?>
226
+ <?php if(!empty($padding)): ?>
227
+ padding: <?php echo $padding; ?>;
228
+ <?php endif; ?>
229
+ <?php if(!empty($background_color)): ?>
230
+ background-color: <?php echo $background_color; ?>;
231
+ <?php endif; ?>
232
+ <?php if(!empty($text_align)): ?>
233
+ text-align: <?php echo $text_align; ?>;
234
+ <?php endif; ?>
235
+ }
236
+ </style>
237
+ <?php
238
+ }
239
+
includes/3rd-party/yith-woocommerce-wishlist.php ADDED
@@ -0,0 +1,220 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if ( ! defined('ABSPATH')) exit; // if direct access
3
+
4
+ add_filter('wcps_layout_elements', 'wcps_layout_elements_yith_wishlist');
5
+
6
+ function wcps_layout_elements_yith_wishlist($layout_elements){
7
+
8
+
9
+ $layout_elements['yith_wishlist'] = array('name' =>__('YITH wishlist','woocommerce-products-slider'));
10
+
11
+ return $layout_elements;
12
+
13
+ }
14
+
15
+
16
+
17
+
18
+ add_action('wcps_layout_elements_option_yith_wishlist','wcps_layout_elements_option_yith_wishlist');
19
+ function wcps_layout_elements_option_yith_wishlist($parameters){
20
+
21
+ $settings_tabs_field = new settings_tabs_field();
22
+
23
+ $input_name = isset($parameters['input_name']) ? $parameters['input_name'] : '{input_name}';
24
+ $element_data = isset($parameters['element_data']) ? $parameters['element_data'] : array();
25
+ $element_index = isset($parameters['index']) ? $parameters['index'] : '';
26
+
27
+
28
+ $label_text = isset($element_data['label_text']) ? $element_data['label_text'] : '';
29
+
30
+ $font_size = isset($element_data['font_size']) ? $element_data['font_size'] : '';
31
+ $font_family = isset($element_data['font_family']) ? $element_data['font_family'] : '';
32
+ $margin = isset($element_data['margin']) ? $element_data['margin'] : '';
33
+ $color = isset($element_data['color']) ? $element_data['color'] : '';
34
+ $background_color = isset($element_data['background_color']) ? $element_data['background_color'] : '';
35
+ $padding = isset($element_data['padding']) ? $element_data['padding'] : '';
36
+
37
+ ?>
38
+ <div class="item">
39
+ <div class="element-title header ">
40
+ <span class="remove" onclick="jQuery(this).parent().parent().remove()"><i class="fas fa-times"></i></span>
41
+ <span class="sort"><i class="fas fa-sort"></i></span>
42
+
43
+ <span class="expand"><?php echo __('YITH wishlist','woocommerce-products-slider'); ?></span>
44
+ </div>
45
+ <div class="element-options options">
46
+
47
+ <?php
48
+
49
+ $args = array(
50
+ 'id' => 'font_size',
51
+ 'css_id' => $element_index.'_font_size',
52
+ 'parent' => $input_name.'[yith_wishlist]',
53
+ 'title' => __('Font size','woocommerce-products-slider'),
54
+ 'details' => __('Choose font size.','woocommerce-products-slider'),
55
+ 'type' => 'text',
56
+ 'value' => $font_size,
57
+ 'default' => '',
58
+ 'placeholder' => '16px',
59
+
60
+ );
61
+
62
+ $settings_tabs_field->generate_field($args);
63
+
64
+
65
+ $args = array(
66
+ 'id' => 'font_family',
67
+ 'css_id' => $element_index.'_font_family',
68
+ 'parent' => $input_name.'[yith_wishlist]',
69
+ 'title' => __('Font family','woocommerce-products-slider'),
70
+ 'details' => __('Set font family.','woocommerce-products-slider'),
71
+ 'type' => 'text',
72
+ 'value' => $font_family,
73
+ 'default' => '',
74
+ 'placeholder' => 'Open Sans',
75
+ );
76
+
77
+ $settings_tabs_field->generate_field($args);
78
+
79
+
80
+ $args = array(
81
+ 'id' => 'color',
82
+ 'css_id' => $element_index.'_content_color',
83
+ 'parent' => $input_name.'[yith_wishlist]',
84
+ 'title' => __('Color','woocommerce-products-slider'),
85
+ 'details' => __('Title text color.','woocommerce-products-slider'),
86
+ 'type' => 'colorpicker',
87
+ 'value' => $color,
88
+ 'default' => '',
89
+ );
90
+
91
+ $settings_tabs_field->generate_field($args);
92
+
93
+ $args = array(
94
+ 'id' => 'background_color',
95
+ 'css_id' => $element_index.'_background_color',
96
+ 'parent' => $input_name.'[yith_wishlist]',
97
+ 'title' => __('Background color','woocommerce-products-slider'),
98
+ 'details' => __('Choose background color.','woocommerce-products-slider'),
99
+ 'type' => 'colorpicker',
100
+ 'value' => $background_color,
101
+ 'default' => '',
102
+ );
103
+
104
+ $settings_tabs_field->generate_field($args);
105
+
106
+
107
+ $args = array(
108
+ 'id' => 'margin',
109
+ 'css_id' => $element_index.'_margin',
110
+ 'parent' => $input_name.'[yith_wishlist]',
111
+ 'title' => __('Margin','woocommerce-products-slider'),
112
+ 'details' => __('Set margin.','woocommerce-products-slider'),
113
+ 'type' => 'text',
114
+ 'value' => $margin,
115
+ 'default' => '',
116
+ 'placeholder' => '5px 0',
117
+ );
118
+
119
+ $settings_tabs_field->generate_field($args);
120
+
121
+
122
+ $args = array(
123
+ 'id' => 'padding',
124
+ 'css_id' => $element_index.'_padding',
125
+ 'parent' => $input_name.'[yith_wishlist]',
126
+ 'title' => __('Padding','woocommerce-products-slider'),
127
+ 'details' => __('Set padding.','woocommerce-products-slider'),
128
+ 'type' => 'text',
129
+ 'value' => $padding,
130
+ 'default' => '',
131
+ 'placeholder' => '5px 0',
132
+ );
133
+
134
+ $settings_tabs_field->generate_field($args);
135
+
136
+
137
+ ?>
138
+
139
+ </div>
140
+ </div>
141
+ <?php
142
+
143
+ }
144
+
145
+
146
+
147
+
148
+ add_action('wcps_layout_element_yith_wishlist', 'wcps_layout_element_yith_wishlist', 10);
149
+ function wcps_layout_element_yith_wishlist($args){
150
+
151
+ //echo '<pre>'.var_export($args, true).'</pre>';
152
+ $product_id = isset($args['product_id']) ? $args['product_id'] : '';
153
+ $elementData = isset($args['elementData']) ? $args['elementData'] : array();
154
+ $element_index = isset($args['element_index']) ? $args['element_index'] : '';
155
+
156
+ $element_class = !empty($element_index) ? 'element-yith_wishlist element-'.$element_index : 'element-yith_wishlist';
157
+
158
+ ?>
159
+ <div class="<?php echo $element_class; ?>"><?php echo do_shortcode('[yith_wcwl_add_to_wishlist product_id="'.$product_id.'" ]');; ?></div>
160
+ <?php
161
+
162
+ }
163
+
164
+
165
+
166
+
167
+ add_action('wcps_layout_element_css_yith_wishlist', 'wcps_layout_element_css_yith_wishlist', 10);
168
+ function wcps_layout_element_css_yith_wishlist($args){
169
+
170
+
171
+ $element_index = isset($args['element_index']) ? $args['element_index'] : '';
172
+ $elementData = isset($args['elementData']) ? $args['elementData'] : array();
173
+ $layout_id = isset($args['layout_id']) ? $args['layout_id'] : '';
174
+
175
+ $color = isset($elementData['color']) ? $elementData['color'] : '';
176
+ $background_color = isset($elementData['background_color']) ? $elementData['background_color'] : '';
177
+
178
+ $font_size = isset($elementData['font_size']) ? $elementData['font_size'] : '';
179
+ $font_family = isset($elementData['font_family']) ? $elementData['font_family'] : '';
180
+ $margin = isset($elementData['margin']) ? $elementData['margin'] : '';
181
+ $text_align = isset($elementData['text_align']) ? $elementData['text_align'] : '';
182
+ $padding = isset($elementData['padding']) ? $elementData['padding'] : '';
183
+
184
+
185
+ //echo '<pre>'.var_export($layout_id, true).'</pre>';
186
+
187
+ ?>
188
+ <style type="text/css">
189
+
190
+ .layout-<?php echo $layout_id; ?> .element-<?php echo $element_index; ?>{
191
+ <?php if(!empty($margin)): ?>
192
+ margin: <?php echo $margin; ?>;
193
+ <?php endif; ?>
194
+
195
+ }
196
+ .layout-<?php echo $layout_id; ?> .element-<?php echo $element_index; ?> a{
197
+ <?php if(!empty($color)): ?>
198
+ color: <?php echo $color; ?>;
199
+ <?php endif; ?>
200
+ text-decoration: none;
201
+ <?php if(!empty($font_size)): ?>
202
+ font-size: <?php echo $font_size; ?>;
203
+ <?php endif; ?>
204
+ <?php if(!empty($font_family)): ?>
205
+ font-family: <?php echo $font_family; ?>;
206
+ <?php endif; ?>
207
+ <?php if(!empty($padding)): ?>
208
+ padding: <?php echo $padding; ?>;
209
+ <?php endif; ?>
210
+ <?php if(!empty($background_color)): ?>
211
+ background-color: <?php echo $background_color; ?>;
212
+ <?php endif; ?>
213
+ <?php if(!empty($text_align)): ?>
214
+ text-align: <?php echo $text_align; ?>;
215
+ <?php endif; ?>
216
+ }
217
+ </style>
218
+ <?php
219
+ }
220
+
includes/functions-layout-element.php CHANGED
@@ -84,22 +84,22 @@ function wcps_layout_element_thumbnail($args){
84
 
85
  //echo '<pre>'.var_export($elementData, true).'</pre>';
86
 
87
- $wcps_thumb = wp_get_attachment_image_src(get_post_thumbnail_id($product_id), $thumb_size);
88
- $member_image_url = isset($wcps_thumb[0]) ? $wcps_thumb[0] : '';
89
-
90
-
91
- $member_image_url = !empty($member_image_url) ? $member_image_url : $default_thumb_src;
92
-
93
- $member_image_url = apply_filters('wcps_layout_element_thumbnail_src', $member_image_url, $args);
94
-
95
 
96
- //echo '<pre>'.var_export($member_image_url, true).'</pre>';
 
 
 
 
97
 
98
- if(!empty($member_image_url)){
99
  ?>
100
- <div class=" <?php echo $element_class; ?>"><a href="<?php echo $product_url; ?>"><img src="<?php echo $member_image_url; ?>" /></a></div>
101
- <?php
102
 
 
103
  }
104
 
105
  }
84
 
85
  //echo '<pre>'.var_export($elementData, true).'</pre>';
86
 
87
+ if(!empty( get_the_post_thumbnail($product_id, $thumb_size))){
88
+ ?>
89
+ <div class=" <?php echo $element_class; ?>"><a href="<?php echo $product_url; ?>"><?php echo get_the_post_thumbnail($product_id, $thumb_size); ?></a>
90
+ </div>
91
+ <?php
 
 
 
92
 
93
+ }else{
94
+ $wcps_thumb = wp_get_attachment_image_src(get_post_thumbnail_id($product_id), $thumb_size);
95
+ $member_image_url = isset($wcps_thumb[0]) ? $wcps_thumb[0] : '';
96
+ $member_image_url = !empty($member_image_url) ? $member_image_url : $default_thumb_src;
97
+ $member_image_url = apply_filters('wcps_layout_element_thumbnail_src', $member_image_url, $args);
98
 
 
99
  ?>
100
+ <div class=" <?php echo $element_class; ?>"><a href="<?php echo $product_url; ?>"><img src="<?php echo $member_image_url; ?>" /></a></div>
 
101
 
102
+ <?php
103
  }
104
 
105
  }
readme.txt CHANGED
@@ -4,7 +4,7 @@
4
  Tags: product slider, woocommerce slider, woo slider, woo product carousel slider, woocommerce product slider
5
  Requires at least: 3.8
6
  Tested up to: 5.3
7
- Stable tag: 1.13.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -142,6 +142,16 @@ then paste this shortcode anywhere in your page to display slider<br />
142
  == Changelog ==
143
 
144
 
 
 
 
 
 
 
 
 
 
 
145
  = 1.13.8 =
146
  * 2020-03-31 fix - product short description remove html issue fixed.
147
  * 2020-03-31 fix - Custom CSS issue fixed.
4
  Tags: product slider, woocommerce slider, woo slider, woo product carousel slider, woocommerce product slider
5
  Requires at least: 3.8
6
  Tested up to: 5.3
7
+ Stable tag: 1.13.9
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
142
  == Changelog ==
143
 
144
 
145
+
146
+ = 1.13.9 =
147
+ * 2020-04-05 add - add support for "YITH WooCommerce Badge Management"
148
+ * 2020-04-05 add - add element for "YITH WooCommerce Quick View" under layout builder
149
+ * 2020-04-05 add - add element for "YITH WooCommerce Wishlist" under layout builder
150
+ * 2020-04-05 add - add element for "YITH WooCommerce Brands" under layout builder
151
+ * 2020-04-05 add - add element for "YITH WooCommerce Compare" under layout builder
152
+ * 2020-04-05 update - product featured image update.
153
+
154
+
155
  = 1.13.8 =
156
  * 2020-03-31 fix - product short description remove html issue fixed.
157
  * 2020-03-31 fix - Custom CSS issue fixed.
templates/wcps-slider/wcps-slider-hook.php CHANGED
@@ -247,6 +247,8 @@ function wcps_slider_main_items($args){
247
  $args['product_id'] = $product_id;
248
  $args['loop_count'] = $loop_count;
249
 
 
 
250
  //echo '<pre>'.var_export($product_id, true).'</pre>';
251
  do_action('wcps_slider_item', $args);
252
 
247
  $args['product_id'] = $product_id;
248
  $args['loop_count'] = $loop_count;
249
 
250
+
251
+
252
  //echo '<pre>'.var_export($product_id, true).'</pre>';
253
  do_action('wcps_slider_item', $args);
254
 
woocommerce-products-slider.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: PickPlugins Product Slider for WooCommerce
4
  Plugin URI: http://pickplugins.com/items/woocommerce-product-slider-for-wordpress/
5
  Description: Fully responsive and mobile ready Carousel Slider for your WooCommerce product. unlimited slider anywhere via short-codes and easy admin setting.
6
- Version: 1.13.8
7
  WC requires at least: 3.0.0
8
  WC tested up to: 4.0
9
  Author: PickPlugins
@@ -23,7 +23,7 @@ class WoocommerceProductsSlider{
23
  define('wcps_plugin_url', plugins_url('/', __FILE__) );
24
  define('wcps_plugin_dir', plugin_dir_path( __FILE__ ) );
25
  define('wcps_plugin_name', 'PickPlugins Product Slider' );
26
- define('wcps_plugin_version', '1.13.8' );
27
 
28
  require_once( wcps_plugin_dir . 'includes/class-post-types.php');
29
  require_once( wcps_plugin_dir . 'includes/class-metabox-wcps.php');
@@ -41,6 +41,7 @@ class WoocommerceProductsSlider{
41
  require_once( wcps_plugin_dir . 'includes/class-settings.php');
42
  require_once( wcps_plugin_dir . 'includes/functions-settings-hook.php');
43
 
 
44
 
45
 
46
  require_once( plugin_dir_path( __FILE__ ) . 'includes/functions.php');
3
  Plugin Name: PickPlugins Product Slider for WooCommerce
4
  Plugin URI: http://pickplugins.com/items/woocommerce-product-slider-for-wordpress/
5
  Description: Fully responsive and mobile ready Carousel Slider for your WooCommerce product. unlimited slider anywhere via short-codes and easy admin setting.
6
+ Version: 1.13.9
7
  WC requires at least: 3.0.0
8
  WC tested up to: 4.0
9
  Author: PickPlugins
23
  define('wcps_plugin_url', plugins_url('/', __FILE__) );
24
  define('wcps_plugin_dir', plugin_dir_path( __FILE__ ) );
25
  define('wcps_plugin_name', 'PickPlugins Product Slider' );
26
+ define('wcps_plugin_version', '1.13.9' );
27
 
28
  require_once( wcps_plugin_dir . 'includes/class-post-types.php');
29
  require_once( wcps_plugin_dir . 'includes/class-metabox-wcps.php');
41
  require_once( wcps_plugin_dir . 'includes/class-settings.php');
42
  require_once( wcps_plugin_dir . 'includes/functions-settings-hook.php');
43
 
44
+ require_once( wcps_plugin_dir . 'includes/3rd-party/3rd-party.php');
45
 
46
 
47
  require_once( plugin_dir_path( __FILE__ ) . 'includes/functions.php');