How to copy settings of Eclipse ADT to another computer or another workspace
Month: June 2022
Shared memory class basics. T-Code SHMA & SHMM usage
How to fix debugging issue JRebel – IntelliJ IDEA?
How to get MSSQL table details (attributes) in Hybris Administration Console (HAC) by a basic query. If you don’t have access to DB directly, you can fetch table attributes by this way.
Learn how to fix after login (authentication) redirection issue fix. If users are redirected to homepage, see this post how to fix.
How to extend an existing DTO in Hybris. Extend OOTB (Out Of The Box) DTO
How to create a promotion to sell more amounts of a category in a cart?
If a customer adds more than 2 amounts, he gets a 10% discount on those products.
Scenario You want to set a discount if a user buys more than 2 different products in a category. You would like to sell more products of specific categories by offering discounts to users. Accomplishing this is possible in SAP Commerce Hybris by an OOTB (Out of the box) way. If you want to apply a promotion if a user adds 2 amounts of the same products to his cart, see this post. If you are looking for more articles about promotions, check here. Implementation I would like to offer a discount for BALLS category. If the user adds 2 or more balls products, a 10 percent discount will be applied to those products. Go to Backoffice → Marketing → Promotion Rules Create a new Promotion by clicking the ‘+’ button Give a name. Select web site. Set priority as you desired. Select product promotion Add 2 containers Add Qualifying categories to both containers. Add the same category that you want to apply for promotion. In the actions tab, add Percentage discount on partner products. Set containers and numbers as below. Save and publish. Test I added 2 Balls products and 1 product from another category. 10% discount only applied…