Plugin Directory

Changeset 2687325


Ignore:
Timestamp:
03/02/2022 09:05:27 AM (4 years ago)
Author:
unikforce
Message:

data save issue resolved

File:
1 edited

Legend:

Unmodified
Added
Removed
  • woo-product-table/trunk/admin/post_metabox.php

    r2683657 r2687325  
    395395        }
    396396
    397 
     397        //Optimize for Desktop
    398398        if( isset( $submitte_data['column_settings'] ) && is_array( $submitte_data['column_settings'] ) ){
    399399            $total_enable_coll_arr = $submitte_data['enabled_column_array'];
     400           
    400401            foreach( $submitte_data['column_settings'] as $each_settings ){
    401402                $each_settings = isset( $each_settings['items'] ) && is_array( $each_settings['items'] ) ? array_flip( $each_settings['items'] ) : array();
     
    403404            }
    404405            $total_enable_coll_arr = array_keys($total_enable_coll_arr);
     406            $total_enable_coll_arr['thumb_variation'] = 'thumb_variation';
     407            $total_enable_coll_arr['title_variation'] = 'title_variation';
     408            $total_enable_coll_arr['description_off'] = 'description_off';
    405409
    406410            foreach( $submitte_data['column_settings'] as $u_key => $Ueach_settings ){
     
    420424            }
    421425            $total_enable_coll_arr = array_keys($total_enable_coll_arr);
     426            $total_enable_coll_arr['thumb_variation'] = 'thumb_variation';
     427            $total_enable_coll_arr['title_variation'] = 'title_variation';
     428            $total_enable_coll_arr['description_off'] = 'description_off';
    422429
    423430            foreach( $submitte_data['column_settings_tablet'] as $u_key => $Ueach_settings ){
     
    435442            }
    436443            $total_enable_coll_arr = array_keys($total_enable_coll_arr);
     444            $total_enable_coll_arr['thumb_variation'] = 'thumb_variation';
     445            $total_enable_coll_arr['title_variation'] = 'title_variation';
     446            $total_enable_coll_arr['description_off'] = 'description_off';
    437447
    438448            foreach( $submitte_data['column_settings_mobile'] as $u_key => $Ueach_settings ){
Note: See TracChangeset for help on using the changeset viewer.