如果付款方式是prestashop货到付款,则无法编辑订单(Cannot edit order if payment method is cash on delivery in prestashop)

编程入门 行业动态 更新时间:2024-10-25 06:27:41
如果付款方式是prestashop货到付款,则无法编辑订单(Cannot edit order if payment method is cash on delivery in prestashop)

我一直在寻找这个问题的答案几个小时,但我找不到任何相关的东西。

问题如下:如果我下订单而我选择用bankwire或支票付款,那么我可以编辑,删除和添加特定订单的产品。 如果我使用货到付款或其他模块做同样的事情,那么编辑,删除和添加的按钮就不存在了。

任何人都可以帮我解决这个问题吗? 或者至少指出我正确的方向? 我完全没有想法。

I have been searching for an answer to this question for a few hours now, but I can't find anything relevant.

The problem is the following: If i make an order and I choose to pay with bankwire or check, then I can edit, delete and add products to that specific order. If I use cash on delivery or another module that does the same thing then the buttons for edit, delete and add are not there.

Can anyone help me with this problem? Or at least point me in the right direction? I'm all out of ideas.

最满意答案

当付款方式是货到付款时,它创建的订单具有不同的订单状态(准备进行中)而不是银行电汇(等待确认)。 默认情况下,订单状态“准备中的准备”将订单设置为已付款和/或已验证。 付款时,不允许更改订单。

您有2个解决方案,要么在后台更改订单状态“准备进行中”,要么不设置付款和未验证的订单,要么在创建订单时覆盖模块货到付款以使用不同的订单状态。

When the payment method is cash on delivery it creates the order with a different order state (preparation in progress) than with bank wire (awaiting confirmation). The order state "preparation in progress", by default, sets the order as paid and/or as validated. When paid, it doesn't allow the order to be altered.

You have 2 solutions, either change the order state "preparation in progress" in backoffice to not set the order paid and not validated, or override the module cash on delivery to use a different order state when creating the order.

更多推荐

本文发布于:2023-07-25 22:38:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1267231.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:货到付款   订单   编辑   方式   prestashop

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!