Thank you, although i get an error.
The code you are trying to save produced a fatal error on line 2:syntax error, unexpected ‘–’ (T_STRING), expecting ‘;’
add_filter(‘woe_get_order_product_value_slat_width’, function ($value, $order, $item, $product,$item_meta) {
return (float)$product->get_width() – 40;
}, 10, 5);