Magento 订单 ID 重新排序
当我登录并开始订单时,我会为我的购物车中的一组产品分配一个 orderID。
如果我继续执行订单,或者注销并再次返回,我的购物车产品仍然存在,并且给我的订单 ID(可能是几天前)仍然存在。与此同时,有数百个订单在我后面下了。现在放置我的订单意味着我的订单 ID 位于 100 个旧 ID 之前。这些都很好并且进展顺利。
但在后端,我们的履行人员的批处理将远远超出当前 ID,而我的旧订单 ID 将丢失(因为如果我在一年左右后订购,我的 ID 可能会变成 1000 个 ID)。
那么,强制 Magento 在结账第一步时重新发出新的订单 ID 是否可能、简单且安全?如果没有,我们是否可以阻止 Magento 在您注销后或每次重新登录时记住您的购物车状态(以更容易的为准)?
感谢您的支持。
With set of products in my shopping cart When I login and start an order I get assigned an orderID.
If I then sit on my order, or logout and come back again, my cart products is still there and the order ID I was given (potentailly days ago) is still there. In the mean time the there are 100's of orders placed after me. And now am placing my oder means my oder id is before 100 old ID's. These all are good and goes well.
But In the backend, our fulfilment people will have batched well beyond the current ID and my old order ID will get lost in a void(because if i am ordering after one year or so my ID could be 1000 id's Back).
SO, is it possible and easy and safe to force Magento to re-issue a new ORDER ID upon step one of the checkout? If not, can we prevent Magento from remembering your cart state after you logout) or perhaps each time you re-login, whichever is easier?
Thanks for your support.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您转到
系统>配置>结帐>购物车
并更改报价生命周期(天)
的值,您将能够缩短购物车的时间长度是还活着。或者,我建议您更改履行订单选择标准以在订单日期而不是订单 ID 上工作。
If you go to
System>Config>Checkout>Shopping Cart
and change the value forQuote Lifetime (days)
, you will be able to reduce the length of time that the cart is stays alive.Alternatively, I would recommend that you change the fulfilment order selection criteria to work on the order date, not order ID.