Circuit to switch charge controller inputs +18V non-regulated panel vs 12V regulated panel
Your cheapest solution is two power diodes rated for 30A at 85’C not 125’C on a heat sink using Diode - OR logic . With over voltage protection OVP.