【问题标题】:Custom logic for BasketAddProductBehaviour app server configurationBasketAddProductBehaviour 应用服务器配置的自定义逻辑
【发布时间】:2018-07-26 09:07:45
【问题描述】:

有没有办法为 BasketAddProductBehaviour 配置值添加/实现不同于 DisallowRepeats、MergeQuantities 和 AllowRepeats (https://support.intershop.com/kb/index.php/Display/2809G2#Concept-BasketHandlingandCheckout-Introduction) 的自定义逻辑?

例如添加一个目录中的一个产品只能添加到购物篮的逻辑?

Tnx

【问题讨论】:

  • 你能具体说明你问的是什么 intershop 版本吗?
  • 抱歉,现在是 7.9

标签: intershop


【解决方案1】:

从 IS 7.6 开始,添加到购物篮功能被实现为所谓的处理程序类链。每个处理程序类都实现特定目的,并通过 Intershop ICM 的 Java 扩展点机制连接到链。 com.intershop.component.basket.orm.internal.handlers.BehaviorHandler 控制添加到购物篮的行为。这个处理程序可以被另一个实现替换。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2011-01-20
    • 1970-01-01
    • 2011-02-19
    • 1970-01-01
    • 2010-09-17
    • 2016-10-11
    • 1970-01-01
    相关资源
    最近更新 更多