Transit between RS485 and CAN
If I had to design a product that needed to be able to connect to either CAN or RS-485, I'd probably start by considering separate connectors or separate pins on the same connector for the two busses.  The ground pin can be common if on the same connector.

Jumpers can be made to work, but users don't always set them right, especially if multiple jumpers need to be set a particular way, which is probably the case between RS-485 and CAN.  Jumpers will also likely be more expensive and take more space than a connector with two extra pins.