cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Customize certain field of existing condition

Former Member
0 Kudos
205

Hi there! I'm just wondering if anybody here have had experience in customizing certain fields of existing conditions? For instance, for certain condition I want customize field "Products" by "Bulk upload" functionality.

If somebody have had experience with similar tasks I would really appreciate for advice.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Dmytro,

I would not recommend changing out-of-the-box conditions as all changes will be reverted during initialization. Better idea would be to make another condition that has this field changed. Creating new Condition is presented in the Promotion Engine Trail found here: https://help.hybris.com/6.6.0/hcd/39b59b51c229400099d8ee0d0a79cdf5.html

Kind regards,

vijaysalvadi
Discoverer
0 Kudos

I have requirement to add one more condition with new parameter which is added in RAO. I tried to extend the OOTB translator and add the additional condition but my bean is not getting triggered.

 <alias alias="qualifyingCategoriesConditionTranslator" name="xyzQualifyingCategoriesConditionTranslator" />
 <bean id="xyzQualifyingCategoriesConditionTranslator" class="com.xyz.ruledefinitions.conditions.XyzRuleQualifyingCategoriesConditionTranslator" parent="defaultQualifyingCategoriesConditionTranslator" />

Can you please check what else I need to add to trigger my class rather than OOTB