If I were you I'd try to find something that is versatile enough to handle both things. You don't want to try to sell a used ebike. Depending on how flexible you are and how upright you prefer to be when riding... Again I suggest you take a few different types for a test ride. Renting one is an even better option. Some bike shops even rent the same bikes they sell. This would be ideal because you can really see which ones are likely to work for you.
If the bike has large tires you can always change those from road to off road tires. The larger size tires will make it fairly comfortable even without suspension.
cost, battery power or kwh, fit, rider position, belt or chain drive, motor brand, aesthetic appeal, component level, suspension or not, bike shop support, warranty, build quality, resale value...
Keep in mind that older model bicycles or ebikes drop in price about 15-20% each year. If for example the 2019 models are out then the bike shop will usually drop the 2018 models by 15% or so. This is standard practice and don't think that it means they are giving you a super good deal. Some shops also overstate the original retail price to make you think they are giving you a better deal than you think. With most big shops selling big name bikes, this isn't really much of an issue. Just be sure to check around as the same bike is often for sale in another shop. Bike shops also usually carry a lot of their stock in another location or at least out of view. The 2019 bikes are just starting to come out so there won't be the largest selection now, though there should be some good deals on bikes that they want to clear out to make way for the 2019 models.