I was needing longer cord for my NES Classic and found Amazon has a special on the Ortz 10ft Extension Cable for NES Classic Mini Edition Controller. Buy 1 or more, get one free. I ordered 2 for $5.99! Reviews are great on this item.
https://www.amazon.com/dp/B01NBQRG2A/