I would like to add new field call discount that calculate from product's price - product's special price and make it able to filter by search criteria.
I think I should use Extension Attributes but I not sure how to implement it.
Can anyone help suggest?
Solved! Go to Solution.
Isn't possible for you to use a custom attribute with a custom backend model to get the price difference?
Hi @Damian Culotta,
I have done by collection already. it's working well for me. Thank you.