on 2018 May 14 10:33 AM
Hello experts,
Our requirement is we have to create bulk promotion for specific products,suppose if we order 100 products give 20% discount,for 200 products 25% discount.For this any OOB exits,how we can achieve this please let me know.
Thank you..
Sindhu
Request clarification before answering.
Hello!
For this requirement we are implementing a groovy that get the product via flexibleSearch, then create the promotion (you could set the attributes via property, promotion template...) and finally publish them using ruleMaintenanceService, the compileAndPublishRules method.
If you save the PromotionSourceRuleModel in the groovy, hybris will fire an error about not finding them in the database, so you will need to commit the transaction in the groovy itself programatically.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.