=== Woo Product Table - Free WooCommerce Table view solution === Contributors: codersaiful,codeastrology -Donate link: https://codecanyon.net/item/woo-product-table-pro/20676867 +Donate link: https://codecanyon.net/item/woo-product-table-pro/20676867 Tags: wc product table,woocommerce product table, product table, wc table, quick order table, wholesale table, restaurants table Requires at least: 4.0.0 Tested up to: 5.3.2 @@ -33,7 +33,7 @@

== Description == Auto Responsive Mobile & Tab, Nice Design, Fast Speed WooCommerce Product Table. Tiny Shortcode, Easy customizable, Ajax Add to cart, Ajax Search, Pagination & Load More. Woo Product Table - Free WooCommerce Table view solution offers to show all products display as a table in page by light shortcode. Fully responsive and mobile friendly. Easily customizable - color,background,title,text color etc.

-

$10 Discount for Limited Time

+

$10 Discount for Limited Time

Demo List

  • diff --git a/readme.txt b/readme.txt index c3f22ffd..292ccedb 100644 --- a/readme.txt +++ b/readme.txt @@ -1,6 +1,6 @@ === Woo Product Table - Free WooCommerce Table view solution === Contributors: codersaiful,codeastrology -Donate link: https://codecanyon.net/item/woo-product-table-pro/20676867 +Donate link: https://codecanyon.net/item/woo-product-table-pro/20676867?ref=CodeAstrology&utm_source=WPT_Installed_DonateLink Tags: wc product table,woocommerce product table, product table, wc table, quick order table, wholesale table, restaurants table Requires at least: 4.0.0 Tested up to: 5.7.0 diff --git a/woo-product-table.php b/woo-product-table.php index ec5c08c9..91656f1f 100644 --- a/woo-product-table.php +++ b/woo-product-table.php @@ -1,11 +1,11 @@ Date: Mon, 3 May 2021 14:00:51 +0600 Subject: [PATCH 08/13] static added at uninstall --- woo-product-table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/woo-product-table.php b/woo-product-table.php index 91656f1f..e44c4108 100644 --- a/woo-product-table.php +++ b/woo-product-table.php @@ -811,7 +811,7 @@ public static function install() { * * @since 1.0.0 */ - public function uninstall() { + public static function uninstall() { //Nothing for now } From 6728c9c5709054090cda3397b81d92a00ba3f968 Mon Sep 17 00:00:00 2001 From: Saiful Islam Date: Mon, 3 May 2021 16:09:43 +0600 Subject: [PATCH 09/13] tested version update --- woo-product-table.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/woo-product-table.php b/woo-product-table.php index e44c4108..0edf22d6 100644 --- a/woo-product-table.php +++ b/woo-product-table.php @@ -9,9 +9,9 @@ * * Version: 2.8.5 * Requires at least: 4.0.0 - * Tested up to: 5.7 + * Tested up to: 5.7.1 * WC requires at least: 3.0.0 - * WC tested up to: 5.1.0 + * WC tested up to: 5.2.2 * * Text Domain: wpt_pro * Domain Path: /languages/ From c61ea6b4c7c5abcb405f808a27e5c6b30a0c2fef Mon Sep 17 00:00:00 2001 From: Saiful Islam Date: Tue, 4 May 2021 23:29:18 +0600 Subject: [PATCH 10/13] css fixing and js fadein out added --- assets/css/admin.css | 4 ++++ assets/js/admin.js | 20 ++++++++++++++++---- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/assets/css/admin.css b/assets/css/admin.css index c22930bc..f7a4b128 100644 --- a/assets/css/admin.css +++ b/assets/css/admin.css @@ -139,8 +139,12 @@ ul#wpt_keyword_hide_mobile li>span.handle.checkbox_handle>input background: rgba(0, 118, 147, 0); border: 1px solid transparent; } +.wpt_shortable_data>input{ + font-weight: bold; +} .enabled:hover .wpt_shortable_data>input{ border: 1px solid #00769324; + font-weight: normal; } .expanded_li.enabled .wpt_shortable_data>input { diff --git a/assets/js/admin.js b/assets/js/admin.js index d2b17143..61d7e14a 100644 --- a/assets/js/admin.js +++ b/assets/js/admin.js @@ -337,8 +337,14 @@ var targetLiSelector = thisWPTSortAble.find(' li.wpt_sortable_peritem.column_keyword_' + keyword); if ($(this).prop('checked')) { - $(this).addClass('enabled'); - targetLiSelector.addClass('enabled'); + //$(this).addClass('enabled'); + $(this).fadeIn('fast',function(){ + $(this).addClass('enabled') + }); + //targetLiSelector.addClass('enabled'); + targetLiSelector.fadeIn('fast',function(){ + targetLiSelector.addClass('enabled') + }); } else { //Counting Column// var column_keyword; @@ -354,9 +360,15 @@ - $(this).removeClass('enabled'); + //$(this).removeClass('enabled'); + $(this).fadeOut(function(){ + $(this).removeClass('enabled'); + }); $('.switch-enable-item-' + keyword).removeClass('item-enabled'); - targetLiSelector.removeClass('enabled'); + //targetLiSelector.removeClass('enabled'); + targetLiSelector.fadeOut(function(){ + targetLiSelector.removeClass('enabled'); + }); } }); From 7f8ab50ff989f6a3a044993f07ed808f23ac1252 Mon Sep 17 00:00:00 2001 From: Saiful Islam Date: Tue, 4 May 2021 23:41:40 +0600 Subject: [PATCH 11/13] fadein out issue fixexd --- assets/css/admin.css | 12 ++++++------ assets/js/admin.js | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/assets/css/admin.css b/assets/css/admin.css index f7a4b128..1b3edefb 100644 --- a/assets/css/admin.css +++ b/assets/css/admin.css @@ -49,7 +49,7 @@ li.wpt_sortable_peritem, li.hide_on_mobile_permits { width: 100%; - border: 1px solid #cccccca1; + border: 0 none; padding-left: 0; display: table; position: relative; @@ -96,7 +96,7 @@ li.expanded_li .wpt_shortable_data{ ul#wpt_column_sortable li>span.handle, ul#wpt_keyword_hide_mobile li>span.handle { - background: #c7c7c76e no-repeat center center; + background: #f9f9f9 no-repeat center center; width: 41px; position: relative; cursor: move; @@ -135,7 +135,7 @@ ul#wpt_keyword_hide_mobile li>span.handle.checkbox_handle>input border: 1px solid #6c879438; } -.enabled .wpt_shortable_data>input{ +.wpt_shortable_data>input{ background: rgba(0, 118, 147, 0); border: 1px solid transparent; } @@ -556,8 +556,8 @@ ul#wpt_column_sortable>li.wpt_sortable_peritem { display: flex; padding: 0; } -ul#wpt_column_sortable>li.wpt_sortable_peritem.enabled { - /* border-top: 1px solid #607d8b40; */ +ul#wpt_column_sortable>li.wpt_sortable_peritem { + border-top: 0 none; box-shadow: 0px 1px 16px 0 #bbbbbb9c; } ul#wpt_column_sortable li.wpt_sortable_peritem.enabled>span.handle, ul#wpt_keyword_hide_mobile li>span.handle { @@ -1124,7 +1124,7 @@ ul#wpt_column_sortable>li.wpt_sortable_peritem{display: none;} ul#wpt_column_sortable>li.wpt_sortable_peritem.enabled{display: flex;} .add_switch_col_wrapper .enable-available-cols ul { - display: flex; + display: flex !important; flex-wrap: wrap; } diff --git a/assets/js/admin.js b/assets/js/admin.js index 61d7e14a..a0ffe3d5 100644 --- a/assets/js/admin.js +++ b/assets/js/admin.js @@ -340,11 +340,11 @@ //$(this).addClass('enabled'); $(this).fadeIn('fast',function(){ $(this).addClass('enabled') - }); + }).css("display", "flex"); //targetLiSelector.addClass('enabled'); targetLiSelector.fadeIn('fast',function(){ targetLiSelector.addClass('enabled') - }); + }).css("display", "flex"); } else { //Counting Column// var column_keyword; From fde6f71810140c2752705c66736cc655374b03cb Mon Sep 17 00:00:00 2001 From: Saiful Islam Date: Tue, 4 May 2021 23:48:19 +0600 Subject: [PATCH 12/13] comment added for Hooked Information, which was not added yet --- admin/tabs/inc-column/column-list.php | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/admin/tabs/inc-column/column-list.php b/admin/tabs/inc-column/column-list.php index f1382f85..ec2e70d2 100644 --- a/admin/tabs/inc-column/column-list.php +++ b/admin/tabs/inc-column/column-list.php @@ -62,12 +62,30 @@ class="colum_data_input "
    - +
    Expand
    - +
    From da5f4be8df8f1ba42971009e72f7d0e27617bd60 Mon Sep 17 00:00:00 2001 From: Saiful Islam Date: Wed, 5 May 2021 01:11:12 +0600 Subject: [PATCH 13/13] Choosing Inner time is now select2 with multiple --- assets/css/admin.css | 9 ++++--- assets/js/admin.js | 11 ++++++-- includes/functions.php | 60 +++++++++++++++++++++++++++--------------- 3 files changed, 53 insertions(+), 27 deletions(-) diff --git a/assets/css/admin.css b/assets/css/admin.css index 1b3edefb..b882adbf 100644 --- a/assets/css/admin.css +++ b/assets/css/admin.css @@ -87,7 +87,7 @@ ul#wpt_keyword_hide_mobile padding: 12px 10px 8px 10px; } li.expanded_li .wpt_shortable_data{ - padding: 20px 10px 15px 10px; + padding: 20px 15px 15px 15px; } .wpt_shortable_data { @@ -140,7 +140,8 @@ ul#wpt_keyword_hide_mobile li>span.handle.checkbox_handle>input border: 1px solid transparent; } .wpt_shortable_data>input{ - font-weight: bold; + font-weight: 500; + color: #333333; } .enabled:hover .wpt_shortable_data>input{ border: 1px solid #00769324; @@ -533,12 +534,12 @@ span.purchase_code_active { background: #e5e5e5; } .wpt_column_setting_extra { - padding: 0 10px 16px 10px; + /* padding: 0 10px 16px 10px; */ background: transparent; width: calc(100% - 20px); background: #ffffffd9; margin-top: 21px; - border: 1px solid #dddddd91; + /* border: 1px solid #dddddd91; */ margin-bottom: 5px; } .wpt_column_setting_single_extra { diff --git a/assets/js/admin.js b/assets/js/admin.js index a0ffe3d5..0a721f6b 100644 --- a/assets/js/admin.js +++ b/assets/js/admin.js @@ -12,8 +12,15 @@ option.detach(); $(target).append(option).change(); } - $('select#wpt_product_ids,select#product_tag_ids,select.wpt_select2').select2(); + $('select#wpt_product_ids,select#product_tag_ids,select.wpt_select2').select2({ + placeholder: "Select Option", + allowClear: true + }); + $('select.internal_select').select2({ + placeholder: "Select mulitple inner Items.", + allowClear: true + }); /** * Product Exclude Include Feature Added Here, * Which is normally in Pro Actually @@ -92,7 +99,7 @@ }); - $('select#wpt_product_ids,select#product_tag_ids,select.wpt_select2').on('select2:select', function(e){ + $('select#wpt_product_ids,select#product_tag_ids,select.wpt_select2,select.internal_select').on('select2:select', function(e){ wptSelectItem(e.target, e.params.data.id); }); diff --git a/includes/functions.php b/includes/functions.php index 7f93542c..cf6bd137 100644 --- a/includes/functions.php +++ b/includes/functions.php @@ -292,7 +292,7 @@ function wpt_column_tag_for_all( $keyword, $_device_name, $column_settings ){ if( !function_exists( 'wpt_column_add_extra_items' ) ){ function wpt_column_add_extra_items( $keyword, $_device_name, $column_settings, $columns_array, $updated_columns_array, $post, $additional_data ){ - + unset( $columns_array[$keyword] ); //Unset this column. if in action, here $keyword - action //unset( $columns_array['check'] ); unset( $columns_array['blank'] ); @@ -301,6 +301,7 @@ function wpt_column_add_extra_items( $keyword, $_device_name, $column_settings, * Items actually Checked Items */ $items = isset( $column_settings[$keyword]['items'] ) ? $column_settings[$keyword]['items'] : array(); + $items = is_array( $items ) ? $items : array(); $items = array_filter( $items ); /** @@ -317,29 +318,46 @@ function wpt_column_add_extra_items( $keyword, $_device_name, $column_settings, } ?>
    - -
    + + + + + $key_val){ + $seleced = in_array( $key,$items ) ? 'checked' : false; + $seleced_option = in_array( $key,$items ) ? 'selected' : false; + //var_dump($key, $keyword); + $unique_id = $keyword . '_' . $key . '_' . $_device_name; +// echo '
    '; + ?> + + $key_val){ - $seleced = in_array( $key,$items ) ? 'checked' : false; - //var_dump($key, $keyword); - $unique_id = $keyword . '_' . $key . '_' . $_device_name; - echo '
    '; - echo ""; - echo '
    '; - } - ?> -
    -

    All Items are move able. And Settings of item will come from main column. which can be inactive as Table Column.

    + $select .= ""; +// echo ""; +// echo '
    '; + } + ?> + + +