Hi Everyone, This is quick video demonstrating how to import SAP Hybris Commerce into Eclipse. Marc Raygoza HybrisArchitect.com
Author: Marc Raygoza
HybrisArchitect.com Video Tutorial Format Overview
Hi Everyone, Just a quick announcement, HybrisArchitect.com is planning to release a series of Hybris Commerce training videos. I thought it would be a good idea to describe the presentation format used throughout these videos. Please watch this short video to learn how these upcoming video tutorials will be presented. Regards, Marc Raygoza HybrisArchitect.com
How Do I Set Foreign Exchange Rates Using an Impex Script?
# Currencies $usaCurrency=USD $ukCurrency=GBP $audCurrency=AUD $europeCurrency=EUR $chinaCurrency=CNY $canadaCurrency=CAD $norwayCurrency=NOK $swedenCurrency=SEK # Currencies INSERT_UPDATE Currency ;isocode[unique=true] ;conversion ;$usaCurrency ;1 ;$ukCurrency ;0.75 ;$audCurrency ;1.26 ;$europeCurrency ;0.85 ;$chinaCurrency ;6.59 ;$canadaCurrency ;1.25 ;$norwayCurrency ;7.89 ;$swedenCurrency ;8.10 The foreign exchange rates are stored in the Currency item type Conversion attribute. In practice, you would create a Cron Job to update the foreign exchange rates in Hybris Commerce as often as required to effectively run your business.
How Can I Study for the Hybris Business Analyst Certification While Commuting to Work?
I listen to Podcasts everyday while commuting to the office. Podcasts are a great learning resource, but I have't seen any podcasts dedicated to Hybris. I created this quick audio study guide to help those who are studying for the SAP Hybris Commerce Business Analyst 6.0 Certification. Click on the audio link below to listen to the study guide. Please let me know what you think. Your comments and feedback are very important.
How Do You Setup Custom Error Pages in the web.xml File?
Prior to go-live, it's important to establish custom error pages to prevent unexpected behavior from those pesky 500 HTTP status codes. Although you could perform a similar implementation using the Apache Web Server, you may also configure custom error pages using Hybris Commerce's web.xml file using the following XML snippet: <error-page> <error-code>500</error-code> <location>/WEB-INF/views/mobile/pages/error/ServerError.jsp</location> </error-page> <error-page> <error-code>503</error-code> <location>/WEB-INF/views/mobile/pages/error/ServerError.jsp</location> </error-page> <error-page> <exception-type>java.lang.Throwable</exception-type> <location>/WEB-INF/views/mobile/pages/error/ServerError.jsp</location> </error-page>
How Do You Create a New Content Page With an ImpEx File?
ImpEx files may create new content pages in Hybris Commerce. In this tutorial, we will create the ImpEx for creating a new “Contact Us” page. Here's the ImpEx for creating a new "Contact Us" Page: $contentCatalog=yourContentCatalog $contentCV=catalogVersion(CatalogVersion.catalog (Catalog.id[default=$contentCatalog]), CatalogVersion.version[default=Staged]) [default=$contentCatalog:Staged] INSERT_UPDATE ContentPage;$contentCV[unique=true];uid[unique=true]; name;masterTemplate(uid,$contentCV);label; defaultPage[default='true']; approvalStatus(code)[default='approved']; homepage[default='false'];previewImage(code, $contentCV)[default='ContentPageModel__function_preview'];; contact;Contact Us;ContentPage2Template;/contact ImpEx Review: $contentCatalog: The variable name that contains the name of the desired content catalog the "Contact Us" page should belong to. $contentCV: The variable name that contains the name of the desired catalog version. Hybris best practice is to set the catalog version to Staged when writing your ImpEx files/scripts. uid: The …
How Do You Verify Password Encoding for Users and Customers in Hybris Commerce?
Hybris Commerce's default encoding strategy is plain text. Obviously, this encoding strategy is not safe, and must be changed before going live with your Hybris implementation. To verify the encoding strategy has been changed from plain text, you should run the following FlexibleSearch query in HAC or backoffice: select {uid},{password},{encodedPassword}, {passwordEncoding} from {user} where {passwordEncoding} != 'md5' or {passwordEncoding} != 'sha256' or {passwordEncoding} != 'sha512' or {passwordEncoding} != 'pbkdf2'
Is There a Recommended Formula For Establishing The Number of Hybris Catalog Synchronization Threads?
A reliable rule-of-thumb formula is the total number of Hybris cores multiplied by 1.5. If you have 4 Hybris cores running, your formula would be: 4 * 1.5 = 6 In your local.properties, you would then set the following: catalog.sync.workers = 6
How Do You Install the Hybris Commerce Suite License?
This is a quick tutorial that describes how to install the Hybris Commerce Suite License. This article also assumes you have the SAP Hybris license information in your possession. Open the command prompt Go to your Hybris config directory: cd <HYBRIS_HOME_DIR>/config Create a new file in this directory. The filename you choose doesn't matter. For example, you could create a file called SAPHybrisLicense.txt vi SAPHybrisLicense.txt Once the vi editor is displayed, copy and paste the Hybris license you received from the SAP License Management portal. The license will resemble the following: ----- Begin SAP License ----- SAPSYSTEM=PRD HARDWARE-KEY=XXXXXXXX INSTNO=XXXXXXX BEGIN=XXXXXXX …
How Do You Disable Hybris Backoffice Cockpits' Pre-Populated Logins and Default Passwords?
Prior to moving your Hybris Commerce implementation into production, it's important to disable the login auto-fill feature and the default passwords for the backoffice cockpits. To eliminate this potential security risk, set the pre-populated values to empty in the local.properties file. ############################################################### # The following disables default user/password for login cockpit pages and hmc ############################################################### productcockpit.default.login= productcockpit.default.password= cmscockpit.default.login= cmscockpit.default.password= cscockpit.default.login= cscockpit.default.password= hmc.default.login= hmc.default.password=