Magento 自定义保存订单
除了 magento 默认折扣/优惠券选项之外,我们还有自定义折扣选项。客户可以从帐户余额中选择要支付的全额金额。
因此,如果他们选择支付全部金额,那么我想跳过 magento 付款选项卡。在自定义操作中,我必须保存订单并将结帐页面客户重定向到结帐成功页面。我该怎么办呢。当我调用 order->save() 时,它会抛出“应该选择付款选项”之类的错误。
请帮助我跳过结帐页面上的付款选项
We have a custom discount option other than magento default discount/coupon option. In that customer can choose the full amount to be paid from their balance amount with the account.
So if they choose to pay the total amount then i want to skip the magento payment tab. In the custom action i have to save the order and redirect the checkout page customer to checkout success page. How can i do that. When i call order->save(), it throws error like " Should select a payment option."
Please help me to skip the payment option on checkout page
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
与其完全跳过该选项,不如创建一种新的支付类型来从帐户中支付,这对客户来说可能会更清楚。您可以为客户预先选择该选项,并保持系统的其余部分完好无损。
希望有帮助!
谢谢,
乔
Rather than skipping that option entirely, creating a new payment type to pay from the account would probably be clearer to the customer. You could preselect that option for the customer, and keep the rest of the system intact.
Hope that helps!
Thanks,
Joe