Title: PossiblyMaybe's Replies | WordPress.org

---

# PossiblyMaybe

  [  ](https://wordpress.org/support/users/possiblymaybe/)

 *   [Profile](https://wordpress.org/support/users/possiblymaybe/)
 *   [Topics Started](https://wordpress.org/support/users/possiblymaybe/topics/)
 *   [Replies Created](https://wordpress.org/support/users/possiblymaybe/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/possiblymaybe/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/possiblymaybe/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/possiblymaybe/engagements/)
 *   [Favorites](https://wordpress.org/support/users/possiblymaybe/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 42 total)

1 [2](https://wordpress.org/support/users/possiblymaybe/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/possiblymaybe/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/possiblymaybe/replies/page/2/?output_format=md)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Uniting plugins to one user](https://wordpress.org/support/topic/uniting-plugins-to-one-user/)
 *  Thread Starter [PossiblyMaybe](https://wordpress.org/support/users/possiblymaybe/)
 * (@possiblymaybe)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/uniting-plugins-to-one-user/#post-13722851)
 * Hi [@jnashhawkins](https://wordpress.org/support/users/jnashhawkins/)
 * Thanks for the quick and thoughtful reply! The site is intended to become a directory
   of sorts, and the key function I wanted from the locator was a filter for people
   to find the stores nearest to them.
 * The customer might look at what is near to them and browse what they sell.
    or
   Have a product they want and find the nearest store that sells it.
 * My issue is integrating that functionality in to existing stores.
 * Thanks again!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce PayPal Checkout Payment Gateway] How to show order Description on Paypal side](https://wordpress.org/support/topic/how-to-show-order-description-on-paypal-side/)
 *  Thread Starter [PossiblyMaybe](https://wordpress.org/support/users/possiblymaybe/)
 * (@possiblymaybe)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/how-to-show-order-description-on-paypal-side/#post-13186765)
 * Hi, thanks for the reply.
 * I actually got a solution from support on the woo website. It seems this plugin
   does send the line items of an order to Paypal which is shown as Description 
   in the Paypal notification emails. However some of mine were appearing blank 
   because I had checked the setting to hide these descriptions if there were discrepancies
   without realising it would happen quite so frequently.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Order Export For WooCommerce] Remove the “-” from refunds](https://wordpress.org/support/topic/remove-the-from-refunds/)
 *  Thread Starter [PossiblyMaybe](https://wordpress.org/support/users/possiblymaybe/)
 * (@possiblymaybe)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/remove-the-from-refunds/#post-12932700)
 * Hi, I have the order values showing in line_no_tax and line_tax and order_total
   columns.
 * I’ll try to get a screen shot later, but basically refunds in those columns show
   for example as -10.00, -2.00, -12.00. If they showed as positive values (i.e.
   10.00, 2.00, 12.00) is what I’m hoping to achieve.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Checkout Field Editor (Checkout Manager) for WooCommerce] Customer gets message “State/country required field”](https://wordpress.org/support/topic/customer-gets-message-state-country-required-field/)
 *  [PossiblyMaybe](https://wordpress.org/support/users/possiblymaybe/)
 * (@possiblymaybe)
 * [6 years ago](https://wordpress.org/support/topic/customer-gets-message-state-country-required-field/#post-12857337)
 * Hi [@themehigh](https://wordpress.org/support/users/themehigh/)
 * I posted the above (working from home today). I managed to solve the issue by
   removing the State/Country field from being Required. Not sure why having it 
   required caused the above issue, but hopefully having it as optional wont cause
   different issues!
 * Our website is [https://www.essentiallyhops.co.uk/](https://www.essentiallyhops.co.uk/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Woocommerce dimensions – display suffix](https://wordpress.org/support/topic/woocommerce-dimensions-display-suffix/)
 *  Thread Starter [PossiblyMaybe](https://wordpress.org/support/users/possiblymaybe/)
 * (@possiblymaybe)
 * [6 years ago](https://wordpress.org/support/topic/woocommerce-dimensions-display-suffix/#post-12848166)
 * Hi, thanks for this, I finally got a chance to try it on my staging site. Unfortunately
   it didn’t work. When I clicked to go in to a variable product the page displayed
   strangely and said there was a critical error. Inspecting the page in Chrome 
   the message is coming from wp-die-message. I cant see any other information to
   give you. This is proving harder expected! Thanks for taking the time to help.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Woocommerce dimensions – display suffix](https://wordpress.org/support/topic/woocommerce-dimensions-display-suffix/)
 *  Thread Starter [PossiblyMaybe](https://wordpress.org/support/users/possiblymaybe/)
 * (@possiblymaybe)
 * [6 years ago](https://wordpress.org/support/topic/woocommerce-dimensions-display-suffix/#post-12828405)
 * [@kellymetal](https://wordpress.org/support/users/kellymetal/)
 * Alas! Although this code looked perfect I have just been through all my plugins
   and then all my code snippets to find out what was causing my variable products
   to stop working, and it seems to be this. Now I have turned it off my variable
   products are working again.
 * With this snippet activated, when in a variable product I get all my product 
   variation in the dropdown but if I try to add one to cart it says “Please select
   some product options before adding this product to your basket.” Also the image
   doesnt change according to the attribute selected.
 * Doing Inspect Element in Chrome showed this error: [https://ibb.co/C14BmJ8](https://ibb.co/C14BmJ8)
 * Is there a way to tweak this code?
 * Thank you!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Product Tabs for WooCommerce] Displaying on Product Admin Page](https://wordpress.org/support/topic/displaying-on-product-admin-page/)
 *  Thread Starter [PossiblyMaybe](https://wordpress.org/support/users/possiblymaybe/)
 * (@possiblymaybe)
 * [6 years ago](https://wordpress.org/support/topic/displaying-on-product-admin-page/#post-12828331)
 * Thanks for your time Freddie!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Product Tabs for WooCommerce] Displaying on Product Admin Page](https://wordpress.org/support/topic/displaying-on-product-admin-page/)
 *  Thread Starter [PossiblyMaybe](https://wordpress.org/support/users/possiblymaybe/)
 * (@possiblymaybe)
 * [6 years ago](https://wordpress.org/support/topic/displaying-on-product-admin-page/#post-12816583)
 * Hi Freddie, yes I’m using the Pro plugin. At the moment it is set up like this:
 * [https://ibb.co/1mHN8BJ](https://ibb.co/1mHN8BJ)
 * I can find the field in the Custom Field > Fields dropdown.
 * However it doesnt automatically find fields for individual tabs, and I cant identify
   anything else to use there.
 * Thanks for your help!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Woocommerce dimensions – display suffix](https://wordpress.org/support/topic/woocommerce-dimensions-display-suffix/)
 *  Thread Starter [PossiblyMaybe](https://wordpress.org/support/users/possiblymaybe/)
 * (@possiblymaybe)
 * [6 years ago](https://wordpress.org/support/topic/woocommerce-dimensions-display-suffix/#post-12795763)
 * [@kellymetal](https://wordpress.org/support/users/kellymetal/)
 * Thanks again, this is just what I needed!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Woocommerce dimensions – display suffix](https://wordpress.org/support/topic/woocommerce-dimensions-display-suffix/)
 *  Thread Starter [PossiblyMaybe](https://wordpress.org/support/users/possiblymaybe/)
 * (@possiblymaybe)
 * [6 years ago](https://wordpress.org/support/topic/woocommerce-dimensions-display-suffix/#post-12795488)
 * I’ve found the following snippets, but both are not quite right.
 * This one is fine, but I want it display the full word ‘length’ ‘width’ ‘height’
   and not just the initial
 *     ```
       add_filter( 'woocommerce_format_dimensions', 'custom_formated_product_dimentions', 10, 2 );
       function custom_formated_product_dimentions( $dimension_string, $dimensions ){
           if ( empty( $dimension_string ) )
               return __( 'N/A', 'woocommerce' );
   
           $dimensions = array_filter( array_map( 'wc_format_localized_decimal', $dimensions ) );
           $label_with_dimensions = []; // Initialising
   
           // Loop Though dimensions array
           foreach( $dimensions as $key => $dimention )
               $label_with_dimensions[$key] = strtoupper( substr($key, 0, 1) ) . ' ' . $dimention;
   
           return implode( ' x ',  $label_with_dimensions) . ' ' . get_option( 'woocommerce_dimension_unit' );
       }
       ```
   
 * This one is displaying the full word, but it is displaying dimensions that have
   no value and should be hidden. I also like that the above code puts a X between
   each dimension.
 *     ```
       add_filter( 'woocommerce_format_dimensions', 'woocommerce_format_dimensions', 10, 2 );
   
       function woocommerce_format_dimensions( $dimension_string, $dimensions ) {
   
           if ( !empty( $dimension_string ) ) {
               $dimension_string    = '';
               $dimension_unit      = ' ' . get_option( 'woocommerce_dimension_unit' );
               foreach ( $dimensions as $dimension => $value ) {
                   $dimension_string .= ucwords( $dimension ) . ": " . $value . $dimension_unit . " ";
               }
           } else {
               $dimension_string = __( 'N/A', 'woocommerce' );
           }
           return $dimension_string;
       }
       ```
   
 * I’ve been trying to get the best of both but cant quite get it working.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Woocommerce dimensions – display suffix](https://wordpress.org/support/topic/woocommerce-dimensions-display-suffix/)
 *  Thread Starter [PossiblyMaybe](https://wordpress.org/support/users/possiblymaybe/)
 * (@possiblymaybe)
 * [6 years ago](https://wordpress.org/support/topic/woocommerce-dimensions-display-suffix/#post-12795354)
 * [@kellymetal](https://wordpress.org/support/users/kellymetal/)
 * Hi, I just noticed this works perfect on products that only have the one ‘length’
   dimension, which is most of our products. But we do have a small number of products
   which will include the other dimensions, how can I have it also show the other
   dimensions if they are also entered, but ignore the sides that are not entered(
   i.e. it will ignore the dimension if no value is entered on the product but display
   the other one or two).
 * I tried to extend your code, as below, but it will only show one of the dimensions.
 *     ```
       add_filter('woocommerce_format_dimensions', 'my_custom_dimensions', 10, 2);
       function my_custom_dimensions( $dim_string, $dimensions ) {
           $dim_string = 'Length: ' . $dimensions['length'] . ' ' . get_option( 'woocommerce_dimension_unit' );
       	$dim_string = 'Width: ' . $dimensions['width'] . ' ' . get_option( 'woocommerce_dimension_unit' );
       	$dim_string = 'Height: ' . $dimensions['height'] . ' ' . get_option( 'woocommerce_dimension_unit' );
           return $dim_string;
       }
       ```
   
    -  This reply was modified 6 years ago by [PossiblyMaybe](https://wordpress.org/support/users/possiblymaybe/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Woocommerce dimensions – display suffix](https://wordpress.org/support/topic/woocommerce-dimensions-display-suffix/)
 *  Thread Starter [PossiblyMaybe](https://wordpress.org/support/users/possiblymaybe/)
 * (@possiblymaybe)
 * [6 years ago](https://wordpress.org/support/topic/woocommerce-dimensions-display-suffix/#post-12795297)
 * That’s perfect! Thanks so much
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Back In Stock Notifier for WooCommerce | WooCommerce Waitlist Pro] Remove product id from {product_name} shortcode](https://wordpress.org/support/topic/remove-product-id-from-product_name-shortcode/)
 *  Thread Starter [PossiblyMaybe](https://wordpress.org/support/users/possiblymaybe/)
 * (@possiblymaybe)
 * [6 years ago](https://wordpress.org/support/topic/remove-product-id-from-product_name-shortcode/#post-12793462)
 * Thanks, that works great!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Back In Stock Notifier for WooCommerce | WooCommerce Waitlist Pro] Subscribe form displaying strangely](https://wordpress.org/support/topic/subscribe-form-displaying-strangely/)
 *  Thread Starter [PossiblyMaybe](https://wordpress.org/support/users/possiblymaybe/)
 * (@possiblymaybe)
 * [6 years ago](https://wordpress.org/support/topic/subscribe-form-displaying-strangely/#post-12792383)
 * That’s got it, thank you!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] My Account – Order updates](https://wordpress.org/support/topic/my-account-order-updates/)
 *  Thread Starter [PossiblyMaybe](https://wordpress.org/support/users/possiblymaybe/)
 * (@possiblymaybe)
 * [6 years ago](https://wordpress.org/support/topic/my-account-order-updates/#post-12758067)
 * Ah nevermind, sorry. Found it is coming from the Order Notes on the Order Edit
   admin screen.

Viewing 15 replies - 1 through 15 (of 42 total)

1 [2](https://wordpress.org/support/users/possiblymaybe/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/possiblymaybe/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/possiblymaybe/replies/page/2/?output_format=md)