Wrong fee with subscription
-
Hello,
The method ‘calculate_shipping’ make calculations with the products from WC()->cart and not the actual package. The argument ‘$paquete’ is not used in the method.
On my project shipping fees are shown first for the current shipping and secondly for the recurring shipping of the subscripted product.
If in the cart there 2 products but only one belong to the subscription, fees calculations are wrong because it’s based on ‘WC()->cart->get_cart_contents_weight()’, the whole cart and not the actual package.Or maybe I am doing something wrong ?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Wrong fee with subscription’ is closed to new replies.