有谁知道是否可以让所有网站或商店共享相同的订单增量 ID。基本上,我们正在使用一个 ERP 系统,该系统允许我们提交发票号码作为系统中的实际订单号码,但问题是,他们只需要一个号码序列,而不是像 Magento 那样为每个商店使用不同的号码序列默认。
我刚刚发现了这一点,而且非常简单。您可以将以下内容放入升级脚本中...
Mage::getModel('eav/entity_type')
->loadByCode('order')
->setIncrementPerStore(false)
->save();
P.S. I've been receiving requests to make an extension of this but one already exists: Custom Order Number Pro http://www.magentocommerce.com/extension/1419/custom-order-number-pro. It's commercial but it has a decent sounding list of features.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)