You've basically, listed - spec, price, ride quality, and aftercare.
These are pretty much the 4 key things that will set bikes apart, other things that come into play with higher end bikes, and eBikes include.
customer service before and during the sale (its not just aftercare that can...