Questions tagged [sap-commerce-cloud]

For Hybris/ SAP Commerce/ SAP Commerce Cloud based questions

SAP Commerce / SAP Commerce Cloud is ready made e-commerce suite by SAP to be used in different industries like B2C, B2B, telco, financial, based on Java technologies.

2196 questions
0
votes
1 answer

How to skip bad document in Solr Update in Hybris

I'm trying to update Index in Hybris. Due to bad document it skip whole update operation. But I want to skip only bad document and rest of the document must be updated. By searching on google I found the solution here…
0
votes
1 answer

mysql server stops while initializing hybris on mac os

Just to share my experience of setting up Hybris for the first time on macOS. Problem: My hybris server and MySQL server got started without any issue, but as soon as I did an initialization on Hybris from HAC, mySQL server gets stopped after some…
R_B
  • 65
  • 1
  • 4
0
votes
1 answer

Hybris Sitemap doesn't contain all products

I'm having a problem with sitemap generation in Hybris, after successfully finished generation Job, site map doesn't contain all products that must be there.Problem is not related with products.Products url which are not contained in sitemap can be…
0
votes
1 answer

Backoffice - View Database Itemtype Indexes

How to view the DB column indexes in backoffice? Suppose I have added 3 indexes like this on a custom itemtype ( defined in *-items.xml) like this: ....... …
BNR
  • 89
  • 2
  • 13
0
votes
1 answer

Double digit format in impex

I created an impex similitar to this: INSERT_UPDATE Unit;code[unique=true];type(code)[default='TEST', unique=true] ;conversion; ; a ;; 0,001 ; b ;; 0,001 ; c …
Ricardo Machado
  • 784
  • 6
  • 22
0
votes
1 answer

NotReadableException: JSON parse error: Unexpected character ('<' (code 60)) occurs only when I use https url, working fine for same url http

org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null'); nested exception is…
0
votes
1 answer

Narrow categories in Default Extended Multi Reference Editor in Backoffice to subcategories of a given category

I'm trying to filter the supercategories that can be referenced by a given product in Hybris Backoffice. For example if we have the following category structure: CategoryA SubCategoryA1 SubCategoryA2 CategoryB SubCategoryB1 SubCategoryB2 Lets say…
pashkulev
  • 1
  • 2
0
votes
1 answer

New Hybris Template Not Working in SmartEdit

I am trying to create a new template for Hybris, but the template isn't showing up as editable in SmartEdit, does anyone have any pointers on creating new templates in Hybris. I followed the online tutorial, but it still gives me an invalid…
Takuhii
  • 819
  • 2
  • 8
  • 26
0
votes
0 answers

Hybris - integration test - how to use @NeedsEmbeddedServer annotation

I am having a web extension with several endpoints implemented in the controller. Now I want to test those endpoints with e. g. GET OR POST request like https://localhost:9002/myExtension/myEndpoint I thought I could achieve that via integration…
Theo
  • 57
  • 5
0
votes
2 answers

Hybris - server startup from java class

in order to achieve some automation I am looking for a way for a complete hybris server startup via java code. What I have tried so far was a startup with those…
Theo
  • 57
  • 5
0
votes
1 answer

How to hide Backoffice nodes including some product nodes?

I am using SAP Commerce Cloud 19.05 in my B2C project.We have certain custom itemtypes like: XYZCompanyProduct(extends Product) XYZLaptopProduct(extends XYZCompanyProduct) XYZMobileProduct(extends Product) Now in the explorer tree, we have three…
Rachit
  • 403
  • 10
  • 32
0
votes
4 answers

Hybris server startup for JMeter Performance Tests

I am trying to automate JMeter performance tests for my Jenkins PR-Build for a Hybris Platform. In order to run my JMeter performance script obviously the hybrisserver needs to start first so that localhost is available. My approach was to start the…
Theo
  • 57
  • 5
0
votes
2 answers

How to change the OrderStatus of one Order from an Address Interceptor? Hybris Commerce

I'm working in a Hybris Commerce custom project and this is my case: 1 - I have an Interceptor for AddressModel, it's run when I do insert or Update. 2 - I have to change the Order.Status value when I update a value in Address. If someone knows…
0
votes
2 answers

Hot folder - How to check the status of ingested files into Hybris?

In our current production system, we have several files that will be processed by Hybris hotfolder from external system on a daily / hourly basis. What is the best way to check the status of each file that is being processed by hot folder? Is there…
BNR
  • 89
  • 2
  • 13
0
votes
2 answers

Groovy throws MissingPropertyException when calling getter method

I'm writing a small Groovy script for Hybris. For reasons unknown when I attempt to call .getCronExpression() Groovy tries to get a property named getCron. Script execution has failed [reason: groovy.lang.MissingPropertyException: No such property:…
Andrew
  • 95
  • 2
  • 12