-1

My manager has given me the task of sorting out the ecommerce site which was edited a fair bit by my predecessor - it was based on OSC 3.x

We need to limit shipping to only Ireland (our products generally need to be installed by our staff - and those that don't are either delivered or bulky) and therefore only allow Ireland to be the only options for account creation - is there a way of doing this which doesn't involve using addons - because of the changes made files don't look the same as the instructions for most add ons so I'm reluctant to try and install them.

I'm experience with SQL so considered just editing the country table to remove all countries but Ireland - but perhaps thats too extreme?

thanks! CDC

4

1 回答 1

0

最重要的一点是 osCommerce 3.x 从未用于生产站点,因此它不应该用于实时站点。osCommerce 社区在接下来的几个月里看不到稳定版本。

我假设您希望将帐户创建限制在爱尔兰。使用 osCommerce 3.x 数据库表 osc_countries 获取国家/地区列表。

函数 osc_cfg_set_countries_pulldown_menu($default, $key = null)

因此,使用 PhpMyadmin 从 osc_countries 表中删除所有条目,除了从此特定命令创建的条目: INSERT INTO osc_countries VALUES (103,'Ireland','IE','IRL',":name\n:street_address\nIE-:city\ n:国家");

于 2013-02-26T21:24:25.933 回答