问题标签 [hybris]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
3 回答
5610 浏览

web-services - hybris中的核心数据、基本数据和样本数据有什么区别?

在 hybris wiki 跟踪中,提到了核心数据、基本数据和样本数据。这三种数据有什么区别?

通常,我会假设样本数据是为填充示例服装和电子产品店面而创建的说明性 gobbledygook 数据。但是,wiki 线索表明核心数据用于非商店特定数据,样本数据用于商店特定数据。

在同一页面上,wiki 指出核心数据包含驾驶舱和目录定义、电子邮件模板、CMS 布局和站点定义(国家和用户组 impex 也包含在其中)。这似乎是我特定的商店。有人对此有解释吗?

0 投票
1 回答
222 浏览

java - Solr 未找到名称为 [categoryPath] 的构面

我们有一个 hybris 实现,它在每个连接上记录一个神秘的错误。该错误来自 SolrSearchResult 类,并表示未找到名称为 [categoryPath] 的构面。它似乎并没有真正影响系统内的任何东西,但很高兴知道发生了什么以及为什么会发生这种情况。我在 solr config xml 中查找了 facet categoryPath,但找不到。也许那是问题?

0 投票
1 回答
1784 浏览

nullpointerexception - hybris Backoffice 应用程序抛出 NullpointerException

我正在使用 hybris 5.2。当我访问我的后台应用程序并登录时,我得到下面的 NullpointerException。

这甚至在创建扩展以扩展 hybris 商务套件附带的后台扩展之前。

看起来某些上下文缺少站点,但我不确定哪个上下文以及如何为其设置站点。

另外,我以管理员身份登录,所以我不知道为什么ImpersonationService. 我认为管理员应该可以访问所有内容。

这是来自控制台的错误消息:

0 投票
1 回答
3667 浏览

hybris - how to redeclare core model attribute type without extending it in Hybris

By default Hybtis gives CreditCardType as a mandatory attribute. I want to make it Optional by using redeclare=true (without extending it with new model). I am wondering why its not updating CreditCardPaymentInfo model. I am doing like this

My ant build is working fine. But whenever i m updating running system, Hybris is not making this attribute non mandatory.

In case if I am extending it with my custom model and re-declaring it then its working, but that's what i don't need. I just want to make it optional without extending it.

I think its possible with Impex also, but i don't know the way. Please help.

0 投票
2 回答
1792 浏览

image - hybris image in the WCMS

Can someone please explain me what is the procedure of getting a picture to a product in the WCMS?

What am I missing?

I'm uploading the file, attaching media format to it, but as soon as go to the website and check the product there is no image but "image coming soon" ...

0 投票
1 回答
392 浏览

intellij-idea - Intellij Idea 如何为特定文件类型指定颜色?

我正在使用我非常满意的颜色主题,但我正在处理许多 Hybris 平台独有的“.impex”文件。IDE 本质上将它们视为文本文件。如何为这些“.impex”文件添加语法着色,使文本不仅仅是一种颜色?

0 投票
2 回答
5452 浏览

hybris - Hybris:如果代码为空,是否可以忽略 impex 行?

我想以这样的方式导入媒体,如果代码为空,那么 hybris 应该忽略它,否则它将通过它。这是我的 Impex

我有一个 CSV 文件,其中包含多组产品数据。有些产品有媒体,有些没有。所以我试图在代码属性中允许 null 但它不起作用。

我也检查过,impex.legacy.mode=true但没有运气。它仍然抛出错误。可能通过 beanshell 可以实现,但不知道该怎么做。我不想为此编写自定义翻译器。请给我一些可能的解决方案。

0 投票
1 回答
2104 浏览

layout - Hybris custom layout page

My problem is the following:

I have a requirement to create a new website with custom layout, for example;

What I do is copy a homepage template and then re-write the Velocity HTML template by making it look the same as the above mentioned scheme. However, when i add Logo and then banner, the positions are not correct, the logo appears in the top left corner, but the banner does not appear in the right at all. When I add minicart component it appears above the logo and the banner, and not below the logo as the requirement states. Everything is messed up, even though the velocity template looks fine. Maybe I'm missing something...can someone with more experience help me and give me an advice? Do I need to create a new accelerator or something? Or I can just copy an existing page templates, re-write the velocity HTML template and use it (as I'm currently doing)?

Thanks!

0 投票
1 回答
1297 浏览

templates - Hybris ProductListPage 未找到类别

这是我的问题。我有一个 ProductListPage 我想在其中显示单个产品。我有一个简单的产品目录,其中包含一个类别“TestCategory”和一个分配给它的产品“TestProduct”。我想要的只是在我的产品列表页面中显示产品。

但是,当我访问产品列表页面时,会显示一条消息:

未找到代码为“TestCategory”的类别!(活动会话目录版本:ProductTestCatalog.staged、ContentTestCatalog.staged)

内容和产品目录都是同步的,一切看起来都很好。我启动了一个索引器操作向导,它成功了,但没有任何改变,我一直收到此消息,即使该类别存在 - 它甚至带有名称“未找到 TestCategory” 我应该怎么做才能找到它?你能为这个问题提供任何想法或解决方案?也许问题出在我的 Solr 配置中?如果是的话,任何如何解决它的想法都将受到高度赞赏。谢谢!:))

0 投票
1 回答
632 浏览

import - Adobe AEM -Hybris 产品价格信息

它在adobe eCommerce 教程中说明:

这是否意味着在每个产品详细信息请求上,adobe aem 都会向 hybris 服务器查询价格?

在 product.jsp 我们有以下内容:

session.getProductPrice 将查询 hybris 服务器是否正确?