I have a problem when submitting the freight in the cart, I will detail the situation of the freight of the company through WooCommerce and Post Office.
As an example, we have the products A, B, C and D, the first three items are small and are sent in plastic packaging, product D is larger and when bought alone is still in that packaging, however when the customer buys item D and add one or more of A, B and / or C you must use a large box to protect all items.
I have tried to use delivery classes (items A, B and C as 'without box', item D as 'big box') but the two methods of delivery via PAC and SEDEX are exposed with different values, allowing the customer to choose the the cheaper would be to assign a priority to the 'big box' delivery class, so when product D is added to the cart with some of the other products the freight is either with the standard box dimensions. And if the customer wants only item D to keep the 'boxless' class so that the freight value is the same as the Post.
I've been researching this for some time and to set the priority delivery class class I only managed with Table Rate both by the WC plugin and a third plugin, the problem here is that the calculation of the Zip + Measures + Weight generated by the WebService Post Office ends up being totally ignored.
Follow the printout of a plugin that exposed the solution well ( link ) and the plugin link that uses example just as I explained ( link ).
Does anyone know what I can do in this case?