Version Description
Download this release
Release Info
Code changes from version 2.2.6 to 2.2.7
- includes/addons/universal_product.php +1 -1
- includes/addons/wb_wishsuite_table.php +79 -0
- includes/admin/assets/js/woolentor-admin.js +5 -0
- includes/admin/include/admin_field-manager.php +15 -3
- includes/archive_product_render.php +5 -2
- includes/modules/compare/assets/images/extensions/email-candy-pro.png +0 -0
- includes/modules/compare/assets/images/extensions/hashbar-pro.png +0 -0
- includes/modules/compare/assets/images/extensions/htmega-pro.png +0 -0
- includes/modules/compare/assets/images/extensions/just-tables-pro.png +0 -0
- includes/modules/compare/assets/images/extensions/multicurrencypro.png +0 -0
- includes/modules/compare/assets/images/extensions/whols-pro.png +0 -0
- includes/modules/compare/assets/images/extensions/woolentor-addons-pro.png +0 -0
- includes/modules/compare/includes/classes/Frontend/Shortcode.php +2 -9
- includes/modules/compare/includes/helper-functions.php +15 -0
- includes/modules/wishlist/assets/css/admin.css +4 -0
- includes/modules/wishlist/assets/css/frontend.css +10 -1
- includes/modules/wishlist/assets/images/extensions/email-candy-pro.png +0 -0
- includes/modules/wishlist/assets/images/extensions/hashbar-pro.png +0 -0
- includes/modules/wishlist/assets/images/extensions/htmega-pro.png +0 -0
- includes/modules/wishlist/assets/images/extensions/just-tables-pro.png +0 -0
- includes/modules/wishlist/assets/images/extensions/multicurrencypro.png +0 -0
- includes/modules/wishlist/assets/images/extensions/whols-pro.png +0 -0
- includes/modules/wishlist/assets/images/extensions/woolentor-addons-pro.png +0 -0
- includes/modules/wishlist/assets/images/social-icon/email.svg +0 -1
- includes/modules/wishlist/assets/images/social-icon/facebook.svg +0 -1
- includes/modules/wishlist/assets/images/social-icon/linkedin.svg +0 -1
- includes/modules/wishlist/assets/images/social-icon/odnoklassniki.svg +0 -1
- includes/modules/wishlist/assets/images/social-icon/pinterest.svg +0 -1
- includes/modules/wishlist/assets/images/social-icon/reddit.svg +0 -1
- includes/modules/wishlist/assets/images/social-icon/telegram.svg +0 -1
- includes/modules/wishlist/assets/images/social-icon/twitter.svg +0 -1
- includes/modules/wishlist/assets/images/social-icon/vk.svg +0 -18
- includes/modules/wishlist/assets/images/social-icon/whatsapp.svg +0 -22
- includes/modules/wishlist/includes/classes/Admin/Admin_Fields.php +37 -0
- includes/modules/wishlist/includes/classes/Assets.php +23 -0
- includes/modules/wishlist/includes/classes/Frontend/Shortcode.php +2 -9
- includes/modules/wishlist/includes/helper-functions.php +36 -0
- includes/modules/wishlist/includes/templates/wishsuite-social-share.php +1 -8
- includes/modules/wishlist/includes/templates/wishsuite-table.php +7 -2
- languages/woolentor.pot +15 -8
- readme.txt +9 -1
- woolentor_addons_elementor.php +2 -2
includes/addons/universal_product.php
CHANGED
@@ -1359,7 +1359,7 @@ class Woolentor_Universal_Product_Widget extends Widget_Base {
|
|
1359 |
],
|
1360 |
'selectors' => [
|
1361 |
'{{WRAPPER}} .ht-products .ht-product .ht-product-inner .ht-product-action ul li a i' => 'line-height: {{SIZE}}{{UNIT}};',
|
1362 |
-
'{{WRAPPER}} .woolentor-compare.compare::before,{{WRAPPER}} .ht-product-action ul li.woolentor-cart a::before' => 'line-height: {{SIZE}}{{UNIT}};',
|
1363 |
],
|
1364 |
]
|
1365 |
);
|
1359 |
],
|
1360 |
'selectors' => [
|
1361 |
'{{WRAPPER}} .ht-products .ht-product .ht-product-inner .ht-product-action ul li a i' => 'line-height: {{SIZE}}{{UNIT}};',
|
1362 |
+
'{{WRAPPER}} .woolentor-compare.compare::before,{{WRAPPER}} .ht-product-action ul li.woolentor-cart a,{{WRAPPER}} .ht-product-action ul li.woolentor-cart a::before' => 'line-height: {{SIZE}}{{UNIT}};',
|
1363 |
],
|
1364 |
]
|
1365 |
);
|
includes/addons/wb_wishsuite_table.php
CHANGED
@@ -131,6 +131,85 @@ class Woolentor_Wb_Wishsuite_Table_Widget extends Widget_Base {
|
|
131 |
|
132 |
$this->end_controls_section();
|
133 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
134 |
}
|
135 |
|
136 |
protected function render( $instance = [] ) {
|
131 |
|
132 |
$this->end_controls_section();
|
133 |
|
134 |
+
// Table Add to cart button Style
|
135 |
+
$this->start_controls_section(
|
136 |
+
'table_content_add_to_style_section',
|
137 |
+
[
|
138 |
+
'label' => __( 'Add To Cart', 'woolentor' ),
|
139 |
+
'tab' => Controls_Manager::TAB_STYLE,
|
140 |
+
]
|
141 |
+
);
|
142 |
+
|
143 |
+
$this->start_controls_tabs('table_add_to_cart_button_style_tabs');
|
144 |
+
|
145 |
+
// Normal
|
146 |
+
$this->start_controls_tab(
|
147 |
+
'table_add_to_cart_button_style_normal_tab',
|
148 |
+
[
|
149 |
+
'label' => __( 'Normal', 'woolentor' ),
|
150 |
+
]
|
151 |
+
);
|
152 |
+
|
153 |
+
$this->add_control(
|
154 |
+
'table_cart_button_color',
|
155 |
+
[
|
156 |
+
'label' => __( 'Color', 'woolentor' ),
|
157 |
+
'type' => Controls_Manager::COLOR,
|
158 |
+
'selectors' => [
|
159 |
+
'{{WRAPPER}} .wishsuite-table-content table .wishsuite-addtocart' => 'color: {{VALUE}}',
|
160 |
+
],
|
161 |
+
]
|
162 |
+
);
|
163 |
+
|
164 |
+
$this->add_group_control(
|
165 |
+
Group_Control_Background::get_type(),
|
166 |
+
[
|
167 |
+
'name' => 'table_cart_button_bg_color',
|
168 |
+
'label' => __( 'Background', 'woolentor' ),
|
169 |
+
'types' => [ 'classic', 'gradient' ],
|
170 |
+
'selector' => '{{WRAPPER}} .wishsuite-table-content table .wishsuite-addtocart',
|
171 |
+
'exclude' =>['image'],
|
172 |
+
]
|
173 |
+
);
|
174 |
+
|
175 |
+
$this->end_controls_tab();
|
176 |
+
|
177 |
+
// Hover
|
178 |
+
$this->start_controls_tab(
|
179 |
+
'table_add_to_cart_button_style_hover_tab',
|
180 |
+
[
|
181 |
+
'label' => __( 'Hover', 'woolentor' ),
|
182 |
+
]
|
183 |
+
);
|
184 |
+
|
185 |
+
$this->add_control(
|
186 |
+
'table_cart_button_hover_color',
|
187 |
+
[
|
188 |
+
'label' => __( 'Color', 'woolentor' ),
|
189 |
+
'type' => Controls_Manager::COLOR,
|
190 |
+
'selectors' => [
|
191 |
+
'{{WRAPPER}} .wishsuite-table-content table .wishsuite-addtocart:hover' => 'color: {{VALUE}}',
|
192 |
+
],
|
193 |
+
]
|
194 |
+
);
|
195 |
+
|
196 |
+
$this->add_group_control(
|
197 |
+
Group_Control_Background::get_type(),
|
198 |
+
[
|
199 |
+
'name' => 'table_cart_button_hover_bg_color',
|
200 |
+
'label' => __( 'Background', 'woolentor' ),
|
201 |
+
'types' => [ 'classic', 'gradient' ],
|
202 |
+
'selector' => '{{WRAPPER}} .wishsuite-table-content table .wishsuite-addtocart:hover',
|
203 |
+
'exclude' =>['image'],
|
204 |
+
]
|
205 |
+
);
|
206 |
+
|
207 |
+
$this->end_controls_tab();
|
208 |
+
|
209 |
+
$this->end_controls_tabs();
|
210 |
+
|
211 |
+
$this->end_controls_section();
|
212 |
+
|
213 |
}
|
214 |
|
215 |
protected function render( $instance = [] ) {
|
includes/admin/assets/js/woolentor-admin.js
CHANGED
@@ -436,6 +436,11 @@
|
|
436 |
|
437 |
});
|
438 |
|
|
|
|
|
|
|
|
|
|
|
439 |
// Hide Show Manage
|
440 |
$('.woolentor-option-repeater-item').on('click', '.woolentor-option-repeater-tools', function(){
|
441 |
const $this = $(this),
|
436 |
|
437 |
});
|
438 |
|
439 |
+
// Change Heading using title field value
|
440 |
+
$('.woolentor-repeater-title-field :input').on('keyup change',function( event ){
|
441 |
+
$(this).closest('.woolentor-option-repeater-fields').siblings('.woolentor-option-repeater-tools').find('.woolentor-option-repeater-item-title').html( $(this).val() );
|
442 |
+
});
|
443 |
+
|
444 |
// Hide Show Manage
|
445 |
$('.woolentor-option-repeater-item').on('click', '.woolentor-option-repeater-tools', function(){
|
446 |
const $this = $(this),
|
includes/admin/include/admin_field-manager.php
CHANGED
@@ -270,7 +270,17 @@ class Woolentor_Admin_Fields_Manager {
|
|
270 |
*/
|
271 |
public function callback_module( $args ) {
|
272 |
|
273 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
274 |
|
275 |
$probadge = $data_atr = '';
|
276 |
if( $args['additional_info']['is_pro'] === true ){
|
@@ -336,9 +346,10 @@ class Woolentor_Admin_Fields_Manager {
|
|
336 |
<div class="woolentor-option-repeater-fields">
|
337 |
<?php
|
338 |
foreach ( $args['fields'] as $field ) {
|
|
|
339 |
$field['option_id'] = '['.$args['id'].'][]['.$field['name'].']';
|
340 |
$field['depend_id'] = $field['name'];
|
341 |
-
$field['class'] = isset( $field['class'] ) ? $field['class'].' woolentor-repeater-field' : 'woolentor-repeater-field';
|
342 |
$field['value'] = ( isset( $field['name'] ) && isset( $values[$key][$field['name']] ) ) ? $values[$key][$field['name']] : '';
|
343 |
$this->add_field( $field, $args['section'] );
|
344 |
}
|
@@ -364,8 +375,9 @@ class Woolentor_Admin_Fields_Manager {
|
|
364 |
<div class="woolentor-option-repeater-fields">
|
365 |
<?php
|
366 |
foreach( $args['fields'] as $field ){
|
|
|
367 |
$field['option_id'] = '['.$args['id'].'][]['.$field['name'].']';
|
368 |
-
$field['class'] = $field['class'].' woolentor-repeater-field';
|
369 |
$this->add_field( $field, $args['section'] );
|
370 |
}
|
371 |
?>
|
270 |
*/
|
271 |
public function callback_module( $args ) {
|
272 |
|
273 |
+
if ( strstr( $args['id'], ',' ) ) {
|
274 |
+
$option_ids = explode( ',' , $args['id'] );
|
275 |
+
foreach( $option_ids as $key => $option_id ){
|
276 |
+
$value = esc_attr( $this->get_option( $option_id, $args['section'], $args['std'] ) );
|
277 |
+
if( $value === 'on' ){
|
278 |
+
break;
|
279 |
+
}
|
280 |
+
}
|
281 |
+
}else{
|
282 |
+
$value = esc_attr( $this->get_option( $args['id'], $args['section'], $args['std'] ) );
|
283 |
+
}
|
284 |
|
285 |
$probadge = $data_atr = '';
|
286 |
if( $args['additional_info']['is_pro'] === true ){
|
346 |
<div class="woolentor-option-repeater-fields">
|
347 |
<?php
|
348 |
foreach ( $args['fields'] as $field ) {
|
349 |
+
$title_field_class = $args['title_field'] == $field['name'] ? 'woolentor-repeater-title-field' : '';
|
350 |
$field['option_id'] = '['.$args['id'].'][]['.$field['name'].']';
|
351 |
$field['depend_id'] = $field['name'];
|
352 |
+
$field['class'] = isset( $field['class'] ) ? $field['class'].' woolentor-repeater-field '.$title_field_class : 'woolentor-repeater-field '.$title_field_class;
|
353 |
$field['value'] = ( isset( $field['name'] ) && isset( $values[$key][$field['name']] ) ) ? $values[$key][$field['name']] : '';
|
354 |
$this->add_field( $field, $args['section'] );
|
355 |
}
|
375 |
<div class="woolentor-option-repeater-fields">
|
376 |
<?php
|
377 |
foreach( $args['fields'] as $field ){
|
378 |
+
$title_field_class = $args['title_field'] == $field['name'] ? 'woolentor-repeater-title-field' : '';
|
379 |
$field['option_id'] = '['.$args['id'].'][]['.$field['name'].']';
|
380 |
+
$field['class'] = $field['class'].' woolentor-repeater-field '.$title_field_class;
|
381 |
$this->add_field( $field, $args['section'] );
|
382 |
}
|
383 |
?>
|
includes/archive_product_render.php
CHANGED
@@ -77,8 +77,11 @@ class Archive_Products_Render extends WC_Shortcode_Products {
|
|
77 |
$query_args['orderby'] = '';
|
78 |
$query_args['order'] = '';
|
79 |
}
|
80 |
-
|
81 |
-
|
|
|
|
|
|
|
82 |
$this->is_added_product_filter = true;
|
83 |
|
84 |
} else {
|
77 |
$query_args['orderby'] = '';
|
78 |
$query_args['order'] = '';
|
79 |
}
|
80 |
+
|
81 |
+
// If Fibosearch plugin activate.
|
82 |
+
if( ! isset( $query_args['dgwt_wcas'] ) ){
|
83 |
+
add_action( 'pre_get_posts', [ wc()->query, 'product_query' ] );
|
84 |
+
}
|
85 |
$this->is_added_product_filter = true;
|
86 |
|
87 |
} else {
|
includes/modules/compare/assets/images/extensions/email-candy-pro.png
DELETED
Binary file
|
includes/modules/compare/assets/images/extensions/hashbar-pro.png
DELETED
Binary file
|
includes/modules/compare/assets/images/extensions/htmega-pro.png
DELETED
Binary file
|
includes/modules/compare/assets/images/extensions/just-tables-pro.png
DELETED
Binary file
|
includes/modules/compare/assets/images/extensions/multicurrencypro.png
DELETED
Binary file
|
includes/modules/compare/assets/images/extensions/whols-pro.png
DELETED
Binary file
|
includes/modules/compare/assets/images/extensions/woolentor-addons-pro.png
DELETED
Binary file
|
includes/modules/compare/includes/classes/Frontend/Shortcode.php
CHANGED
@@ -130,15 +130,8 @@ class Shortcode {
|
|
130 |
*/
|
131 |
public function get_icon( $type = '' ){
|
132 |
|
133 |
-
$
|
134 |
-
|
135 |
-
'verify_peer' => false,
|
136 |
-
'verify_peer_name' => false,
|
137 |
-
]
|
138 |
-
];
|
139 |
-
|
140 |
-
$default_icon = file_get_contents( EVERCOMPARE_ASSETS .'/images/icon.svg', false, stream_context_create($arrContextOptions) );
|
141 |
-
$default_loader = '<span class="ever-compare-loader">'.file_get_contents( EVERCOMPARE_ASSETS .'/images/loading.svg', false, stream_context_create($arrContextOptions) ).'</span>';
|
142 |
|
143 |
$button_text = ( $type === 'added' ) ? woolentor_get_option( 'added_button_text','ever_compare_settings_tabs', 'Added' ) : woolentor_get_option( 'button_text','ever_compare_settings_tabs', 'Compare' );
|
144 |
|
130 |
*/
|
131 |
public function get_icon( $type = '' ){
|
132 |
|
133 |
+
$default_icon = ever_compare_icon_list('default');
|
134 |
+
$default_loader = '<span class="ever-compare-loader">'.ever_compare_icon_list('loading').'</span>';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
135 |
|
136 |
$button_text = ( $type === 'added' ) ? woolentor_get_option( 'added_button_text','ever_compare_settings_tabs', 'Added' ) : woolentor_get_option( 'button_text','ever_compare_settings_tabs', 'Compare' );
|
137 |
|
includes/modules/compare/includes/helper-functions.php
CHANGED
@@ -164,4 +164,19 @@ function ever_compare_generate_css( $key, $tab, $css_attr, $unit = '' ){
|
|
164 |
return false;
|
165 |
}
|
166 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
167 |
}
|
164 |
return false;
|
165 |
}
|
166 |
|
167 |
+
}
|
168 |
+
|
169 |
+
/**
|
170 |
+
* [ever_compare_icon_list]
|
171 |
+
* @return [svg]
|
172 |
+
*/
|
173 |
+
function ever_compare_icon_list( $key = '' ){
|
174 |
+
$icon_list = [
|
175 |
+
'default' => '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 471.701 471.701">
|
176 |
+
<g class="ever-compare-refresh"><path d="M409.6,0c-9.426,0-17.067,7.641-17.067,17.067v62.344C304.667-5.656,164.478-3.386,79.411,84.479 c-40.09,41.409-62.455,96.818-62.344,154.454c0,9.426,7.641,17.067,17.067,17.067S51.2,248.359,51.2,238.933 c0.021-103.682,84.088-187.717,187.771-187.696c52.657,0.01,102.888,22.135,138.442,60.976l-75.605,25.207 c-8.954,2.979-13.799,12.652-10.82,21.606s12.652,13.799,21.606,10.82l102.4-34.133c6.99-2.328,11.697-8.88,11.674-16.247v-102.4 C426.667,7.641,419.026,0,409.6,0z"/><path d="M443.733,221.867c-9.426,0-17.067,7.641-17.067,17.067c-0.021,103.682-84.088,187.717-187.771,187.696 c-52.657-0.01-102.888-22.135-138.442-60.976l75.605-25.207c8.954-2.979,13.799-12.652,10.82-21.606 c-2.979-8.954-12.652-13.799-21.606-10.82l-102.4,34.133c-6.99,2.328-11.697,8.88-11.674,16.247v102.4 c0,9.426,7.641,17.067,17.067,17.067s17.067-7.641,17.067-17.067v-62.345c87.866,85.067,228.056,82.798,313.122-5.068 c40.09-41.409,62.455-96.818,62.344-154.454C460.8,229.508,453.159,221.867,443.733,221.867z"/></g>
|
177 |
+
<g class="ever-compare-check"><path d="M238.933,0C106.974,0,0,106.974,0,238.933s106.974,238.933,238.933,238.933s238.933-106.974,238.933-238.933 C477.726,107.033,370.834,0.141,238.933,0z M238.933,443.733c-113.108,0-204.8-91.692-204.8-204.8s91.692-204.8,204.8-204.8 s204.8,91.692,204.8,204.8C443.611,351.991,351.991,443.611,238.933,443.733z"/><path d="M370.046,141.534c-6.614-6.388-17.099-6.388-23.712,0v0L187.733,300.134l-56.201-56.201 c-6.548-6.78-17.353-6.967-24.132-0.419c-6.78,6.548-6.967,17.353-0.419,24.132c0.137,0.142,0.277,0.282,0.419,0.419 l68.267,68.267c6.664,6.663,17.468,6.663,24.132,0l170.667-170.667C377.014,158.886,376.826,148.082,370.046,141.534z"/></g></svg>',
|
178 |
+
'loading' => '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 471.701 471.701">
|
179 |
+
<g class="ever-compare-refresh"><path d="M409.6,0c-9.426,0-17.067,7.641-17.067,17.067v62.344C304.667-5.656,164.478-3.386,79.411,84.479 c-40.09,41.409-62.455,96.818-62.344,154.454c0,9.426,7.641,17.067,17.067,17.067S51.2,248.359,51.2,238.933 c0.021-103.682,84.088-187.717,187.771-187.696c52.657,0.01,102.888,22.135,138.442,60.976l-75.605,25.207 c-8.954,2.979-13.799,12.652-10.82,21.606s12.652,13.799,21.606,10.82l102.4-34.133c6.99-2.328,11.697-8.88,11.674-16.247v-102.4 C426.667,7.641,419.026,0,409.6,0z"/><path d="M443.733,221.867c-9.426,0-17.067,7.641-17.067,17.067c-0.021,103.682-84.088,187.717-187.771,187.696 c-52.657-0.01-102.888-22.135-138.442-60.976l75.605-25.207c8.954-2.979,13.799-12.652,10.82-21.606 c-2.979-8.954-12.652-13.799-21.606-10.82l-102.4,34.133c-6.99,2.328-11.697,8.88-11.674,16.247v102.4 c0,9.426,7.641,17.067,17.067,17.067s17.067-7.641,17.067-17.067v-62.345c87.866,85.067,228.056,82.798,313.122-5.068 c40.09-41.409,62.455-96.818,62.344-154.454C460.8,229.508,453.159,221.867,443.733,221.867z"/></g></svg>'
|
180 |
+
];
|
181 |
+
return ( $key == '' ) ? $icon_list : $icon_list[$key];
|
182 |
}
|
includes/modules/wishlist/assets/css/admin.css
CHANGED
@@ -22,6 +22,10 @@ tr.element_section_title_area.message-info{
|
|
22 |
padding: 0 10px;
|
23 |
}
|
24 |
|
|
|
|
|
|
|
|
|
25 |
/* Check box */
|
26 |
.htoptions_element_checkbox label {
|
27 |
padding: 2px;
|
22 |
padding: 0 10px;
|
23 |
}
|
24 |
|
25 |
+
#wishsuite_style_settings_tabs .htoption_seleted_image img {
|
26 |
+
width: 25px;
|
27 |
+
}
|
28 |
+
|
29 |
/* Check box */
|
30 |
.htoptions_element_checkbox label {
|
31 |
padding: 2px;
|
includes/modules/wishlist/assets/css/frontend.css
CHANGED
@@ -24,7 +24,7 @@ a.wishsuite-addtocart.added::after{
|
|
24 |
|
25 |
.wishsuite-loader {
|
26 |
position: absolute;
|
27 |
-
|
28 |
}
|
29 |
a.wishsuite-button::after,.woocommerce a.button.wishsuite-button::after{
|
30 |
display: none;
|
@@ -49,6 +49,9 @@ a.wishsuite-btn.loading,.woocommerce a.button.wishsuite-btn.loading{
|
|
49 |
width: 25px !important;
|
50 |
margin: 0 10px 0 0 !important;
|
51 |
}
|
|
|
|
|
|
|
52 |
|
53 |
.wishsuite-button {
|
54 |
display: inline-flex;
|
@@ -421,6 +424,12 @@ a.wishsuite-btn.loading,.woocommerce a.button.wishsuite-btn.loading{
|
|
421 |
fill: currentColor;
|
422 |
}
|
423 |
|
|
|
|
|
|
|
|
|
|
|
|
|
424 |
/*@media only screen and (max-width: 760px),
|
425 |
(min-device-width: 768px) and (max-device-width: 1024px) {*/
|
426 |
|
24 |
|
25 |
.wishsuite-loader {
|
26 |
position: absolute;
|
27 |
+
left: 5px;
|
28 |
}
|
29 |
a.wishsuite-button::after,.woocommerce a.button.wishsuite-button::after{
|
30 |
display: none;
|
49 |
width: 25px !important;
|
50 |
margin: 0 10px 0 0 !important;
|
51 |
}
|
52 |
+
a.wishsuite-button.loading img{
|
53 |
+
opacity: 0.5;
|
54 |
+
}
|
55 |
|
56 |
.wishsuite-button {
|
57 |
display: inline-flex;
|
424 |
fill: currentColor;
|
425 |
}
|
426 |
|
427 |
+
/* WooLentor addons */
|
428 |
+
.elementor-widget-woolentor-universal-product .wishsuite-button img,
|
429 |
+
.elementor-widget-woolentor-product-tab .wishsuite-button img{
|
430 |
+
margin: 0 !important;
|
431 |
+
}
|
432 |
+
|
433 |
/*@media only screen and (max-width: 760px),
|
434 |
(min-device-width: 768px) and (max-device-width: 1024px) {*/
|
435 |
|
includes/modules/wishlist/assets/images/extensions/email-candy-pro.png
DELETED
Binary file
|
includes/modules/wishlist/assets/images/extensions/hashbar-pro.png
DELETED
Binary file
|
includes/modules/wishlist/assets/images/extensions/htmega-pro.png
DELETED
Binary file
|
includes/modules/wishlist/assets/images/extensions/just-tables-pro.png
DELETED
Binary file
|
includes/modules/wishlist/assets/images/extensions/multicurrencypro.png
DELETED
Binary file
|
includes/modules/wishlist/assets/images/extensions/whols-pro.png
DELETED
Binary file
|
includes/modules/wishlist/assets/images/extensions/woolentor-addons-pro.png
DELETED
Binary file
|
includes/modules/wishlist/assets/images/social-icon/email.svg
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
<svg id="Capa_1" enable-background="new 0 0 479.058 479.058" height="512" viewBox="0 0 479.058 479.058" width="512" xmlns="http://www.w3.org/2000/svg"><path d="m434.146 59.882h-389.234c-24.766 0-44.912 20.146-44.912 44.912v269.47c0 24.766 20.146 44.912 44.912 44.912h389.234c24.766 0 44.912-20.146 44.912-44.912v-269.47c0-24.766-20.146-44.912-44.912-44.912zm0 29.941c2.034 0 3.969.422 5.738 1.159l-200.355 173.649-200.356-173.649c1.769-.736 3.704-1.159 5.738-1.159zm0 299.411h-389.234c-8.26 0-14.971-6.71-14.971-14.971v-251.648l199.778 173.141c2.822 2.441 6.316 3.655 9.81 3.655s6.988-1.213 9.81-3.655l199.778-173.141v251.649c-.001 8.26-6.711 14.97-14.971 14.97z"/></svg>
|
|
includes/modules/wishlist/assets/images/social-icon/facebook.svg
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
<svg id="Bold" enable-background="new 0 0 24 24" height="512" viewBox="0 0 24 24" width="512" xmlns="http://www.w3.org/2000/svg"><path d="m15.997 3.985h2.191v-3.816c-.378-.052-1.678-.169-3.192-.169-3.159 0-5.323 1.987-5.323 5.639v3.361h-3.486v4.266h3.486v10.734h4.274v-10.733h3.345l.531-4.266h-3.877v-2.939c.001-1.233.333-2.077 2.051-2.077z"/></svg>
|
|
includes/modules/wishlist/assets/images/social-icon/linkedin.svg
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
<svg height="682pt" viewBox="-21 -35 682.66669 682" width="682pt" xmlns="http://www.w3.org/2000/svg"><path d="m77.613281-.667969c-46.929687 0-77.613281 30.816407-77.613281 71.320313 0 39.609375 29.769531 71.304687 75.8125 71.304687h.890625c47.847656 0 77.625-31.695312 77.625-71.304687-.894531-40.503906-29.777344-71.320313-76.714844-71.320313zm0 0"/><path d="m8.109375 198.3125h137.195313v412.757812h-137.195313zm0 0"/><path d="m482.054688 188.625c-74.011719 0-123.640626 69.546875-123.640626 69.546875v-59.859375h-137.199218v412.757812h137.191406v-230.5c0-12.339843.894531-24.660156 4.519531-33.484374 9.917969-24.640626 32.488281-50.167969 70.390625-50.167969 49.644532 0 69.5 37.851562 69.5 93.339843v220.8125h137.183594v-236.667968c0-126.78125-67.6875-185.777344-157.945312-185.777344zm0 0"/></svg>
|
|
includes/modules/wishlist/assets/images/social-icon/odnoklassniki.svg
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
<svg id="Bold" enable-background="new 0 0 24 24" height="512" viewBox="0 0 24 24" width="512" xmlns="http://www.w3.org/2000/svg"><path d="m4.721 12.881c-.613 1.205.083 1.781 1.671 2.765 1.35.834 3.215 1.139 4.413 1.261-.491.472 1.759-1.692-4.721 4.541-1.374 1.317.838 3.43 2.211 2.141l3.717-3.585c1.423 1.369 2.787 2.681 3.717 3.59 1.374 1.294 3.585-.801 2.226-2.141-.102-.097-5.037-4.831-4.736-4.541 1.213-.122 3.05-.445 4.384-1.261l-.001-.001c1.588-.989 2.284-1.564 1.68-2.769-.365-.684-1.349-1.256-2.659-.267 0 0-1.769 1.355-4.622 1.355-2.854 0-4.622-1.355-4.622-1.355-1.309-.994-2.297-.417-2.658.267z"/><path d="m11.999 12.142c3.478 0 6.318-2.718 6.318-6.064 0-3.36-2.84-6.078-6.318-6.078-3.479 0-6.319 2.718-6.319 6.078 0 3.346 2.84 6.064 6.319 6.064zm0-9.063c1.709 0 3.103 1.341 3.103 2.999 0 1.644-1.394 2.985-3.103 2.985s-3.103-1.341-3.103-2.985c-.001-1.659 1.393-2.999 3.103-2.999z"/></svg>
|
|
includes/modules/wishlist/assets/images/social-icon/pinterest.svg
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
<svg id="Bold" enable-background="new 0 0 24 24" height="512" viewBox="0 0 24 24" width="512" xmlns="http://www.w3.org/2000/svg"><path d="m12.326 0c-6.579.001-10.076 4.216-10.076 8.812 0 2.131 1.191 4.79 3.098 5.633.544.245.472-.054.94-1.844.037-.149.018-.278-.102-.417-2.726-3.153-.532-9.635 5.751-9.635 9.093 0 7.394 12.582 1.582 12.582-1.498 0-2.614-1.176-2.261-2.631.428-1.733 1.266-3.596 1.266-4.845 0-3.148-4.69-2.681-4.69 1.49 0 1.289.456 2.159.456 2.159s-1.509 6.096-1.789 7.235c-.474 1.928.064 5.049.111 5.318.029.148.195.195.288.073.149-.195 1.973-2.797 2.484-4.678.186-.685.949-3.465.949-3.465.503.908 1.953 1.668 3.498 1.668 4.596 0 7.918-4.04 7.918-9.053-.016-4.806-4.129-8.402-9.423-8.402z"/></svg>
|
|
includes/modules/wishlist/assets/images/social-icon/reddit.svg
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
<svg id="Bold" enable-background="new 0 0 24 24" height="512" viewBox="0 0 24 24" width="512" xmlns="http://www.w3.org/2000/svg"><path d="m21.325 9.308c-.758 0-1.425.319-1.916.816-1.805-1.268-4.239-2.084-6.936-2.171l1.401-6.406 4.461 1.016c0 1.108.89 2.013 1.982 2.013 1.113 0 2.008-.929 2.008-2.038s-.889-2.038-2.007-2.038c-.779 0-1.451.477-1.786 1.129l-4.927-1.108c-.248-.067-.491.113-.557.365l-1.538 7.062c-2.676.113-5.084.928-6.895 2.197-.491-.518-1.184-.837-1.942-.837-2.812 0-3.733 3.829-1.158 5.138-.091.405-.132.837-.132 1.268 0 4.301 4.775 7.786 10.638 7.786 5.888 0 10.663-3.485 10.663-7.786 0-.431-.045-.883-.156-1.289 2.523-1.314 1.594-5.115-1.203-5.117zm-15.724 5.41c0-1.129.89-2.038 2.008-2.038 1.092 0 1.983.903 1.983 2.038 0 1.109-.89 2.013-1.983 2.013-1.113.005-2.008-.904-2.008-2.013zm10.839 4.798c-1.841 1.868-7.036 1.868-8.878 0-.203-.18-.203-.498 0-.703.177-.18.491-.18.668 0 1.406 1.463 6.07 1.488 7.537 0 .177-.18.491-.18.668 0 .207.206.207.524.005.703zm-.041-2.781c-1.092 0-1.982-.903-1.982-2.011 0-1.129.89-2.038 1.982-2.038 1.113 0 2.008.903 2.008 2.038-.005 1.103-.895 2.011-2.008 2.011z"/></svg>
|
|
includes/modules/wishlist/assets/images/social-icon/telegram.svg
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
<svg id="Bold" enable-background="new 0 0 24 24" height="512" viewBox="0 0 24 24" width="512" xmlns="http://www.w3.org/2000/svg"><path d="m9.417 15.181-.397 5.584c.568 0 .814-.244 1.109-.537l2.663-2.545 5.518 4.041c1.012.564 1.725.267 1.998-.931l3.622-16.972.001-.001c.321-1.496-.541-2.081-1.527-1.714l-21.29 8.151c-1.453.564-1.431 1.374-.247 1.741l5.443 1.693 12.643-7.911c.595-.394 1.136-.176.691.218z"/></svg>
|
|
includes/modules/wishlist/assets/images/social-icon/twitter.svg
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
<svg height="681pt" viewBox="-21 -81 681.33464 681" width="681pt" xmlns="http://www.w3.org/2000/svg"><path d="m200.964844 515.292969c241.050781 0 372.871094-199.703125 372.871094-372.871094 0-5.671875-.117188-11.320313-.371094-16.9375 25.585937-18.5 47.824218-41.585937 65.371094-67.863281-23.480469 10.441406-48.753907 17.460937-75.257813 20.636718 27.054687-16.230468 47.828125-41.894531 57.625-72.488281-25.320313 15.011719-53.363281 25.917969-83.214844 31.808594-23.914062-25.472656-57.964843-41.402344-95.664062-41.402344-72.367188 0-131.058594 58.6875-131.058594 131.03125 0 10.289063 1.152344 20.289063 3.398437 29.882813-108.917968-5.480469-205.503906-57.625-270.132812-136.921875-11.25 19.363281-17.742188 41.863281-17.742188 65.871093 0 45.460938 23.136719 85.605469 58.316407 109.082032-21.5-.660156-41.695313-6.5625-59.351563-16.386719-.019531.550781-.019531 1.085937-.019531 1.671875 0 63.46875 45.171875 116.460938 105.144531 128.46875-11.015625 2.996094-22.605468 4.609375-34.558594 4.609375-8.429687 0-16.648437-.828125-24.632812-2.363281 16.683594 52.070312 65.066406 89.960937 122.425781 91.023437-44.855469 35.15625-101.359375 56.097657-162.769531 56.097657-10.5625 0-21.003906-.605469-31.2617188-1.816407 57.9999998 37.175781 126.8710938 58.871094 200.8867188 58.871094"/></svg>
|
|
includes/modules/wishlist/assets/images/social-icon/vk.svg
DELETED
@@ -1,18 +0,0 @@
|
|
1 |
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2 |
-
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4 |
-
viewBox="0 0 511.962 511.962" style="enable-background:new 0 0 511.962 511.962;" xml:space="preserve">
|
5 |
-
<g>
|
6 |
-
<path d="M507.399,370.471c-1.376-2.304-9.888-20.8-50.848-58.816c-42.88-39.808-37.12-33.344,14.528-102.176
|
7 |
-
c31.456-41.92,44.032-67.52,40.096-78.464c-3.744-10.432-26.88-7.68-26.88-7.68l-76.928,0.448c0,0-5.696-0.768-9.952,1.76
|
8 |
-
c-4.128,2.496-6.784,8.256-6.784,8.256s-12.192,32.448-28.448,60.032c-34.272,58.208-48,61.28-53.6,57.664
|
9 |
-
c-13.024-8.416-9.76-33.856-9.76-51.904c0-56.416,8.544-79.936-16.672-86.016c-8.384-2.016-14.528-3.36-35.936-3.584
|
10 |
-
c-27.456-0.288-50.72,0.096-63.872,6.528c-8.768,4.288-15.52,13.856-11.392,14.4c5.088,0.672,16.608,3.104,22.72,11.424
|
11 |
-
c7.904,10.72,7.616,34.848,7.616,34.848s4.544,66.4-10.592,74.656c-10.4,5.664-24.64-5.888-55.2-58.72
|
12 |
-
c-15.648-27.04-27.488-56.96-27.488-56.96s-2.272-5.568-6.336-8.544c-4.928-3.616-11.84-4.768-11.84-4.768l-73.152,0.448
|
13 |
-
c0,0-10.976,0.32-15.008,5.088c-3.584,4.256-0.288,13.024-0.288,13.024s57.28,133.984,122.112,201.536
|
14 |
-
c59.488,61.92,127.008,57.856,127.008,57.856h30.592c0,0,9.248-1.024,13.952-6.112c4.352-4.672,4.192-13.44,4.192-13.44
|
15 |
-
s-0.608-41.056,18.464-47.104c18.784-5.952,42.912,39.68,68.48,57.248c19.328,13.28,34.016,10.368,34.016,10.368l68.384-0.96
|
16 |
-
C488.583,400.807,524.359,398.599,507.399,370.471z"/>
|
17 |
-
</g>
|
18 |
-
</svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/modules/wishlist/assets/images/social-icon/whatsapp.svg
DELETED
@@ -1,22 +0,0 @@
|
|
1 |
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2 |
-
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4 |
-
viewBox="0 0 52 52" style="enable-background:new 0 0 52 52;" xml:space="preserve">
|
5 |
-
<g>
|
6 |
-
<path d="M26,0C11.663,0,0,11.663,0,26c0,4.891,1.359,9.639,3.937,13.762C2.91,43.36,1.055,50.166,1.035,50.237
|
7 |
-
c-0.096,0.352,0.007,0.728,0.27,0.981c0.263,0.253,0.643,0.343,0.989,0.237L12.6,48.285C16.637,50.717,21.26,52,26,52
|
8 |
-
c14.337,0,26-11.663,26-26S40.337,0,26,0z M26,50c-4.519,0-8.921-1.263-12.731-3.651c-0.161-0.101-0.346-0.152-0.531-0.152
|
9 |
-
c-0.099,0-0.198,0.015-0.294,0.044l-8.999,2.77c0.661-2.413,1.849-6.729,2.538-9.13c0.08-0.278,0.035-0.578-0.122-0.821
|
10 |
-
C3.335,35.173,2,30.657,2,26C2,12.767,12.767,2,26,2s24,10.767,24,24S39.233,50,26,50z"/>
|
11 |
-
<path d="M42.985,32.126c-1.846-1.025-3.418-2.053-4.565-2.803c-0.876-0.572-1.509-0.985-1.973-1.218
|
12 |
-
c-1.297-0.647-2.28-0.19-2.654,0.188c-0.047,0.047-0.089,0.098-0.125,0.152c-1.347,2.021-3.106,3.954-3.621,4.058
|
13 |
-
c-0.595-0.093-3.38-1.676-6.148-3.981c-2.826-2.355-4.604-4.61-4.865-6.146C20.847,20.51,21.5,19.336,21.5,18
|
14 |
-
c0-1.377-3.212-7.126-3.793-7.707c-0.583-0.582-1.896-0.673-3.903-0.273c-0.193,0.039-0.371,0.134-0.511,0.273
|
15 |
-
c-0.243,0.243-5.929,6.04-3.227,13.066c2.966,7.711,10.579,16.674,20.285,18.13c1.103,0.165,2.137,0.247,3.105,0.247
|
16 |
-
c5.71,0,9.08-2.873,10.029-8.572C43.556,32.747,43.355,32.331,42.985,32.126z M30.648,39.511
|
17 |
-
c-10.264-1.539-16.729-11.708-18.715-16.87c-1.97-5.12,1.663-9.685,2.575-10.717c0.742-0.126,1.523-0.179,1.849-0.128
|
18 |
-
c0.681,0.947,3.039,5.402,3.143,6.204c0,0.525-0.171,1.256-2.207,3.293C17.105,21.48,17,21.734,17,22c0,5.236,11.044,12.5,13,12.5
|
19 |
-
c1.701,0,3.919-2.859,5.182-4.722c0.073,0.003,0.196,0.028,0.371,0.116c0.36,0.181,0.984,0.588,1.773,1.104
|
20 |
-
c1.042,0.681,2.426,1.585,4.06,2.522C40.644,37.09,38.57,40.701,30.648,39.511z"/>
|
21 |
-
</g>
|
22 |
-
</svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/modules/wishlist/includes/classes/Admin/Admin_Fields.php
CHANGED
@@ -553,6 +553,43 @@ class Admin_Fields {
|
|
553 |
'class' => 'table_custom_style',
|
554 |
),
|
555 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
556 |
),
|
557 |
|
558 |
);
|
553 |
'class' => 'table_custom_style',
|
554 |
),
|
555 |
|
556 |
+
array(
|
557 |
+
'name' => 'table_custom_style_add_to_cart',
|
558 |
+
'headding'=> __( 'Add To Cart Button style', 'wishsuite' ),
|
559 |
+
'type' => 'title',
|
560 |
+
'size' => 'margin_0 regular',
|
561 |
+
'class' => 'table_custom_style element_section_title_area',
|
562 |
+
),
|
563 |
+
|
564 |
+
array(
|
565 |
+
'name' => 'table_cart_button_color',
|
566 |
+
'label' => esc_html__( 'Color', 'wishsuite' ),
|
567 |
+
'desc' => wp_kses_post( 'Set the add to cart button color of the wishlist table.', 'wishsuite' ),
|
568 |
+
'type' => 'color',
|
569 |
+
'class' => 'table_custom_style',
|
570 |
+
),
|
571 |
+
array(
|
572 |
+
'name' => 'table_cart_button_bg_color',
|
573 |
+
'label' => esc_html__( 'Background Color', 'wishsuite' ),
|
574 |
+
'desc' => wp_kses_post( 'Set the add to cart button background color of the wishlist table.', 'wishsuite' ),
|
575 |
+
'type' => 'color',
|
576 |
+
'class' => 'table_custom_style',
|
577 |
+
),
|
578 |
+
array(
|
579 |
+
'name' => 'table_cart_button_hover_color',
|
580 |
+
'label' => esc_html__( 'Hover Color', 'wishsuite' ),
|
581 |
+
'desc' => wp_kses_post( 'Set the add to cart button hover color of the wishlist table.', 'wishsuite' ),
|
582 |
+
'type' => 'color',
|
583 |
+
'class' => 'table_custom_style',
|
584 |
+
),
|
585 |
+
array(
|
586 |
+
'name' => 'table_cart_button_hover_bg_color',
|
587 |
+
'label' => esc_html__( 'Hover Background Color', 'wishsuite' ),
|
588 |
+
'desc' => wp_kses_post( 'Set the add to cart button hover background color of the wishlist table.', 'wishsuite' ),
|
589 |
+
'type' => 'color',
|
590 |
+
'class' => 'table_custom_style',
|
591 |
+
),
|
592 |
+
|
593 |
),
|
594 |
|
595 |
);
|
includes/modules/wishlist/includes/classes/Assets.php
CHANGED
@@ -183,6 +183,12 @@ class Assets {
|
|
183 |
|
184 |
$border_color = wishsuite_generate_css('table_border_color','wishsuite_style_settings_tabs','border-color');
|
185 |
|
|
|
|
|
|
|
|
|
|
|
|
|
186 |
$table_custom_css = "
|
187 |
.wishsuite-table-content table thead > tr{
|
188 |
{$heading_border_color}
|
@@ -196,6 +202,23 @@ class Assets {
|
|
196 |
}
|
197 |
";
|
198 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
199 |
}
|
200 |
|
201 |
return $button_custom_css.$table_custom_css;
|
183 |
|
184 |
$border_color = wishsuite_generate_css('table_border_color','wishsuite_style_settings_tabs','border-color');
|
185 |
|
186 |
+
// Add To cart Button
|
187 |
+
$button_color = wishsuite_generate_css('table_cart_button_color','wishsuite_style_settings_tabs','color');
|
188 |
+
$button_bg_color = wishsuite_generate_css('table_cart_button_bg_color','wishsuite_style_settings_tabs','background-color');
|
189 |
+
$button_hover_color = wishsuite_generate_css('table_cart_button_hover_color','wishsuite_style_settings_tabs','color');
|
190 |
+
$button_hover_bg_color = wishsuite_generate_css('table_cart_button_hover_bg_color','wishsuite_style_settings_tabs','background-color');
|
191 |
+
|
192 |
$table_custom_css = "
|
193 |
.wishsuite-table-content table thead > tr{
|
194 |
{$heading_border_color}
|
202 |
}
|
203 |
";
|
204 |
|
205 |
+
if( $button_color || $button_bg_color ){
|
206 |
+
$table_custom_css .= "
|
207 |
+
.wishsuite-table-content table .wishsuite-addtocart{
|
208 |
+
{$button_color}
|
209 |
+
{$button_bg_color}
|
210 |
+
}
|
211 |
+
";
|
212 |
+
}
|
213 |
+
if( $button_hover_color || $button_hover_bg_color ){
|
214 |
+
$table_custom_css .= "
|
215 |
+
.wishsuite-table-content table .wishsuite-addtocart:hover{
|
216 |
+
{$button_hover_color}
|
217 |
+
{$button_hover_bg_color}
|
218 |
+
}
|
219 |
+
";
|
220 |
+
}
|
221 |
+
|
222 |
}
|
223 |
|
224 |
return $button_custom_css.$table_custom_css;
|
includes/modules/wishlist/includes/classes/Frontend/Shortcode.php
CHANGED
@@ -197,15 +197,8 @@ class Shortcode {
|
|
197 |
*/
|
198 |
public function icon_generate( $type = '' ){
|
199 |
|
200 |
-
$
|
201 |
-
|
202 |
-
'verify_peer' => false,
|
203 |
-
'verify_peer_name' => false,
|
204 |
-
]
|
205 |
-
];
|
206 |
-
|
207 |
-
$default_icon = file_get_contents( WISHSUITE_ASSETS .'/images/icon.svg', false, stream_context_create($arrContextOptions) );
|
208 |
-
$default_loader = '<span class="wishsuite-loader">'.file_get_contents( WISHSUITE_ASSETS .'/images/loading.svg', false, stream_context_create($arrContextOptions) ).'</span>';
|
209 |
|
210 |
$button_icon = '';
|
211 |
$button_text = ( $type === 'added' ) ? woolentor_get_option( 'added_button_text','wishsuite_settings_tabs', 'Wishlist' ) : woolentor_get_option( 'button_text','wishsuite_settings_tabs', 'Wishlist' );
|
197 |
*/
|
198 |
public function icon_generate( $type = '' ){
|
199 |
|
200 |
+
$default_icon = wishsuite_icon_list('default');
|
201 |
+
$default_loader = '<span class="wishsuite-loader">'.wishsuite_icon_list('loading').'</span>';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
202 |
|
203 |
$button_icon = '';
|
204 |
$button_text = ( $type === 'added' ) ? woolentor_get_option( 'added_button_text','wishsuite_settings_tabs', 'Wishlist' ) : woolentor_get_option( 'button_text','wishsuite_settings_tabs', 'Wishlist' );
|
includes/modules/wishlist/includes/helper-functions.php
CHANGED
@@ -187,4 +187,40 @@ function wishsuite_generate_css( $key, $tab, $css_attr ){
|
|
187 |
return false;
|
188 |
}
|
189 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
190 |
}
|
187 |
return false;
|
188 |
}
|
189 |
|
190 |
+
}
|
191 |
+
|
192 |
+
/**
|
193 |
+
* [wishsuite_icon_list]
|
194 |
+
* @return [svg]
|
195 |
+
*/
|
196 |
+
function wishsuite_icon_list( $key = '' ){
|
197 |
+
$icon_list = [
|
198 |
+
'default' => '<svg height="15px" width="15px" viewBox="0 0 471.701 471.701">
|
199 |
+
<path class="heart" d="M433.601,67.001c-24.7-24.7-57.4-38.2-92.3-38.2s-67.7,13.6-92.4,38.3l-12.9,12.9l-13.1-13.1 c-24.7-24.7-57.6-38.4-92.5-38.4c-34.8,0-67.6,13.6-92.2,38.2c-24.7,24.7-38.3,57.5-38.2,92.4c0,34.9,13.7,67.6,38.4,92.3 l187.8,187.8c2.6,2.6,6.1,4,9.5,4c3.4,0,6.9-1.3,9.5-3.9l188.2-187.5c24.7-24.7,38.3-57.5,38.3-92.4 C471.801,124.501,458.301,91.701,433.601,67.001z M414.401,232.701l-178.7,178l-178.3-178.3c-19.6-19.6-30.4-45.6-30.4-73.3 s10.7-53.7,30.3-73.2c19.5-19.5,45.5-30.3,73.1-30.3c27.7,0,53.8,10.8,73.4,30.4l22.6,22.6c5.3,5.3,13.8,5.3,19.1,0l22.4-22.4 c19.6-19.6,45.7-30.4,73.3-30.4c27.6,0,53.6,10.8,73.2,30.3c19.6,19.6,30.3,45.6,30.3,73.3 C444.801,187.101,434.001,213.101,414.401,232.701z"/><g class="loading"><path d="M409.6,0c-9.426,0-17.067,7.641-17.067,17.067v62.344C304.667-5.656,164.478-3.386,79.411,84.479 c-40.09,41.409-62.455,96.818-62.344,154.454c0,9.426,7.641,17.067,17.067,17.067S51.2,248.359,51.2,238.933 c0.021-103.682,84.088-187.717,187.771-187.696c52.657,0.01,102.888,22.135,138.442,60.976l-75.605,25.207 c-8.954,2.979-13.799,12.652-10.82,21.606s12.652,13.799,21.606,10.82l102.4-34.133c6.99-2.328,11.697-8.88,11.674-16.247v-102.4 C426.667,7.641,419.026,0,409.6,0z"/><path d="M443.733,221.867c-9.426,0-17.067,7.641-17.067,17.067c-0.021,103.682-84.088,187.717-187.771,187.696 c-52.657-0.01-102.888-22.135-138.442-60.976l75.605-25.207c8.954-2.979,13.799-12.652,10.82-21.606 c-2.979-8.954-12.652-13.799-21.606-10.82l-102.4,34.133c-6.99,2.328-11.697,8.88-11.674,16.247v102.4 c0,9.426,7.641,17.067,17.067,17.067s17.067-7.641,17.067-17.067v-62.345c87.866,85.067,228.056,82.798,313.122-5.068 c40.09-41.409,62.455-96.818,62.344-154.454C460.8,229.508,453.159,221.867,443.733,221.867z"/></g><g class="check"><path d="M238.933,0C106.974,0,0,106.974,0,238.933s106.974,238.933,238.933,238.933s238.933-106.974,238.933-238.933 C477.726,107.033,370.834,0.141,238.933,0z M238.933,443.733c-113.108,0-204.8-91.692-204.8-204.8s91.692-204.8,204.8-204.8 s204.8,91.692,204.8,204.8C443.611,351.991,351.991,443.611,238.933,443.733z"/><path d="M370.046,141.534c-6.614-6.388-17.099-6.388-23.712,0v0L187.733,300.134l-56.201-56.201 c-6.548-6.78-17.353-6.967-24.132-0.419c-6.78,6.548-6.967,17.353-0.419,24.132c0.137,0.142,0.277,0.282,0.419,0.419 l68.267,68.267c6.664,6.663,17.468,6.663,24.132,0l170.667-170.667C377.014,158.886,376.826,148.082,370.046,141.534z"/></g></svg>',
|
200 |
+
'loading' => '<svg height="15px" width="15px" viewBox="0 0 471.701 471.701">
|
201 |
+
<g class="loading"><path d="M409.6,0c-9.426,0-17.067,7.641-17.067,17.067v62.344C304.667-5.656,164.478-3.386,79.411,84.479 c-40.09,41.409-62.455,96.818-62.344,154.454c0,9.426,7.641,17.067,17.067,17.067S51.2,248.359,51.2,238.933 c0.021-103.682,84.088-187.717,187.771-187.696c52.657,0.01,102.888,22.135,138.442,60.976l-75.605,25.207 c-8.954,2.979-13.799,12.652-10.82,21.606s12.652,13.799,21.606,10.82l102.4-34.133c6.99-2.328,11.697-8.88,11.674-16.247v-102.4 C426.667,7.641,419.026,0,409.6,0z"></path><path d="M443.733,221.867c-9.426,0-17.067,7.641-17.067,17.067c-0.021,103.682-84.088,187.717-187.771,187.696 c-52.657-0.01-102.888-22.135-138.442-60.976l75.605-25.207c8.954-2.979,13.799-12.652,10.82-21.606 c-2.979-8.954-12.652-13.799-21.606-10.82l-102.4,34.133c-6.99,2.328-11.697,8.88-11.674,16.247v102.4 c0,9.426,7.641,17.067,17.067,17.067s17.067-7.641,17.067-17.067v-62.345c87.866,85.067,228.056,82.798,313.122-5.068 c40.09-41.409,62.455-96.818,62.344-154.454C460.8,229.508,453.159,221.867,443.733,221.867z"></path></g></svg>',
|
202 |
+
'email' => '<svg id="Capa_1" enable-background="new 0 0 479.058 479.058" height="512" viewBox="0 0 479.058 479.058" width="512" xmlns="http://www.w3.org/2000/svg">
|
203 |
+
<path d="m434.146 59.882h-389.234c-24.766 0-44.912 20.146-44.912 44.912v269.47c0 24.766 20.146 44.912 44.912 44.912h389.234c24.766 0 44.912-20.146 44.912-44.912v-269.47c0-24.766-20.146-44.912-44.912-44.912zm0 29.941c2.034 0 3.969.422 5.738 1.159l-200.355 173.649-200.356-173.649c1.769-.736 3.704-1.159 5.738-1.159zm0 299.411h-389.234c-8.26 0-14.971-6.71-14.971-14.971v-251.648l199.778 173.141c2.822 2.441 6.316 3.655 9.81 3.655s6.988-1.213 9.81-3.655l199.778-173.141v251.649c-.001 8.26-6.711 14.97-14.971 14.97z"/></svg>',
|
204 |
+
'facebook' => '<svg id="Bold" enable-background="new 0 0 24 24" height="512" viewBox="0 0 24 24" width="512" xmlns="http://www.w3.org/2000/svg">
|
205 |
+
<path d="m15.997 3.985h2.191v-3.816c-.378-.052-1.678-.169-3.192-.169-3.159 0-5.323 1.987-5.323 5.639v3.361h-3.486v4.266h3.486v10.734h4.274v-10.733h3.345l.531-4.266h-3.877v-2.939c.001-1.233.333-2.077 2.051-2.077z"/></svg>',
|
206 |
+
'linkedin' => '<svg height="682pt" viewBox="-21 -35 682.66669 682" width="682pt" xmlns="http://www.w3.org/2000/svg">
|
207 |
+
<path d="m77.613281-.667969c-46.929687 0-77.613281 30.816407-77.613281 71.320313 0 39.609375 29.769531 71.304687 75.8125 71.304687h.890625c47.847656 0 77.625-31.695312 77.625-71.304687-.894531-40.503906-29.777344-71.320313-76.714844-71.320313zm0 0"/><path d="m8.109375 198.3125h137.195313v412.757812h-137.195313zm0 0"/><path d="m482.054688 188.625c-74.011719 0-123.640626 69.546875-123.640626 69.546875v-59.859375h-137.199218v412.757812h137.191406v-230.5c0-12.339843.894531-24.660156 4.519531-33.484374 9.917969-24.640626 32.488281-50.167969 70.390625-50.167969 49.644532 0 69.5 37.851562 69.5 93.339843v220.8125h137.183594v-236.667968c0-126.78125-67.6875-185.777344-157.945312-185.777344zm0 0"/></svg>',
|
208 |
+
'odnoklassniki' => '<svg id="Bold" enable-background="new 0 0 24 24" height="512" viewBox="0 0 24 24" width="512" xmlns="http://www.w3.org/2000/svg">
|
209 |
+
<path d="m4.721 12.881c-.613 1.205.083 1.781 1.671 2.765 1.35.834 3.215 1.139 4.413 1.261-.491.472 1.759-1.692-4.721 4.541-1.374 1.317.838 3.43 2.211 2.141l3.717-3.585c1.423 1.369 2.787 2.681 3.717 3.59 1.374 1.294 3.585-.801 2.226-2.141-.102-.097-5.037-4.831-4.736-4.541 1.213-.122 3.05-.445 4.384-1.261l-.001-.001c1.588-.989 2.284-1.564 1.68-2.769-.365-.684-1.349-1.256-2.659-.267 0 0-1.769 1.355-4.622 1.355-2.854 0-4.622-1.355-4.622-1.355-1.309-.994-2.297-.417-2.658.267z"/><path d="m11.999 12.142c3.478 0 6.318-2.718 6.318-6.064 0-3.36-2.84-6.078-6.318-6.078-3.479 0-6.319 2.718-6.319 6.078 0 3.346 2.84 6.064 6.319 6.064zm0-9.063c1.709 0 3.103 1.341 3.103 2.999 0 1.644-1.394 2.985-3.103 2.985s-3.103-1.341-3.103-2.985c-.001-1.659 1.393-2.999 3.103-2.999z"/></svg>',
|
210 |
+
'pinterest' => '<svg id="Bold" enable-background="new 0 0 24 24" height="512" viewBox="0 0 24 24" width="512" xmlns="http://www.w3.org/2000/svg">
|
211 |
+
<path d="m12.326 0c-6.579.001-10.076 4.216-10.076 8.812 0 2.131 1.191 4.79 3.098 5.633.544.245.472-.054.94-1.844.037-.149.018-.278-.102-.417-2.726-3.153-.532-9.635 5.751-9.635 9.093 0 7.394 12.582 1.582 12.582-1.498 0-2.614-1.176-2.261-2.631.428-1.733 1.266-3.596 1.266-4.845 0-3.148-4.69-2.681-4.69 1.49 0 1.289.456 2.159.456 2.159s-1.509 6.096-1.789 7.235c-.474 1.928.064 5.049.111 5.318.029.148.195.195.288.073.149-.195 1.973-2.797 2.484-4.678.186-.685.949-3.465.949-3.465.503.908 1.953 1.668 3.498 1.668 4.596 0 7.918-4.04 7.918-9.053-.016-4.806-4.129-8.402-9.423-8.402z"/></svg>',
|
212 |
+
'reddit' => '<svg id="Bold" enable-background="new 0 0 24 24" height="512" viewBox="0 0 24 24" width="512" xmlns="http://www.w3.org/2000/svg">
|
213 |
+
<path d="m21.325 9.308c-.758 0-1.425.319-1.916.816-1.805-1.268-4.239-2.084-6.936-2.171l1.401-6.406 4.461 1.016c0 1.108.89 2.013 1.982 2.013 1.113 0 2.008-.929 2.008-2.038s-.889-2.038-2.007-2.038c-.779 0-1.451.477-1.786 1.129l-4.927-1.108c-.248-.067-.491.113-.557.365l-1.538 7.062c-2.676.113-5.084.928-6.895 2.197-.491-.518-1.184-.837-1.942-.837-2.812 0-3.733 3.829-1.158 5.138-.091.405-.132.837-.132 1.268 0 4.301 4.775 7.786 10.638 7.786 5.888 0 10.663-3.485 10.663-7.786 0-.431-.045-.883-.156-1.289 2.523-1.314 1.594-5.115-1.203-5.117zm-15.724 5.41c0-1.129.89-2.038 2.008-2.038 1.092 0 1.983.903 1.983 2.038 0 1.109-.89 2.013-1.983 2.013-1.113.005-2.008-.904-2.008-2.013zm10.839 4.798c-1.841 1.868-7.036 1.868-8.878 0-.203-.18-.203-.498 0-.703.177-.18.491-.18.668 0 1.406 1.463 6.07 1.488 7.537 0 .177-.18.491-.18.668 0 .207.206.207.524.005.703zm-.041-2.781c-1.092 0-1.982-.903-1.982-2.011 0-1.129.89-2.038 1.982-2.038 1.113 0 2.008.903 2.008 2.038-.005 1.103-.895 2.011-2.008 2.011z"/></svg>',
|
214 |
+
'telegram'=>'<svg id="Bold" enable-background="new 0 0 24 24" height="512" viewBox="0 0 24 24" width="512" xmlns="http://www.w3.org/2000/svg">
|
215 |
+
<path d="m9.417 15.181-.397 5.584c.568 0 .814-.244 1.109-.537l2.663-2.545 5.518 4.041c1.012.564 1.725.267 1.998-.931l3.622-16.972.001-.001c.321-1.496-.541-2.081-1.527-1.714l-21.29 8.151c-1.453.564-1.431 1.374-.247 1.741l5.443 1.693 12.643-7.911c.595-.394 1.136-.176.691.218z"/></svg>',
|
216 |
+
'twitter' => '<svg height="681pt" viewBox="-21 -81 681.33464 681" width="681pt" xmlns="http://www.w3.org/2000/svg">
|
217 |
+
<path d="m200.964844 515.292969c241.050781 0 372.871094-199.703125 372.871094-372.871094 0-5.671875-.117188-11.320313-.371094-16.9375 25.585937-18.5 47.824218-41.585937 65.371094-67.863281-23.480469 10.441406-48.753907 17.460937-75.257813 20.636718 27.054687-16.230468 47.828125-41.894531 57.625-72.488281-25.320313 15.011719-53.363281 25.917969-83.214844 31.808594-23.914062-25.472656-57.964843-41.402344-95.664062-41.402344-72.367188 0-131.058594 58.6875-131.058594 131.03125 0 10.289063 1.152344 20.289063 3.398437 29.882813-108.917968-5.480469-205.503906-57.625-270.132812-136.921875-11.25 19.363281-17.742188 41.863281-17.742188 65.871093 0 45.460938 23.136719 85.605469 58.316407 109.082032-21.5-.660156-41.695313-6.5625-59.351563-16.386719-.019531.550781-.019531 1.085937-.019531 1.671875 0 63.46875 45.171875 116.460938 105.144531 128.46875-11.015625 2.996094-22.605468 4.609375-34.558594 4.609375-8.429687 0-16.648437-.828125-24.632812-2.363281 16.683594 52.070312 65.066406 89.960937 122.425781 91.023437-44.855469 35.15625-101.359375 56.097657-162.769531 56.097657-10.5625 0-21.003906-.605469-31.2617188-1.816407 57.9999998 37.175781 126.8710938 58.871094 200.8867188 58.871094"/></svg>',
|
218 |
+
'vk'=>'<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 511.962 511.962"
|
219 |
+
style="enable-background:new 0 0 511.962 511.962;" xml:space="preserve">
|
220 |
+
<g><path d="M507.399,370.471c-1.376-2.304-9.888-20.8-50.848-58.816c-42.88-39.808-37.12-33.344,14.528-102.176 c31.456-41.92,44.032-67.52,40.096-78.464c-3.744-10.432-26.88-7.68-26.88-7.68l-76.928,0.448c0,0-5.696-0.768-9.952,1.76 c-4.128,2.496-6.784,8.256-6.784,8.256s-12.192,32.448-28.448,60.032c-34.272,58.208-48,61.28-53.6,57.664 c-13.024-8.416-9.76-33.856-9.76-51.904c0-56.416,8.544-79.936-16.672-86.016c-8.384-2.016-14.528-3.36-35.936-3.584 c-27.456-0.288-50.72,0.096-63.872,6.528c-8.768,4.288-15.52,13.856-11.392,14.4c5.088,0.672,16.608,3.104,22.72,11.424 c7.904,10.72,7.616,34.848,7.616,34.848s4.544,66.4-10.592,74.656c-10.4,5.664-24.64-5.888-55.2-58.72 c-15.648-27.04-27.488-56.96-27.488-56.96s-2.272-5.568-6.336-8.544c-4.928-3.616-11.84-4.768-11.84-4.768l-73.152,0.448 c0,0-10.976,0.32-15.008,5.088c-3.584,4.256-0.288,13.024-0.288,13.024s57.28,133.984,122.112,201.536 c59.488,61.92,127.008,57.856,127.008,57.856h30.592c0,0,9.248-1.024,13.952-6.112c4.352-4.672,4.192-13.44,4.192-13.44 s-0.608-41.056,18.464-47.104c18.784-5.952,42.912,39.68,68.48,57.248c19.328,13.28,34.016,10.368,34.016,10.368l68.384-0.96 C488.583,400.807,524.359,398.599,507.399,370.471z"/></g></svg>',
|
221 |
+
'whatsapp'=>'<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
222 |
+
viewBox="0 0 52 52" style="enable-background:new 0 0 52 52;" xml:space="preserve">
|
223 |
+
<g><path d="M26,0C11.663,0,0,11.663,0,26c0,4.891,1.359,9.639,3.937,13.762C2.91,43.36,1.055,50.166,1.035,50.237 c-0.096,0.352,0.007,0.728,0.27,0.981c0.263,0.253,0.643,0.343,0.989,0.237L12.6,48.285C16.637,50.717,21.26,52,26,52 c14.337,0,26-11.663,26-26S40.337,0,26,0z M26,50c-4.519,0-8.921-1.263-12.731-3.651c-0.161-0.101-0.346-0.152-0.531-0.152 c-0.099,0-0.198,0.015-0.294,0.044l-8.999,2.77c0.661-2.413,1.849-6.729,2.538-9.13c0.08-0.278,0.035-0.578-0.122-0.821 C3.335,35.173,2,30.657,2,26C2,12.767,12.767,2,26,2s24,10.767,24,24S39.233,50,26,50z"/><path d="M42.985,32.126c-1.846-1.025-3.418-2.053-4.565-2.803c-0.876-0.572-1.509-0.985-1.973-1.218 c-1.297-0.647-2.28-0.19-2.654,0.188c-0.047,0.047-0.089,0.098-0.125,0.152c-1.347,2.021-3.106,3.954-3.621,4.058 c-0.595-0.093-3.38-1.676-6.148-3.981c-2.826-2.355-4.604-4.61-4.865-6.146C20.847,20.51,21.5,19.336,21.5,18 c0-1.377-3.212-7.126-3.793-7.707c-0.583-0.582-1.896-0.673-3.903-0.273c-0.193,0.039-0.371,0.134-0.511,0.273 c-0.243,0.243-5.929,6.04-3.227,13.066c2.966,7.711,10.579,16.674,20.285,18.13c1.103,0.165,2.137,0.247,3.105,0.247 c5.71,0,9.08-2.873,10.029-8.572C43.556,32.747,43.355,32.331,42.985,32.126z M30.648,39.511 c-10.264-1.539-16.729-11.708-18.715-16.87c-1.97-5.12,1.663-9.685,2.575-10.717c0.742-0.126,1.523-0.179,1.849-0.128 c0.681,0.947,3.039,5.402,3.143,6.204c0,0.525-0.171,1.256-2.207,3.293C17.105,21.48,17,21.734,17,22c0,5.236,11.044,12.5,13,12.5 c1.701,0,3.919-2.859,5.182-4.722c0.073,0.003,0.196,0.028,0.371,0.116c0.36,0.181,0.984,0.588,1.773,1.104 c1.042,0.681,2.426,1.585,4.06,2.522C40.644,37.09,38.57,40.701,30.648,39.511z"/></g></svg>'
|
224 |
+
];
|
225 |
+
return ( $key == '' ) ? $icon_list : $icon_list[$key];
|
226 |
}
|
includes/modules/wishlist/includes/templates/wishsuite-social-share.php
CHANGED
@@ -63,13 +63,6 @@
|
|
63 |
$button_list = woolentor_get_option( 'social_share_buttons','wishsuite_table_settings_tabs', $default_buttons );
|
64 |
$button_text = woolentor_get_option( 'social_share_button_title','wishsuite_table_settings_tabs', 'Share:' );
|
65 |
|
66 |
-
$arrContextOptions = [
|
67 |
-
'ssl' => [
|
68 |
-
'verify_peer' => false,
|
69 |
-
'verify_peer_name' => false,
|
70 |
-
]
|
71 |
-
];
|
72 |
-
|
73 |
?>
|
74 |
|
75 |
<div class="wishsuite-social-share">
|
@@ -81,7 +74,7 @@
|
|
81 |
<li>
|
82 |
<a rel="nofollow" href="<?php echo esc_url( $social_button_list[$buttonkey]['url'] ); ?>" <?php echo ( $buttonkey === 'email' ? '' : 'target="_blank"' ) ?>>
|
83 |
<span class="wishsuite-social-icon">
|
84 |
-
<?php echo
|
85 |
</span>
|
86 |
</a>
|
87 |
</li>
|
63 |
$button_list = woolentor_get_option( 'social_share_buttons','wishsuite_table_settings_tabs', $default_buttons );
|
64 |
$button_text = woolentor_get_option( 'social_share_button_title','wishsuite_table_settings_tabs', 'Share:' );
|
65 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
?>
|
67 |
|
68 |
<div class="wishsuite-social-share">
|
74 |
<li>
|
75 |
<a rel="nofollow" href="<?php echo esc_url( $social_button_list[$buttonkey]['url'] ); ?>" <?php echo ( $buttonkey === 'email' ? '' : 'target="_blank"' ) ?>>
|
76 |
<span class="wishsuite-social-icon">
|
77 |
+
<?php echo wishsuite_icon_list( $buttonkey ); ?>
|
78 |
</span>
|
79 |
</a>
|
80 |
</li>
|
includes/modules/wishlist/includes/templates/wishsuite-table.php
CHANGED
@@ -23,8 +23,13 @@
|
|
23 |
foreach ( $products as $product_id => $product ):
|
24 |
?>
|
25 |
<tr>
|
26 |
-
<?php foreach ( $fields as $field_id => $field ) :
|
27 |
-
|
|
|
|
|
|
|
|
|
|
|
28 |
<?php $wishsuite->display_field( $field_id, $product ); ?>
|
29 |
</td>
|
30 |
<?php endforeach; ?>
|
23 |
foreach ( $products as $product_id => $product ):
|
24 |
?>
|
25 |
<tr>
|
26 |
+
<?php foreach ( $fields as $field_id => $field ) :
|
27 |
+
$data_label = $wishsuite->field_name( $field_id );
|
28 |
+
if( array_key_exists( $field_id, $heading_txt ) && !empty( $heading_txt[$field_id] ) ){
|
29 |
+
$data_label = $wishsuite->field_name( $heading_txt[$field_id], true );
|
30 |
+
}
|
31 |
+
?>
|
32 |
+
<td class="wishsuite-product-<?php echo esc_attr( $field_id ); ?>" data-label="<?php echo esc_attr( $data_label ); ?>">
|
33 |
<?php $wishsuite->display_field( $field_id, $product ); ?>
|
34 |
</td>
|
35 |
<?php endforeach; ?>
|
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-
|
7 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
8 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
9 |
"Language-Team: \n"
|
@@ -194,7 +194,7 @@ msgstr ""
|
|
194 |
msgid "Add ID Manually"
|
195 |
msgstr ""
|
196 |
|
197 |
-
#: includes/admin/include/admin_field-manager.php:
|
198 |
msgid "Add Item"
|
199 |
msgstr ""
|
200 |
|
@@ -207,6 +207,7 @@ msgid "Add New Template"
|
|
207 |
msgstr ""
|
208 |
|
209 |
#: includes/addons/wl_recently_viewed_products.php:394
|
|
|
210 |
msgid "Add To Cart"
|
211 |
msgstr ""
|
212 |
|
@@ -495,6 +496,8 @@ msgstr ""
|
|
495 |
#: includes/addons/wb_image_marker.php:207
|
496 |
#: includes/addons/wb_image_marker.php:260
|
497 |
#: includes/addons/wb_customer_review.php:327
|
|
|
|
|
498 |
#: includes/addons/product_tabs.php:776
|
499 |
#: includes/addons/wl_category_grid.php:471
|
500 |
#: includes/addons/wl_category_grid.php:853
|
@@ -1113,6 +1116,8 @@ msgstr ""
|
|
1113 |
#: includes/addons/wl_recently_viewed_products.php:487
|
1114 |
#: includes/addons/wl_recently_viewed_products.php:580
|
1115 |
#: includes/addons/wl_recently_viewed_products.php:666
|
|
|
|
|
1116 |
#: includes/addons/product_tabs.php:282 includes/addons/product_tabs.php:361
|
1117 |
#: includes/addons/product_tabs.php:649 includes/addons/product_tabs.php:764
|
1118 |
#: includes/addons/product_tabs.php:1134 includes/addons/product_tabs.php:1194
|
@@ -1426,8 +1431,8 @@ msgstr ""
|
|
1426 |
msgid "Do you want to individual icon ?"
|
1427 |
msgstr ""
|
1428 |
|
1429 |
-
#: includes/admin/include/admin_field-manager.php:
|
1430 |
-
#: includes/admin/include/admin_field-manager.php:
|
1431 |
#: includes/admin/templates/dashboard-welcome.php:19
|
1432 |
msgid "Documentation"
|
1433 |
msgstr ""
|
@@ -1882,6 +1887,7 @@ msgstr ""
|
|
1882 |
#: includes/addons/wl_product_filter.php:465
|
1883 |
#: includes/addons/wl_product_filter.php:702
|
1884 |
#: includes/addons/wl_recently_viewed_products.php:480
|
|
|
1885 |
#: includes/addons/product_tabs.php:353 includes/addons/product_tabs.php:748
|
1886 |
#: includes/addons/product_tabs.php:1066 includes/addons/product_tabs.php:1188
|
1887 |
#: includes/addons/wb_product_add_to_cart.php:150
|
@@ -2637,6 +2643,7 @@ msgstr ""
|
|
2637 |
#: includes/addons/wl_product_filter.php:400
|
2638 |
#: includes/addons/wl_product_filter.php:637
|
2639 |
#: includes/addons/wl_recently_viewed_products.php:428
|
|
|
2640 |
#: includes/addons/product_tabs.php:267 includes/addons/product_tabs.php:634
|
2641 |
#: includes/addons/product_tabs.php:870 includes/addons/product_tabs.php:1127
|
2642 |
#: includes/addons/wb_product_add_to_cart.php:65
|
@@ -2962,8 +2969,8 @@ msgid "Template Builder"
|
|
2962 |
msgstr ""
|
2963 |
|
2964 |
#: classes/class.assest_management.php:344
|
2965 |
-
#: includes/admin/include/admin_field-manager.php:
|
2966 |
-
#: includes/admin/include/admin_field-manager.php:
|
2967 |
msgid "Preview"
|
2968 |
msgstr ""
|
2969 |
|
@@ -3020,8 +3027,8 @@ msgstr ""
|
|
3020 |
#: classes/class.assest_management.php:332
|
3021 |
#: includes/admin/include/class.template-manager.php:375
|
3022 |
#: includes/admin/include/admin_field-manager.php:126
|
3023 |
-
#: includes/admin/include/admin_field-manager.php:
|
3024 |
-
#: includes/admin/include/admin_field-manager.php:
|
3025 |
#: includes/admin/include/templates_list.php:53
|
3026 |
msgid "Pro"
|
3027 |
msgstr ""
|
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"
|
194 |
msgid "Add ID Manually"
|
195 |
msgstr ""
|
196 |
|
197 |
+
#: includes/admin/include/admin_field-manager.php:387
|
198 |
msgid "Add Item"
|
199 |
msgstr ""
|
200 |
|
207 |
msgstr ""
|
208 |
|
209 |
#: includes/addons/wl_recently_viewed_products.php:394
|
210 |
+
#: includes/addons/wb_wishsuite_table.php:138
|
211 |
msgid "Add To Cart"
|
212 |
msgstr ""
|
213 |
|
496 |
#: includes/addons/wb_image_marker.php:207
|
497 |
#: includes/addons/wb_image_marker.php:260
|
498 |
#: includes/addons/wb_customer_review.php:327
|
499 |
+
#: includes/addons/wb_wishsuite_table.php:168
|
500 |
+
#: includes/addons/wb_wishsuite_table.php:200
|
501 |
#: includes/addons/product_tabs.php:776
|
502 |
#: includes/addons/wl_category_grid.php:471
|
503 |
#: includes/addons/wl_category_grid.php:853
|
1116 |
#: includes/addons/wl_recently_viewed_products.php:487
|
1117 |
#: includes/addons/wl_recently_viewed_products.php:580
|
1118 |
#: includes/addons/wl_recently_viewed_products.php:666
|
1119 |
+
#: includes/addons/wb_wishsuite_table.php:156
|
1120 |
+
#: includes/addons/wb_wishsuite_table.php:188
|
1121 |
#: includes/addons/product_tabs.php:282 includes/addons/product_tabs.php:361
|
1122 |
#: includes/addons/product_tabs.php:649 includes/addons/product_tabs.php:764
|
1123 |
#: includes/addons/product_tabs.php:1134 includes/addons/product_tabs.php:1194
|
1431 |
msgid "Do you want to individual icon ?"
|
1432 |
msgstr ""
|
1433 |
|
1434 |
+
#: includes/admin/include/admin_field-manager.php:305
|
1435 |
+
#: includes/admin/include/admin_field-manager.php:426
|
1436 |
#: includes/admin/templates/dashboard-welcome.php:19
|
1437 |
msgid "Documentation"
|
1438 |
msgstr ""
|
1887 |
#: includes/addons/wl_product_filter.php:465
|
1888 |
#: includes/addons/wl_product_filter.php:702
|
1889 |
#: includes/addons/wl_recently_viewed_products.php:480
|
1890 |
+
#: includes/addons/wb_wishsuite_table.php:181
|
1891 |
#: includes/addons/product_tabs.php:353 includes/addons/product_tabs.php:748
|
1892 |
#: includes/addons/product_tabs.php:1066 includes/addons/product_tabs.php:1188
|
1893 |
#: includes/addons/wb_product_add_to_cart.php:150
|
2643 |
#: includes/addons/wl_product_filter.php:400
|
2644 |
#: includes/addons/wl_product_filter.php:637
|
2645 |
#: includes/addons/wl_recently_viewed_products.php:428
|
2646 |
+
#: includes/addons/wb_wishsuite_table.php:149
|
2647 |
#: includes/addons/product_tabs.php:267 includes/addons/product_tabs.php:634
|
2648 |
#: includes/addons/product_tabs.php:870 includes/addons/product_tabs.php:1127
|
2649 |
#: includes/addons/wb_product_add_to_cart.php:65
|
2969 |
msgstr ""
|
2970 |
|
2971 |
#: classes/class.assest_management.php:344
|
2972 |
+
#: includes/admin/include/admin_field-manager.php:304
|
2973 |
+
#: includes/admin/include/admin_field-manager.php:425
|
2974 |
msgid "Preview"
|
2975 |
msgstr ""
|
2976 |
|
3027 |
#: classes/class.assest_management.php:332
|
3028 |
#: includes/admin/include/class.template-manager.php:375
|
3029 |
#: includes/admin/include/admin_field-manager.php:126
|
3030 |
+
#: includes/admin/include/admin_field-manager.php:287
|
3031 |
+
#: includes/admin/include/admin_field-manager.php:405
|
3032 |
#: includes/admin/include/templates_list.php:53
|
3033 |
msgid "Pro"
|
3034 |
msgstr ""
|
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 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -345,6 +345,14 @@ Elementor Pro is not required. But you can use wooLentor with Elementor free & P
|
|
345 |
|
346 |
== Changelog ==
|
347 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
348 |
= Version: 2.2.6 - Date: 25-04-2022 =
|
349 |
* Added : Quantity Field Hide option in WL: Add to cart button.
|
350 |
* Solved : Undefine offset Issue in Gutenberg blocks style.
|
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 |
|
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.
|
351 |
+
* Solved : Wishlist table heading showing issue in mobile device.
|
352 |
+
* Solved : Compare Button icon show server permission issue.
|
353 |
+
* Solved : Compatibility with FiboSearch plugin.
|
354 |
+
* Solved : Action Button Line Height issue in Univarsel Layout Addon.
|
355 |
+
|
356 |
= Version: 2.2.6 - Date: 25-04-2022 =
|
357 |
* Added : Quantity Field Hide option in WL: Add to cart button.
|
358 |
* Solved : Undefine offset Issue in Gutenberg blocks style.
|
woolentor_addons_elementor.php
CHANGED
@@ -3,7 +3,7 @@
|
|
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 |
* Author: HasThemes
|
8 |
* Author URI: https://hasthemes.com/plugins/woolentor-pro/
|
9 |
* License: GPL-2.0+
|
@@ -17,7 +17,7 @@
|
|
17 |
|
18 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
19 |
|
20 |
-
define( 'WOOLENTOR_VERSION', '2.2.
|
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.7
|
7 |
* Author: HasThemes
|
8 |
* Author URI: https://hasthemes.com/plugins/woolentor-pro/
|
9 |
* License: GPL-2.0+
|
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 ) );
|