I have a view of Commerce products that, as is standard for e-commerce product listings, can be sorted by price or by date. I'm having trouble with the sort direction labels:
- In the context of dates, "Ascending" or "Descending" is confusing unless you are used to thinking about time in terms of UNIX timestamps. Labels like "Newest" and "Oldest" are much more user-friendly to average users.
- In the context of prices, labels like "Highest" and "Lowest" are most user-friendly.
"Newest"/"Oldest" is clearly nonsense in the context of price, while both "Ascending/Descending" and "Highest"/"Lowest" are confusing to average users in the context of dates. I need both highest and lowest options for the prices sort because it's a luxury goods store and some users want to browse the most premium options.
The trouble is, even with Better Exposed Filters module, I can only have one custom ascending or descending label.
Ideally, I'd like something like this:
Sort by
- Date - Newest
- Date - Oldest
- Price - Highest
- Price - Lowest
...but I'd also accept something that switches the labels in the sort order based on the selection in sort type.
I could roll my own javascript, but surely I can't be the first person to have this use case. Is there an existing solution?