Support » Plugin: WooCommerce Show Attributes » 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>';
    		}
    • This topic was modified 1 year, 5 months ago by  darkallman.
  • The topic ‘Columns Admin Orders not ok if NOT shown in admin’ is closed to new replies.