I have a product content type that has 2 price fields.
I want to create a view that shows all products where price-A is less than price-B.
I was hoping I could just add a filter and select price-A then choose operate less than and set the value as price-B, however you can't do that.
I have looked into using a views hook, mainly hook_views_query_alter but haven't had any luck.
I've also tried using the Views PHP module and been unable to get it to work.
Does anyone know the best way to achieve this?