[英]Using extends in itemtype in Hybris
What happens if I do not specify extends in itemtype in Hybris when I create a new itemtype?如果我在创建新的 itemtype 时没有在 Hybris 的 itemtype 中指定 extends 会发生什么?
Eg:例如:
<itemtype code="Unit
jaloclass="de.hybris.platform.jalo.product.Unit"
autocreate="true"
generate="true">
<deployment table="Units" typecode="10"/>
I found the answer.我找到了答案。 It extends by default to GenericItem.它默认扩展为 GenericItem。 So the above code will automatically be converted to:所以上面的代码会自动转换为:
<itemtype code="PaymentInfo"
extends="GenericItem"
jaloclass="de.hybris.platform.jalo.order.payment.PaymentInfo"
autocreate="true"
generate="true">
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.