Logics in WCFMmp_Shipping_By_Zone
-
Hello.
I wonder if there may be an error in the logics of the method WCFMmp_Shipping_By_Zone::is_availableAfter calling “$locations = WCFMmp_Shipping_Zone::get_locations( $zone->get_id(), $vendor_id )”, it tests for the emptiness of “locations” and returns “true” when it’s empty. Shouldn’t it be the opposite, as in “if the seller hasn’t defined any locations, it’s not available”?
Best regards.
- The topic ‘Logics in WCFMmp_Shipping_By_Zone’ is closed to new replies.