I lost My alpha sapphire two months ago and I still cannot find it so I was wondering if this would work.
The game cartridge is separate from your SD card. All data is saved on the cartridge. If you buy the e-shop version, it'll take up space on your SD card and be a completely different save file.
Source (if you want one)