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…
Category: Hybris
SAP Commerce | Hybris blog posts
Solr too many boolean clause error fix.
Business users use HeroProduct to boost some promotional products for sale. They bound more than 1000 products to 1 HeroProductDefinition and as a result we faced too many boolean clause error on Solr.