oscommerce + Multi Vendor Shipping

外掛檔案: mvs-v1.zip,這個檔應該可以處理多供應商,我拿來試試看!

原先是使用ezcart_v10sd.zip,但是花了一個下午去加Multi Vendor Shipping,最後到訂單處理的時候,發現要改的程式已經錯綜複雜了,我只好放棄了。

今天改用這個版本oscommerce-22rc1_zh-tw.zip,希望可以順利安裝完成。

在依照Admin_Install.txt這個檔案操作到admin/index.php時,會因為oscommerce這個版本的管理首頁沒有box的功能畫面而不用改,現在是我的猜測,再繼續下去操作。

注意一下mvs.sql這個檔中這兩行:

INSERT INTO `configuration` VALUES (‘NULL’, ‘Use Optional Confirmation Email’, ‘SELECT_VENDOR_EMAIL_OPTION’, ‘false’, ‘Use the email showing a seperated list of Vendor”s group of products-(true/false)’, ‘7’, ’10’, ‘2005-03-16 08:10:45’, ‘2004-05-04 14:43:03’, NULL , ‘tep_cfg_select_option(array(”true”, ”false”),’
);

INSERT INTO `configuration` VALUES (‘NULL’, ‘When to send the Vendor Email’, ‘SELECT_VENDOR_EMAIL_WHEN’, ‘Admin’, ‘Select when in the checkout process to send the email to the Vendors. You can also disable automatic email. See the readme.txt file for details on these options.’, ‘7’, ’11’, NULL , ‘2005-04-25 11:00:43’, NULL , ‘tep_cfg_select_option(array(”Catalog”, ”Admin”, ”Both”, ”Not at all”),’
);

前面的’NULL’要去掉單引號,不然無法順利匯入。

在admin/includes/database_tables.php中沒有像includes/database_tables.php中有這幾行定義:
//MVS Start
  define(‘TABLE_ORDERS_SHIPPING’,’orders_shipping’);
  define(‘TABLE_VENDORS’, ‘vendors’);
  define(‘TABLE_VENDOR_CONFIGURATION’, ‘vendor_configuration’);
  define(‘TABLE_VENDOR_CONFIGURATION_GROUP’,’vendor_configuration_group’);
//addon for UPSXML dimensions
  define(‘TABLE_PACKAGING’, ‘packaging’);
//addon for UPSXML dimensions
//MVS End

會在進入後台管理時發生這樣的錯誤:
1146 – Table ‘osc.table_vendor_configuration’ doesn’t existselect configuration_key as cfgKey, configuration_value as cfgValue from TABLE_VENDOR_CONFIGURATION

[TEP STOP]

順利安裝好了,但是發現好像不是我要的,Orz!

感謝你看到這裡,很快就可以離開了,但最好的獎勵行動就是按一下幫我分享或留言,感恩喔~

點我分享到Facebook

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *