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

How to override Voucher jalo in hybris 5.7 ?

former_member648727
Discoverer
0 Kudos
346

I am trying to override Voucher jalo class to override OTB VoucherValue getVoucherValue(AbstractOrder anOrder) method. Voucher jalo is an abstract class. I have followed this post and have defined a spring bean using the fully qualified class name of the voucher jalo class. Like below

 <bean id="de.hybris.platform.voucher.jalo.Voucher" 
       class="co.xx.xxxx.jalo.MyVoucher" scope="prototype" /> 

But my overrided method is not called. hybris experts, can you have any idea how to achieve this ?

Accepted Solutions (0)

Answers (0)