Title: Hide fields
Last modified: October 20, 2021

---

# Hide fields

 *  Resolved [Supervreni](https://wordpress.org/support/users/supervreni/)
 * (@supervreni)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/hide-fields-3/)
 * Hello! I wanted to ask whether it is also possible to hide fields in the order
   overview. For me, only the total number of orders would be interesting, the rest
   could come out.
 * I tried CSS, but the fields all have the same name (oshwoo.swatch.tips)
 * Thanks very much.

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [alx359](https://wordpress.org/support/users/alx359/)
 * (@alx359)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/hide-fields-3/#post-15010407)
 * Hello [@supervreni](https://wordpress.org/support/users/supervreni/),
 * Sorry for the late reply.
 * Have just pushed the `1.7.3` update. Now you may hide easier any status swatches
   you may not want via CSS, with something like:
 *     ```
       .oshwoo.swatch.st_aggregate {
       	display: none;
       }
       ```
   
 * Other possible values:
 *     ```
       st_pending   
       st_processing
       st_onhold    
       st_completed 
       st_refunded  
       st_cancelled 
       st_failed
       ```
   
 * HTH.
 *  Thread Starter [Supervreni](https://wordpress.org/support/users/supervreni/)
 * (@supervreni)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/hide-fields-3/#post-15068537)
 * Thank you for that information. 🙂
 * Only one short question.
    Is it possible to place the total number of orders 
   on the delivery note?
 *  Plugin Author [alx359](https://wordpress.org/support/users/alx359/)
 * (@alx359)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/hide-fields-3/#post-15069941)
 * Not sure I understand your question. Care to elaborate? The Customer Notes History
   tab simply displays in a consolidated view all notes of all orders for a given
   customer. You may insert whatever information you want as a private note for 
   a given order, and it shall get displayed in said tab as part of that history.
 *  Thread Starter [Supervreni](https://wordpress.org/support/users/supervreni/)
 * (@supervreni)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/hide-fields-3/#post-15069955)
 * The plugin currently shows the number of orders of the respective customer.
    
   Is it possible to include this number on the delivery note (packaging slip?)?
 *  Plugin Author [alx359](https://wordpress.org/support/users/alx359/)
 * (@alx359)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/hide-fields-3/#post-15069987)
 * I’m not sure this is std. WooCommerce. Where is this delivery note (packaging
   slip) located?
 *  Thread Starter [Supervreni](https://wordpress.org/support/users/supervreni/)
 * (@supervreni)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/hide-fields-3/#post-15070001)
 * I used the plugin “Germanized Pro”
    There you can place “variables” on the Packaging
   slip. But I don’t know how can I place the number of all orders of the customer.
 * They gave me a snippet to place custom fields, but I don’t know what to put in
   place of “my-product_attribute” to show the number of orders.
 * Here’s the snippet for example:
 *     ```
       add_filter( 'storeabill_document_item_product_data_shortcode_result', 'my_child_adjust_document_item_product_shortcode', 10, 4 );
   
       function my_child_adjust_document_item_product_shortcode( $result, $atts, $document, $shortcodes ) {
          if ( $atts['data'] !== 'my_product_attribute' ) {
             return $result;
          }
   
          if ( $product = $shortcodes->get_document_item_product() ) {
             if ( $product->is_callable( 'get_attribute' ) ) {
                 return $result;
             }
             $result = $product->get_attribute( $atts['data'] );
          }
   
          return $result;
       }
       ```
   

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Hide fields’ is closed to new replies.

 * ![](https://ps.w.org/order-status-history-for-woocommerce/assets/icon-256x256.
   png?rev=2283376)
 * [Order Status History for WooCommerce](https://wordpress.org/plugins/order-status-history-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/order-status-history-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/order-status-history-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/order-status-history-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/order-status-history-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/order-status-history-for-woocommerce/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Supervreni](https://wordpress.org/support/users/supervreni/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/hide-fields-3/#post-15070001)
 * Status: resolved