條件SQL爲tablerate檢查(除其他東西),其dest_zip = ''
(CFR Mage_Shipping_Model_Mysql4_Carrier_Tablerate線135)。
正如你對這個字段*沒有滿足條件。
最好的解決方案是編輯數據庫,用空白字段代替*。
在我來說,我不能(不知道爲什麼,該數據庫保持着0代替我的空字符串),所以我不得不覆蓋類添加一行:
"dest_country_id = :country_id AND dest_region_id = :region_id AND dest_zip = :postcode",
"dest_country_id = :country_id AND dest_region_id = :region_id AND dest_zip = ''",
"dest_country_id = :country_id AND dest_region_id = 0 AND dest_zip = ''",
"dest_country_id = :country_id AND dest_region_id = 0 AND dest_zip = '0'",//added line
"dest_country_id = :country_id AND dest_region_id = 0 AND dest_zip = :postcode",
"dest_country_id = '0' AND dest_region_id = 0 AND dest_zip = ''",
HTH
你是不是想他們分開還是它是同一個文件的一部分? – jprofitt
我試過它們作爲單獨的文件。 –
您是否確定將AL設置爲您退房時的狀態? (我知道,很明顯......但我必須要求確定!) – jprofitt