Order posts by percentage discount value between two meta key values
-
Hey,
I want to list posts (build in posts) sorted by by percentage discount value between two meta key values.
meta_key = price
meta_key = lowprice
discount = (price – lowprice) / price * 100)
I want to order posts by this result.Any help?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Order posts by percentage discount value between two meta key values’ is closed to new replies.