WooLentor – Elementor WooCommerce Builder Addons, Variation Swatches Addons, Gutenberg WooCommerce Product block, grid, slider, templates, widgets, Quick View, Wishlist, Products Compare, Product Filter – All in One Solution - Version 2.2.8

Version Description

Download this release

Release Info

Developer devitemsllc
Plugin Icon 128x128 WooLentor – Elementor WooCommerce Builder Addons, Variation Swatches Addons, Gutenberg WooCommerce Product block, grid, slider, templates, widgets, Quick View, Wishlist, Products Compare, Product Filter – All in One Solution
Version 2.2.8
Comparing to
See all releases

Code changes from version 2.2.7 to 2.2.8

classes/class.product_query.php CHANGED
@@ -161,6 +161,7 @@ class WooLentorProductQuery{
161
  $attr_pre_str = substr( $new_queries[1], 0, 6 );
162
 
163
  $taxonomy = ( 'filter' === $attr_pre_str ) ? str_replace('filter', 'pa', $new_queries[1] ) : $new_queries[1];
 
164
  if( isset( $_GET[$new_queries[1] ] ) && in_array( $taxonomy, $woo_taxonomies ) ){
165
  $tax_query[] = array(
166
  'taxonomy' => $taxonomy,
161
  $attr_pre_str = substr( $new_queries[1], 0, 6 );
162
 
163
  $taxonomy = ( 'filter' === $attr_pre_str ) ? str_replace('filter', 'pa', $new_queries[1] ) : $new_queries[1];
164
+ $taxonomy = ('woolentor' === substr( $taxonomy, 0, 9 ) ) ? str_replace('woolentor_','',$taxonomy) : $taxonomy;
165
  if( isset( $_GET[$new_queries[1] ] ) && in_array( $taxonomy, $woo_taxonomies ) ){
166
  $tax_query[] = array(
167
  'taxonomy' => $taxonomy,
includes/addons/wl_product_filter.php CHANGED
@@ -986,6 +986,10 @@ class Woolentor_Wl_Product_Filter_Widget extends Widget_Base {
986
  $filter_name = 'filter_' . wc_attribute_taxonomy_slug( $filter_type );
987
  }
988
 
 
 
 
 
989
  $current_filter = isset( $_GET[ $filter_name ] ) ? explode( ',', wc_clean( wp_unslash( $_GET[ $filter_name ] ) ) ) : array();
990
  $option_is_set = in_array( $term->slug, $current_filter, true );
991
 
986
  $filter_name = 'filter_' . wc_attribute_taxonomy_slug( $filter_type );
987
  }
988
 
989
+ if( $filter_name === 'product_cat' || $filter_name === 'product_tag' ){
990
+ $filter_name = 'woolentor_'.$filter_name;
991
+ }
992
+
993
  $current_filter = isset( $_GET[ $filter_name ] ) ? explode( ',', wc_clean( wp_unslash( $_GET[ $filter_name ] ) ) ) : array();
994
  $option_is_set = in_array( $term->slug, $current_filter, true );
995
 
includes/addons/wl_product_horizontal_filter.php CHANGED
@@ -1040,6 +1040,10 @@ class Woolentor_Wl_Product_Horizontal_Filter_Widget extends Widget_Base {
1040
  $filter_name = 'filter_' . wc_attribute_taxonomy_slug( $filter_item['wl_filter_type'] );
1041
  }
1042
 
 
 
 
 
1043
  $selected_taxonomies = ( isset( $_GET[$filter_name] ) && !empty( $_GET[$filter_name] ) ) ? explode( ',', $_GET[$filter_name] ) : array();
1044
 
1045
  $sl_placeholder = '';
@@ -1182,6 +1186,10 @@ class Woolentor_Wl_Product_Horizontal_Filter_Widget extends Widget_Base {
1182
  $filter_name = 'filter_' . wc_attribute_taxonomy_slug( $filter_type );
1183
  }
1184
 
 
 
 
 
1185
  $current_filter = isset( $_GET[ $filter_name ] ) ? explode( ',', wc_clean( wp_unslash( $_GET[ $filter_name ] ) ) ) : array();
1186
  $option_is_set = in_array( $term->slug, $current_filter, true );
1187
 
1040
  $filter_name = 'filter_' . wc_attribute_taxonomy_slug( $filter_item['wl_filter_type'] );
1041
  }
1042
 
1043
+ if( $filter_name === 'product_cat' || $filter_name === 'product_tag' ){
1044
+ $filter_name = 'woolentor_'.$filter_name;
1045
+ }
1046
+
1047
  $selected_taxonomies = ( isset( $_GET[$filter_name] ) && !empty( $_GET[$filter_name] ) ) ? explode( ',', $_GET[$filter_name] ) : array();
1048
 
1049
  $sl_placeholder = '';
1186
  $filter_name = 'filter_' . wc_attribute_taxonomy_slug( $filter_type );
1187
  }
1188
 
1189
+ if( $filter_name === 'product_cat' || $filter_name === 'product_tag' ){
1190
+ $filter_name = 'woolentor_'.$filter_name;
1191
+ }
1192
+
1193
  $current_filter = isset( $_GET[ $filter_name ] ) ? explode( ',', wc_clean( wp_unslash( $_GET[ $filter_name ] ) ) ) : array();
1194
  $option_is_set = in_array( $term->slug, $current_filter, true );
1195
 
includes/addons/wl_product_video_gallery.php CHANGED
@@ -94,7 +94,7 @@ class Woolentor_Wl_Product_Video_Gallery_Widget extends Widget_Base {
94
  $this->add_control(
95
  'main_video_height',
96
  [
97
- 'label' => __( 'Height', 'plugin-domain' ),
98
  'type' => Controls_Manager::SLIDER,
99
  'size_units' => [ 'px', '%' ],
100
  'range' => [
@@ -113,7 +113,7 @@ class Woolentor_Wl_Product_Video_Gallery_Widget extends Widget_Base {
113
  'size' => 550,
114
  ],
115
  'selectors' => [
116
- '{{WRAPPER}} .embed-responsive' => 'height: {{SIZE}}{{UNIT}};',
117
  ],
118
  ]
119
  );
94
  $this->add_control(
95
  'main_video_height',
96
  [
97
+ 'label' => __( 'Height', 'woolentor' ),
98
  'type' => Controls_Manager::SLIDER,
99
  'size_units' => [ 'px', '%' ],
100
  'range' => [
113
  'size' => 550,
114
  ],
115
  'selectors' => [
116
+ '{{WRAPPER}} .embed-responsive' => 'height: {{SIZE}}{{UNIT}};overflow:hidden;',
117
  ],
118
  ]
119
  );
includes/admin/include/admin_fields.php CHANGED
@@ -1334,7 +1334,7 @@ class Woolentor_Admin_Fields {
1334
  array(
1335
  'name' => 'notification_width',
1336
  'label' => esc_html__( 'Width', 'woolentor' ),
1337
- 'desc' => esc_html__( 'You can handle the notificaton width.', 'woolentor' ),
1338
  'type' => 'text',
1339
  'default' => esc_html__( '550px', 'woolentor' ),
1340
  'placeholder' => esc_html__( '550px', 'woolentor' ),
@@ -1344,7 +1344,7 @@ class Woolentor_Admin_Fields {
1344
  array(
1345
  'name' => 'notification_mobile_width',
1346
  'label' => esc_html__( 'Width for mobile', 'woolentor' ),
1347
- 'desc' => esc_html__( 'You can handle the notificaton width.', 'woolentor' ),
1348
  'type' => 'text',
1349
  'default' => esc_html__( '90%', 'woolentor' ),
1350
  'placeholder' => esc_html__( '90%', 'woolentor' ),
@@ -1354,7 +1354,7 @@ class Woolentor_Admin_Fields {
1354
  array(
1355
  'name' => 'background_color',
1356
  'label' => esc_html__( 'Background Color', 'woolentor' ),
1357
- 'desc' => esc_html__( 'Set the background color of the notification.', 'woolentor' ),
1358
  'type' => 'color',
1359
  'condition' => array( 'notification_content_type', '==', 'actual' ),
1360
  'class' => 'woolentor-action-field-left',
@@ -1363,7 +1363,7 @@ class Woolentor_Admin_Fields {
1363
  array(
1364
  'name' => 'heading_color',
1365
  'label' => esc_html__( 'Heading Color', 'woolentor' ),
1366
- 'desc' => esc_html__( 'Set the heading color of the notification.', 'woolentor' ),
1367
  'type' => 'color',
1368
  'condition' => array( 'notification_content_type', '==', 'actual' ),
1369
  'class' => 'woolentor-action-field-left',
@@ -1372,7 +1372,7 @@ class Woolentor_Admin_Fields {
1372
  array(
1373
  'name' => 'content_color',
1374
  'label' => esc_html__( 'Content Color', 'woolentor' ),
1375
- 'desc' => esc_html__( 'Set the content color of the notification.', 'woolentor' ),
1376
  'type' => 'color',
1377
  'condition' => array( 'notification_content_type', '==', 'actual' ),
1378
  'class' => 'woolentor-action-field-left',
@@ -1381,7 +1381,7 @@ class Woolentor_Admin_Fields {
1381
  array(
1382
  'name' => 'cross_color',
1383
  'label' => esc_html__( 'Cross Icon Color', 'woolentor' ),
1384
- 'desc' => esc_html__( 'Set the cross icon color of the notification.', 'woolentor' ),
1385
  'type' => 'color',
1386
  'class' => 'woolentor-action-field-left'
1387
  ),
1334
  array(
1335
  'name' => 'notification_width',
1336
  'label' => esc_html__( 'Width', 'woolentor' ),
1337
+ 'desc' => esc_html__( 'You can handle the sales notification width.', 'woolentor' ),
1338
  'type' => 'text',
1339
  'default' => esc_html__( '550px', 'woolentor' ),
1340
  'placeholder' => esc_html__( '550px', 'woolentor' ),
1344
  array(
1345
  'name' => 'notification_mobile_width',
1346
  'label' => esc_html__( 'Width for mobile', 'woolentor' ),
1347
+ 'desc' => esc_html__( 'You can handle the sales notification width.', 'woolentor' ),
1348
  'type' => 'text',
1349
  'default' => esc_html__( '90%', 'woolentor' ),
1350
  'placeholder' => esc_html__( '90%', 'woolentor' ),
1354
  array(
1355
  'name' => 'background_color',
1356
  'label' => esc_html__( 'Background Color', 'woolentor' ),
1357
+ 'desc' => esc_html__( 'Set the background color of the sales notification.', 'woolentor' ),
1358
  'type' => 'color',
1359
  'condition' => array( 'notification_content_type', '==', 'actual' ),
1360
  'class' => 'woolentor-action-field-left',
1363
  array(
1364
  'name' => 'heading_color',
1365
  'label' => esc_html__( 'Heading Color', 'woolentor' ),
1366
+ 'desc' => esc_html__( 'Set the heading color of the sales notification.', 'woolentor' ),
1367
  'type' => 'color',
1368
  'condition' => array( 'notification_content_type', '==', 'actual' ),
1369
  'class' => 'woolentor-action-field-left',
1372
  array(
1373
  'name' => 'content_color',
1374
  'label' => esc_html__( 'Content Color', 'woolentor' ),
1375
+ 'desc' => esc_html__( 'Set the content color of the sales notification.', 'woolentor' ),
1376
  'type' => 'color',
1377
  'condition' => array( 'notification_content_type', '==', 'actual' ),
1378
  'class' => 'woolentor-action-field-left',
1381
  array(
1382
  'name' => 'cross_color',
1383
  'label' => esc_html__( 'Cross Icon Color', 'woolentor' ),
1384
+ 'desc' => esc_html__( 'Set the cross icon color of the sales notification.', 'woolentor' ),
1385
  'type' => 'color',
1386
  'class' => 'woolentor-action-field-left'
1387
  ),
languages/woolentor.pot CHANGED
@@ -3,7 +3,7 @@ msgid ""
3
  msgstr ""
4
  "Project-Id-Version: WooLentor - WooCommerce Elementor Addons + Builder\n"
5
  "Report-Msgid-Bugs-To: \n"
6
- "POT-Creation-Date: 2022-05-08 03:31+0000\n"
7
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
8
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
9
  "Language-Team: \n"
@@ -1785,6 +1785,7 @@ msgstr ""
1785
  #: includes/addons/product_flash_sale.php:942
1786
  #: includes/addons/wl_onepage_slider.php:448
1787
  #: includes/addons/wl_onepage_slider.php:519
 
1788
  #: includes/addons/wl_product_filter.php:529
1789
  msgid "Height"
1790
  msgstr ""
@@ -2677,7 +2678,7 @@ msgstr ""
2677
  msgid "Odd Heading Background"
2678
  msgstr ""
2679
 
2680
- #: includes/addons/wl_product_horizontal_filter.php:1091
2681
  msgid "of"
2682
  msgstr ""
2683
 
@@ -3559,7 +3560,7 @@ msgstr ""
3559
  msgid "Select"
3560
  msgstr ""
3561
 
3562
- #: includes/addons/wl_product_horizontal_filter.php:1090
3563
  msgid "select"
3564
  msgstr ""
3565
 
3
  msgstr ""
4
  "Project-Id-Version: WooLentor - WooCommerce Elementor Addons + Builder\n"
5
  "Report-Msgid-Bugs-To: \n"
6
+ "POT-Creation-Date: 2022-05-15 04:47+0000\n"
7
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
8
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
9
  "Language-Team: \n"
1785
  #: includes/addons/product_flash_sale.php:942
1786
  #: includes/addons/wl_onepage_slider.php:448
1787
  #: includes/addons/wl_onepage_slider.php:519
1788
+ #: includes/addons/wl_product_video_gallery.php:97
1789
  #: includes/addons/wl_product_filter.php:529
1790
  msgid "Height"
1791
  msgstr ""
2678
  msgid "Odd Heading Background"
2679
  msgstr ""
2680
 
2681
+ #: includes/addons/wl_product_horizontal_filter.php:1095
2682
  msgid "of"
2683
  msgstr ""
2684
 
3560
  msgid "Select"
3561
  msgstr ""
3562
 
3563
+ #: includes/addons/wl_product_horizontal_filter.php:1094
3564
  msgid "select"
3565
  msgstr ""
3566
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: hasthemes, htplugins, devitemsllc, tarekht, aslamhasib
3
  Tags: Elementor, WooCommerce, WooCommerce Elementor, WooCommerce Builder, WooCommerce Product
4
  Requires at least: 4.7
5
  Tested up to: 5.9
6
- Stable tag: 2.2.7
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -345,6 +345,11 @@ Elementor Pro is not required. But you can use wooLentor with Elementor free & P
345
 
346
  == Changelog ==
347
 
 
 
 
 
 
348
  = Version: 2.2.7 - Date: 08-05-2022 =
349
  * Added : Add to cart button style option in Wishlist table.
350
  * Solved : Wishlist Button icon show server permission issue.
3
  Tags: Elementor, WooCommerce, WooCommerce Elementor, WooCommerce Builder, WooCommerce Product
4
  Requires at least: 4.7
5
  Tested up to: 5.9
6
+ Stable tag: 2.2.8
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
345
 
346
  == Changelog ==
347
 
348
+ = Version: 2.2.8 - Date: 15-05-2022 =
349
+ * Solved : Product showing issue with product filter addon in category page.
350
+ * Solved : Video thumbnails overlapping issue in Video Gallery Addon.
351
+ * Compatibility With latest WooCommerce version.
352
+
353
  = Version: 2.2.7 - Date: 08-05-2022 =
354
  * Added : Add to cart button style option in Wishlist table.
355
  * Solved : Wishlist Button icon show server permission issue.
woolentor_addons_elementor.php CHANGED
@@ -3,21 +3,21 @@
3
  * Plugin Name: WooLentor - WooCommerce Elementor Addons + Builder
4
  * Description: The WooCommerce elements library for Elementor page builder plugin for WordPress.
5
  * Plugin URI: https://woolentor.com/
6
- * Version: 2.2.7
7
  * Author: HasThemes
8
  * Author URI: https://hasthemes.com/plugins/woolentor-pro/
9
  * License: GPL-2.0+
10
  * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
11
  * Text Domain: woolentor
12
  * Domain Path: /languages
13
- * WC tested up to: 6.4.1
14
  * Elementor tested up to: 3.6.4
15
  * Elementor Pro tested up to: 3.6.5
16
  */
17
 
18
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
19
 
20
- define( 'WOOLENTOR_VERSION', '2.2.7' );
21
  define( 'WOOLENTOR_ADDONS_PL_ROOT', __FILE__ );
22
  define( 'WOOLENTOR_ADDONS_PL_URL', plugins_url( '/', WOOLENTOR_ADDONS_PL_ROOT ) );
23
  define( 'WOOLENTOR_ADDONS_PL_PATH', plugin_dir_path( WOOLENTOR_ADDONS_PL_ROOT ) );
3
  * Plugin Name: WooLentor - WooCommerce Elementor Addons + Builder
4
  * Description: The WooCommerce elements library for Elementor page builder plugin for WordPress.
5
  * Plugin URI: https://woolentor.com/
6
+ * Version: 2.2.8
7
  * Author: HasThemes
8
  * Author URI: https://hasthemes.com/plugins/woolentor-pro/
9
  * License: GPL-2.0+
10
  * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
11
  * Text Domain: woolentor
12
  * Domain Path: /languages
13
+ * WC tested up to: 6.5.1
14
  * Elementor tested up to: 3.6.4
15
  * Elementor Pro tested up to: 3.6.5
16
  */
17
 
18
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
19
 
20
+ define( 'WOOLENTOR_VERSION', '2.2.8' );
21
  define( 'WOOLENTOR_ADDONS_PL_ROOT', __FILE__ );
22
  define( 'WOOLENTOR_ADDONS_PL_URL', plugins_url( '/', WOOLENTOR_ADDONS_PL_ROOT ) );
23
  define( 'WOOLENTOR_ADDONS_PL_PATH', plugin_dir_path( WOOLENTOR_ADDONS_PL_ROOT ) );