Woocommerce - add another product sizes (like a diameter etc.)

by Luk   Last Updated March 13, 2018 08:08 AM

I have a products with the following size parameters:

  • Length (Woocomerce standard)
  • Width (Woocomerce standard)
  • Height (Woocomerce standard)
  • Diameter
  • Thickness
  • Circuit

In the product edit page I have Length, Width, Height (Woocomerce standard)

I would like to add my other sizes parameters


I think I could just add custom fields in "woocommerce_product_options_dimensions" action, but I'm worried about sizes integration in the future.

Maybe shoud I add this to get_dimensions() WC_Product method? it is possible?

I saw couple posts with modification "woocommerce_format_dimensions" filter, but it was about change Height to Diameter (it's not what i need)


How can I add this extra sizes properly?



Related Questions



Flexible Wordpress theme creation using themes

Updated March 20, 2016 08:03 AM

node js with wordpress

Updated June 29, 2017 10:08 AM

WooCommerce - buying as well as selling

Updated August 24, 2017 13:08 PM

Validation of forms with multiple fields in options page

Updated September 27, 2017 04:08 AM