This project aims for extending solr search delivered OOTB with SAP Hybris. This will majorly includes following:-
Much More
Just to have a quick glance refer the video on following Link. https://www.useloom.com/share/7f91e3a0c136422bb560bebe143f3c48
Application | Version |
---|---|
Java | 1.8 |
Hybris. | 6.3 + |
Link from <working_directory>/hybris/bin/custom/enhancedSearch to <repo_directory>/custom/enhancedSearch
Link from <working_directory>/hybris/bin/custom/enhancedSearchAddon to <repo_directory>/custom/enhancedSearchAddon
cd <working_directory>\hybris\bin\custom
mklink /J enhancedSearch <repo_directory>/custom/enhancedSearch
mklink /J enhancedSearchAddon <repo_directory>/custom/enhancedSearchAddon
cd <working_directory>/hybris/bin/custom
ln -s <repo_directory>/custom/enhancedSearch
ln -s <repo_directory>/custom/enhancedSearchAddon
This is an optional step. If we are trying to run the same on Hybris OOTB setup then I have installed b2c_acc recipe.
Move to directory
install.bat -r b2c_acc
./install.sh -r b2c_acc
Open localextension.xml - <working_directory>/hybris/config/localextension.xml
Add Following extension
<extension name='enhancedSearchAddon'/>
<extension name='enhancedSearch'/>
setantenv.bat
. ./setantenv.sh
Run ant clean all
Run ant addoninstall -Daddonnames="enhancedSearchAddon" -DaddonStorefront.yacceleratorstorefront="yacceleratorstorefront"
Initialize the platform
/bin/plateform/hybrisserver.bat
/bin/plateform/hybrisserver.sh
Open the web browser and go to https://localhost:9002/
User name: admin
Password: nimda
Click on Initialize
ant initialize
127.0.0.1 electronics.local
;electronicsContentCatalog:Online ;homepage ;contentSearch
;electronicsContentCatalog:Online ;multiStepCheckoutSummaryPage ;contentSearch
;electronicsContentCatalog:Online ;orderConfirmationPage ;contentSearch
;electronicsContentCatalog:Online ;cartPage ;contentSearch
;electronicsContentCatalog:Online ;search ;contentSearch
;electronicsContentCatalog:Online ;address-book ;contentSearch
;electronicsContentCatalog:Online ;add-edit-address ;contentSearch
;electronicsContentCatalog:Online ;payment-details ;contentSearch
;electronicsContentCatalog:Online ;order ;contentSearch
;electronicsContentCatalog:Online ;orders ;contentSearch
;electronicsContentCatalog:Online ;storefinderPage ;contentSearch
;electronicsContentCatalog:Online ;checkout-login ;contentSearch
;electronicsContentCatalog:Online ;login ;contentSearch
;electronicsContentCatalog:Online ;notFound ;contentSearch
;electronicsContentCatalog:Online ;searchEmpty ;contentSearch
;electronicsContentCatalog:Online ;updatePassword ;contentSearch
;electronicsContentCatalog:Online ;update-profile ;contentSearch
;electronicsContentCatalog:Online ;update-email ;contentSearch
;electronicsContentCatalog:Online ;consents ;contentSearch
;electronicsContentCatalog:Online ;close-account ;contentSearch
;electronicsContentCatalog:Online ;faq ;contentSearch
;electronicsContentCatalog:Online ;orderExpired ;contentSearch
;electronicsContentCatalog:Online ;termsAndConditions ;contentSearch
;electronicsContentCatalog:Online ;importCSVSavedCartPage ;contentSearch
;electronicsContentCatalog:Online ;savedCartDetailsPage ;contentSearch
;electronicsContentCatalog:Online ;saved-carts ;contentSearch
;electronicsContentCatalog:Online ;quickOrderPage ;contentSearch
;electronicsContentCatalog:Online ;product-textfield-configurator ;contentSearch
;electronicsContentCatalog:Online ;support-tickets ;contentSearch
;electronicsContentCatalog:Online ;add-support-ticket ;contentSearch
;electronicsContentCatalog:Online ;update-support-ticket ;contentSearch
;electronicsContentCatalog:Online ;cancel-order ;contentSearch
;electronicsContentCatalog:Online ;confirm-cancel-order ;contentSearch
;electronicsContentCatalog:Online ;return-order ;contentSearch
;electronicsContentCatalog:Online ;confirm-return-order ;contentSearch
;electronicsContentCatalog:Online ;returns ;contentSearch
;electronicsContentCatalog:Online ;return-request-details ;contentSearch
;electronicsContentCatalog:Online ;cancel-return ;contentSearch
<div style="padding: 0 30px 30px; max-width: 60%; text-align: left; margin: 0 auto;">
<c:forEach items="${contentSearchData}" var="data">
<a style="display: block; padding: 10px; margin: 2px 0;" href="https://github.com/garganshulgarg/hybrisEnhancedSearch/blob/master/${request.contextPath}${data.label}">» ${data.name}</a>
</c:forEach>
</div>