【问题标题】:Magento stop order if cart quantity is more than如果购物车数量超过 Magento 停止订单
【发布时间】:2013-11-22 11:53:12
【问题描述】:

所有, 我需要解决这种情况:

如果我的 magento 购物车总数量产品超过 5 个,那么我需要停止订购流程并激活“询价”之类的功能,因为如果您订购的产品超过 5 个,我需要找到实际运费magento 做不到。。 有什么我可以做的吗?

我发现了类似http://www.magentocommerce.com/boards/viewthread/47362/ 我可以实现吗?

一些模块?

谢谢。

【问题讨论】:

    标签: magento cart shipping


    【解决方案1】:

    我建议在 Magento 中使用事件/观察者系统。 Inchoo 有一篇关于如何使用它来限制超过一定成本的订单的帖子。

    http://inchoo.net/ecommerce/magento/magento-maximum-allowed-order-amount/

    你可以做一些非常相似的事情,但检查篮子里的物品数量。

    【讨论】:

      【解决方案2】:

      您需要使用 Magento 事件/观察者模式。在您的情况下,您可以使用 sales_order_place_before

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2012-12-28
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多