Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
早上好
我想知道在 VirtueMart 中是否有办法让订单只能以 4 为增量放置,我正在工作的站点之一只能以 4 箱的形式运送产品,如果不是这样就很难.
我想知道我将如何改变这一点,有没有办法做到这一点?
谢谢
您可以使用“购买数量步骤”属性为每个产品设置一个“步骤”。因此,对于给定的产品,您只能购买 4 个、8 个或 12 个......
您不能设置适用于不同产品的“步骤”,即您购物车中的商品总数只能是 4、8 或 12 ...
当然我说的是 VirtueMart 核心;可能有扩展使其成为可能,但我不知道。当然,作为开发人员,您可以根据需要扩展 VirtueMart,但这是一个不同的话题。