how to define shipping cost depend to items size and volume?

Hi

i want to set shipping cost with volume .

i mean is whatever i can add shipping method to calculate shipping fee with product size depend?





best regards