I have created three product attributes Length, Width, and Height. These will be used to calculate shipping for TNT Shipping Australia.
Now there will be custom options in some products as different dimensions. For this, I have created text fields in radio type custom options to save Length, Width, and Height as in the image.
Now in frontend on selecting the custom options, the Product attributes Length, Width and Height should be updated with the selected custom options Length, width and Height values. So TNT can calculate the shipping price with the selected values.
I was doing with Plugin using aroundAddProduct I am not getting how I will save the attributes values with the selected custom option values.
Or I have to go with the Observer .

