首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Hybris定义PointOfService的产品价格

Hybris定义PointOfService的产品价格
EN

Stack Overflow用户
提问于 2021-03-22 15:49:56
回答 1查看 42关注 0票数 0

Hybris开箱即用并没有提供任何友好的方式来定义服务点/供应商级别的产品价格,我需要实现每个商店的产品价格,实现这一点的最佳方式是什么?

EN

回答 1

Stack Overflow用户

发布于 2021-03-23 19:47:50

我认为最好的方法是使用UserPriceGroup在POS机模型中创建一个复合属性。

代码语言:javascript
复制
<typegroup name="PointOfService">
            <itemtype code="PointOfService" autocreate="false" generate="false">
                <attributes>
                    <attribute qualifier="posUsergroup" type="UserPriceGroup">
                        <persistence type="property"/>
                        <modifiers optional="false" initial="true"/>
                    </attribute>
                </attributes>
                </attributes>
            </itemtype>
        </typegroup>

-->根据UserPriceGroup,PriceRow支持不同的价格。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/66742083

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档