Columns Admin Orders not ok if NOT shown in admin
-
I noticed my admin orders columns were not ok.
Changed some code in the plugin to fix it:Changed woocommerce-show-attributes.php on line 499
if ( is_object($product) ) { echo '<td><div class="view">' . wp_kses_post( $this->the_attributes( $product, 'span', $show_weight, $show_dimensions, $skip_atts ) ) . '</div></td>'; }
to
if ( get_option( 'wcsa_admin_order_details' ) != 'no' && is_object($product) ) { echo '<td><div class="view">' . wp_kses_post( $this->the_attributes( $product, 'span', $show_weight, $show_dimensions, $skip_atts ) ) . '</div></td>'; }
- The topic ‘Columns Admin Orders not ok if NOT shown in admin’ is closed to new replies.