Hi @abdul-samad-k-t,
We’ve run numerous tests trying to reproduce the error you’ve encountered, unfortunately with no effect neither using the latest 4.0.8 Flexible Shipping release nor the pre-4.x 3.16.5 version.
We’ve configured the WooCommerce Measurement Price Calculator plugin, the shipping method and the product the same way you did according to the screenshots you’ve attached. Then we added 21x 1/2 yd product units to have the 10.5 Total Yardage in the cart:
https://wpdesk.me/ls/f3ltd.jpg
The Subtotal as well as the shipping cost were calculated properly:
https://wpdesk.me/ls/1yb82.jpg
- 21 x $1.75 x 1/2 = $18.375 = ~$18,38 Subtotal
- 21 x 1/2 x 0.6 oz = 6.3 Total weight -> the rule #1 was triggered giving the $7.50 shipping cost and confirmed in the Debug Mode: https://wpdesk.me/ls/0ym0a.jpg
The calculation results were exactly the same using the older 3.16.5 Flexible Shipping version before the rules table UI changes:
https://wpdesk.me/ls/sftsg.jpg
https://wpdesk.me/ls/iqa23.jpg
So, as you can see we weren’t able to reproduce it on the fresh WP/Woo installation with only WooCommerce, Flexible Shipping and WooCommerce Measurement Price Calculator plugins installed and active. According to your screenshots the only difference we noticed is that you are using the commas instead of semi-colons in the Length Options field:
https://wpdesk.me/ls/iyt9i.jpg
despite the fact its tooltip says the semi-colons should be used there:
https://wpdesk.me/ls/htrzu.jpg
However, we suppose it might be an environmental issue caused by some other plugin interfering. Did you update some other plugins lately as well which might have an influence on the calculation in this case?
Have you checked if the problem also occurs on the Storefront theme when only the WooCommerce, Flexible Shipping and WooCommerce Measurement Price Calculator plugins are active?
Kind regards,
Luke