Weight resetting when changing destination (country)
-
Hello,
I need help with following issue:
My products are highly customizable. Product type is “simple” and customization is done by “Advanced product fields” plugin, which also alters product weight depending on chosen options. But as soon as the visitor navigates to the checkout and changes his country or postal code, (which triggers a refresh of the shipping calculations), – cart weight resets, returning wrong shipping costs. Products have certain basic weight set in WooCommerce configuration, and the rest is added by Advanced Product Fields plugin. After cart “reset”, WBS sees only basic weight of products.Example:
Shipping to Japan.
Basket weight from 0 to 0.499 kg – shipping cost PLN 43;
Basket weight from 0.5 to 0.999 kg – shipping cost PLN 51;My cart is in the second compartment (weight 0.81 kg = shipping costs PLN 51).
When I select the shipping country for the first time on the summary page, the displayed shipping amount is correct (PLN 51). But when I change the country again (switch to South Korea – same shipping zone) – only the rate from the first range (PLN 43) is displayed. Even if I go back to the cart and refresh it, the cheapest shipping is still displayed. Only when I change the contents of the cart – add or subtract a product – the correct shipping costs appear again.Where WBS is taking weight from ? If from product – can it be changed to cart item weight ? Where should I be looking for code responsible for weight calculations ?
Thank You for your help.
- The topic ‘Weight resetting when changing destination (country)’ is closed to new replies.