Skip to content

Shipping method filtering

You can filter shipping methods based on the plugin fields. For this to work, you need to use the following standard names for your fields:

  • width
  • height
  • depth

Then the plugin will pass the values of these fields to WooCommerce so that it can filter the shipping methods correctly. These standard names will only work if your fields units are the same as the dimension unit that is configured in WooCommerce settings

If the field unit is millimeters then you can suffix the field name with _mm

  • width_mm
  • height_mm
  • depth_mm

If the field unit is meters then you can suffix the field name with _m

  • width_m
  • height_m
  • depth_m

The plugin will detect these suffixes and will convert the values to cm before passing them to WooCommerce