我正在使用uc_global_quote模块进行发货,但在此模块中没有城市字段选项。我在运输区域添加了一个城市区域,并希望将城市区域与运输地址城市区域相匹配。我怎么能这样做?
****查询应该在(uc_shipping_zones_module)中****
$row = db_query("SELECT * FROM {uc_shipping_zones} WHERE countries LIKE :cnid AND city LIKE :city AND (regions LIKE :rnid OR (regions IS NULL OR regions = ''))
ORDER BY name", array(':cnid' => $cnid, ':city' => $city, ':rnid' => $rnid))->fetchObject();
截图: