From 0f7eafc8535a7445b66b35e12c80de6d602b8de0 Mon Sep 17 00:00:00 2001 From: Saiful Islam Date: Sun, 2 May 2021 11:30:05 +0600 Subject: [PATCH 1/4] focus isse for advance search box has been fixed --- assets/js/custom.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/assets/js/custom.js b/assets/js/custom.js index ab7123ac..1f4a56d8 100644 --- a/assets/js/custom.js +++ b/assets/js/custom.js @@ -1208,7 +1208,12 @@ var temp_number = thisID.replace('single_keyword_',''); $('#wpt_query_search_button_' + temp_number).trigger('click'); })); - $('body').on('change,focus','.search_select,.query_box_direct_value',function(){ + $('body').on('change','.search_select',function(){ + var thisID = $(this).parents('.wpt_product_table_wrapper').attr('id'); + var temp_number = thisID.replace('table_id_',''); + $('#wpt_query_search_button_' + temp_number).trigger('click'); + }); + $('body').on('change,focus','.query_box_direct_value',function(){ var thisID = $(this).parents('.wpt_product_table_wrapper').attr('id'); var temp_number = thisID.replace('table_id_',''); $('#wpt_query_search_button_' + temp_number).trigger('click'); From 2425c65f964ccde771575cc85ee3a2dd5663c612 Mon Sep 17 00:00:00 2001 From: Saiful Islam Date: Sun, 2 May 2021 12:56:19 +0600 Subject: [PATCH 2/4] css issue solving --- admin/post_metabox_form.php | 2 +- assets/css/admin.css | 12 ++++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/admin/post_metabox_form.php b/admin/post_metabox_form.php index 8c311a07..bcbe2e6d 100644 --- a/admin/post_metabox_form.php +++ b/admin/post_metabox_form.php @@ -147,7 +147,7 @@ class="button-primary button-primary primary button '); } ul#wpt_column_sortable li.wpt_sortable_peritem.enabled>span.handle{ - background-image: url(''); + background-image: url(''); } diff --git a/assets/css/admin.css b/assets/css/admin.css index f7f5e336..5f44c6f1 100644 --- a/assets/css/admin.css +++ b/assets/css/admin.css @@ -82,8 +82,12 @@ ul#wpt_keyword_hide_mobile .wpt_shortable_data, .wpt_mobile_hide_keyword { + transition: 0.3s all; width: 100%; - padding: 15px 10px; + padding: 12px 10px 8px 10px; +} +li.expanded_li .wpt_shortable_data{ + padding: 20px 10px 15px 10px; } .wpt_shortable_data { @@ -133,8 +137,12 @@ ul#wpt_keyword_hide_mobile li>span.handle.checkbox_handle>input .enabled .wpt_shortable_data>input{ background: rgba(0, 118, 147, 0); + border: 1px solid transparent; +} +.enabled:hover .wpt_shortable_data>input{ border: 1px solid #00769324; } + .expanded_li.enabled .wpt_shortable_data>input { background: #00769314; border: 1px solid #00769324; @@ -611,7 +619,7 @@ span.extra_all_on_off { li.wpt_sortable_peritem.enabled span.extra_all_on_off { - background: #007693; + background: #636161; color: white; } span.extra_all_on_off.off_now { From 13512d92dea42a29b37f9729874d156c0315685c Mon Sep 17 00:00:00 2001 From: Saiful Islam Date: Sun, 2 May 2021 15:12:01 +0600 Subject: [PATCH 3/4] configuration label text fixing --- admin/action-hook.php | 43 +++++++++++++++++++++++-------------------- 1 file changed, 23 insertions(+), 20 deletions(-) diff --git a/admin/action-hook.php b/admin/action-hook.php index b60d44ad..42cce462 100644 --- a/admin/action-hook.php +++ b/admin/action-hook.php @@ -204,11 +204,11 @@ function wpt_configure_basic_part( $settings,$current_config_value,$field_name ) - + @@ -221,40 +221,43 @@ function wpt_configure_basic_part( $settings,$current_config_value,$field_name ) + - + - + + +

- + - + + -

+

Direct Checkout Page[for Add to cart Selected]

+ - + - + @@ -263,8 +266,8 @@ function wpt_configure_basic_part( $settings,$current_config_value,$field_name ) From 3144602320d5e9b768996117f82032cc92e9b878 Mon Sep 17 00:00:00 2001 From: Saiful Islam Date: Mon, 3 May 2021 00:08:22 +0600 Subject: [PATCH 4/4] some css update and title attr added for column input --- admin/admin-enqueue.php | 4 ++-- admin/tabs/inc-column/column-list.php | 1 + assets/css/admin.css | 4 +++- assets/js/admin.js | 4 ++-- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/admin/admin-enqueue.php b/admin/admin-enqueue.php index ccf9b764..7a175a61 100644 --- a/admin/admin-enqueue.php +++ b/admin/admin-enqueue.php @@ -8,12 +8,12 @@ */ function wpt_admin_enqueue(){ - wp_enqueue_style( 'wpt-admin', WPT_Product_Table::getPath( 'BASE_URL' ) . 'assets/css/admin.css', array(), '1.0.0', 'all' ); + wp_enqueue_style( 'wpt-admin', WPT_Product_Table::getPath( 'BASE_URL' ) . 'assets/css/admin.css', array(), WPT_DEV_VERSION, 'all' ); /** * Including UltraAddons CSS form Style */ - wp_enqueue_style( 'ultraaddons-css', WPT_Product_Table::getPath( 'BASE_URL' ) . 'assets/css/admin-common.css', array(), '1.0.0', 'all' ); + wp_enqueue_style( 'ultraaddons-css', WPT_Product_Table::getPath( 'BASE_URL' ) . 'assets/css/admin-common.css', array(), WPT_DEV_VERSION, 'all' ); wp_enqueue_style('ultraaddons-css'); /** diff --git a/admin/tabs/inc-column/column-list.php b/admin/tabs/inc-column/column-list.php index 6a29227d..f1382f85 100644 --- a/admin/tabs/inc-column/column-list.php +++ b/admin/tabs/inc-column/column-list.php @@ -35,6 +35,7 @@ data-keyword="" class="colum_data_input " type="text" + title="" value="" > li.wpt_sortable_peritem:hover span.wpt_column_cross{display: inline-block;} .highlighted_text{color: #d00;} @@ -1133,7 +1135,7 @@ ul#wpt_column_sortable>li.wpt_sortable_peritem.enabled{display: flex;} cursor: pointer; background: #e4e4e459; color: black; - border-radius: 9px; + border-radius: 5px; padding: 5px 8px; border: 1px solid #ddd; } diff --git a/assets/js/admin.js b/assets/js/admin.js index 31e6ea71..08dfe8cf 100644 --- a/assets/js/admin.js +++ b/assets/js/admin.js @@ -161,10 +161,10 @@ }); }); - $(document).on('click','.wpt_column_arrow',function(){ + $(document).on('click','ul#wpt_column_sortable>li.wpt_sortable_peritem.enabled .wpt_column_arrow',function(){ var target = $(this).attr('data-target'); var keyword = $(this).attr('data-keyword'); - var thisElement = $(this).parents('.wpt_sortable_peritem'); + var thisElement = $(this).closest('li.wpt_sortable_peritem.enabled'); var prev = thisElement.prev(); var prevClass = prev.attr('class'); var next = thisElement.next();