Magento - 由前端管理员为给定客户下订单
是否可以通过某种方式让 Magento 管理员能够从前端为给定客户下订单?
多谢。
Would it be possible, with way or another, to give the possibility to the Magento administrator to place orders for a given customer within from the frontend?
Thanks a lot.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
通过 Magento 管理区域...
1) 销售 -> 订单 -> 创建新订单
2) 您将获得所有客户的所有电子邮件..选择任何客户的电子邮件并下订单。
3)您将可以选择产品、添加运费等...
希望这会有所帮助。
Go through Magento admin area...
1) sales->order->create new order
2) you will get all the email of all your customers..select email of any customer and place any order.
3) you will get option to select products, add shipping charge and more...
Hope this will help.
如果您确实需要在前端执行此操作:
我认为这并不容易实现:如您所知,结账过程很大程度上依赖于会话,并且它还从会话中获取用户数据。
但是,如果您使用自定义控制器获取客户数据(例如以 json 形式检索数据),这可能是可行的。我不知道如何确保客户数据检索的安全,因为您可能无法登录......
之后,祝您好运,用 javascript 预填充表单。
If you really need to do that on frontend :
I don't think it's easily feasible : as you may know, the checkout process rely a lot on session, and it also fetch user data from the session.
It may be feasible, however, ifd you get customer data with a custom controller which retrieve data for instance in json. I don't know how to make customer data retrieving secure since you probably can't be logged in...
After that, well, good luck to prepopulate the forms in javascript.
如果您需要这样做,您可以构建一个以客户身份登录的功能,该功能仅授予已拥有所有客户数据的管理员用户。不过,在订单付款时间方面,您可能仍然会遇到困难。如果您这样做,请确保花费大量时间来保护“登录身份”模块并仅允许授权的管理员。
If you need to do this, you can build a feature to log in as a customer, which is granted only to admin users who already have all of the customer's data. You'll probably still hit a snag when it comes to payment time for the order, though. If you do this, make sure to spend significant time securing the "login as" module and allowing only authorized adminitrators.
当您第一次发布此内容时,此功能不可用,但现在有一个免费扩展“
This was not available when you first posted this, but now there is a free extension "Login as Customer" that I have found to be easy, intuitive and incredibly useful in order to place orders for customers from the front end instead of the back end. When you have a heavily customized site with non-standard product configurations or option dependencies, it is sometimes not a realistic option to place orders from the back end. This extension works beautifully.