简体   繁体   English

下单后重置购物清单中的产品数量

[英]Reset product quantities in shopping lists after order placed

I want to know if it is possible to automatically reset the product quantities in shopping lists after customer places the order?我想知道是否可以在客户下订单后自动重置购物清单中的产品数量?

Not the order, but the shopping list itself.不是订单,而是购物清单本身。

Eg.例如。 Change from 5 back to 1?从 5 变回 1?

You can implement it as a part of the custom checkout workflow based on one of the default workflows.您可以将其实现为基于默认工作流程之一的自定义结帐工作流程的一部分。 For more details the documentation .有关更多详细信息,请参阅文档

For example, that change can be a workflow action described in the last workflow transition definition and executed when the order is created.例如,该更改可以是最后一个工作流转换定义中描述的工作流操作,并在创建订单时执行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM