Many of our customers asked what are the advantages of choosing VirtueMart over osCommerce cs (CRE Loaded, Zen Cart, osCMax) and Magento. Well, here are what we think:
VirtueMart 1.1.3版本在新增運送者時會出現下列錯誤訊息:
Warning: Missing argument 2 for vmGet(), called in /home/joycat/public_html/shop/administrator/components/com_virtuemart/classes/ps_shipping.php on line 113 and defined in /home/joycat/public_html/shop/administrator/components/com_virtuemart/classes/request.class.php on line 26
那是因為ps_shipping.php檔案的程式碼出錯,將程式碼修改如下,即可正常運作。
- 編輯ps_shipping.php檔案
檔案路徑:administrator/components/com_virtuemart/classes/ps_shipping.php - 修改錯誤的程式碼:
line 113 and 138 的程式碼:$fields = array( 'shipping_carrier_name' => vmGet($d["shipping_carrier_name"]),
修改為:$fields = array( 'shipping_carrier_name' => vmGet($d, 'shipping_carrier_name'),
下載正確的ps_shipping.php檔案