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
5
votes
2 answers

How to remove all records of the table in Hybris?

In my development environment, I have added wrong data to my custom ItemType. Now I want to remove all data for that Type. Basically I want to truncate my ItemType table.
Namu
  • 103
  • 2
  • 6
5
votes
1 answer

Do not ask login for rememberMe users in checkout process etc. in SAP Hybris

When I make rememberMe(spring security) active in Hybris, I want rememberMe users to behave like Hard Login users. I mean, I would like those rememberMe users (soft login) to not face any obstacle like when they want to proceed in the checkout…
Hatip Kabak
  • 316
  • 2
  • 22
5
votes
2 answers

Hybris generates an existing PK

Recently, we have migrated Hybris 5.4 to Hybris 6.5, but ever since it generates an existing PK (we are working with the same database which has some records). In the development environment, we have : Deleted All Existing records. Retried the…
Mohamed Nabli
  • 1,629
  • 3
  • 17
  • 24
5
votes
1 answer

Hybris addons install concept

How is the best way to work with a default Hybris addon? There are some really nice addon features we want to use in our projects, but of course not exactly the way they are. So what is the best practice to modify them? Is it the way to copy the…
Mafick
  • 1,128
  • 1
  • 12
  • 27
5
votes
1 answer

Override hybris commonI18NService roundCurrency method

Trying to override spring bean using Alias. I want to over ride roundCurrency method of commonI18NService OOTB definition
HybrisHelp
  • 5,518
  • 2
  • 27
  • 65
5
votes
1 answer

How to do UNION in flexible query

I want to merge catetegory_id and subCategory_id into one column. But I don't know how to do it in flexible query. Below code is what I want to do SELECT * FROM (SELECT ccr.targetpk as pk FROM Categories cc JOIN Cat2CatRel ccr ON…
mamur
  • 371
  • 4
  • 19
5
votes
4 answers

What is the main difference between hmc and backoffice?

As I know working in hmc is better than working in backoffice .Then why in hybris 6.0 , hmc is deprecated ?
Lcoder_001
  • 153
  • 4
  • 14
5
votes
3 answers

Environment Variables in Hybris local.properties

I'm wondering if, in a Hybris properties file, there is a way to reference environment variables. For example, in local.properties: my.property = ${MY_ENVIRONMENT_VARIABLE} My searching has concluded that this is possible in Spring, but doesn't…
rohrlach
  • 53
  • 1
  • 4
5
votes
5 answers

How to run "ant update" in Hybris with only "Update Running System"?

I'm trying to run ant update from the command line after building my Hybris project but it runs Update Running System, Clear hMC Configuration from Database, Create essential data and Localize type (please refer the following image): Is there a way…
ANIL
  • 2,542
  • 4
  • 25
  • 44
5
votes
1 answer

What is the origin of a NestedServletException?

Lately I've been working with the Hybris platform and I encountered an exception in my Tomcat today. The issue is I can't seem to find any valuable information about what a NestedServletException is or why it's thrown. At the moment my priority is…
Javier García Manzano
  • 1,024
  • 2
  • 12
  • 25
5
votes
4 answers

What is the difference in Extension & Add Ons in Hybris

I suppose Default Extension can Encapsulate Business Logic, Type Definitions, Configurations & Add Ons. I Know that Add On is Also a Type Of Extensions that Extend Normal Extensions. I further know that Add Ons Extend …
raj
  • 61
  • 1
  • 2
  • 4
5
votes
2 answers

How to lock Hybris to Initialize System on Production Environment

Is there any way to lock Hybris by Initializing System accidentally on Production Environment. It is too risky if some one mistakenly click on initialize button.
Free-Minded
  • 5,322
  • 6
  • 50
  • 93
5
votes
2 answers

Hybris sync system error

I am using the Hybris CMS system. I have recently uploaded multiple products through the productcockpit but when I go to sync on HMC I get "SYSTEM ERROR". I'm trying to find the cause for the error, I have checked all the new products I have added…
user2929830
5
votes
2 answers

Hybris - overriding existing unique attributes of an Item Type to make them non-unique

In my hybris application, I wanted to override my CustomerReview item type so that its attributes product and user are not unique anymore. The uniqueness of these attributes are declared in the relationships between CustomerReview and Product/User.…
Henrique Ordine
  • 3,337
  • 4
  • 44
  • 70
5
votes
2 answers

hybris - Which Spring Controller is serving my request?

I'd like to set a breakpoint in a certain Controller to debug it. But with all the Spring XML declaration files and annotations in my hybris application, it's hard to tell which Spring Controller is finally serving a certain HTTP request. Is there…