how do you get mega stones in pokemon sun?
Most of them can be found in the shop at the Battle Tree at the end of the Ancient Poni Path, according to Serebii. Unfortunately, this isn't a shop that accepts normal money. Instead, you need to win Battle Points from the Battle Tree to buy Mega Stones. Simply win enough battles and you can buy Mega Stones.