SAP Hybris suite , Hybris tutorial, Java, J2ee Stuff Online-

0
how to customize plateform code without creating extension in hybris | core concept in hybris

Open 1 Answers 998 Views

As you know hybris provide extension concept to customize any OOB hybris functionality means suppose if you want any change in out of box functionality then you need to create your own extension then you can do

But i have question suppose your customization is very simple i.e. only a simple change in (may be java file or xml) in plateform code can achieve your customization 

So my question is how to customize plateform code in hybris?

As you know after hybris ant build there is config folder created in hybris directory as below 

image

if you see inside config folder there is customize folder is also there and by using this folder you can replace plateform code 

Suppose in hybris plateform there one file 
hybris\bin\platform\ext\platformservices\src\de\hybris\platform\catalog\CatalogService.java

which you want to replace with your own customize java file CatalogService.java

then put same file in same way (create same directory structure - platform\ext\platformservices\src\de\hybris\platform\catalog\CatalogService.java) inside customize folder 

then do ant customize  - it will make replace plateform file

1 Answer

0
Hi thanks for sharing,

I have a question about this customize folder.
How can I push to github only this customize folder? Is there any way?
answered Jan 30 by Çağlar

...