Advanced format ruling
Magical Merchant

Card effect (current official text)FLIP: Excavate cards from the top of your Deck until you excavate a Spell/Trap, then add that card to your hand, also send the remaining cards to the GY.
Current rulings for this card are maintained by Konami.
Rulings data courtesy of Format Library — formatlibrary.com. Spotted an inaccuracy? Flag it in the Advanced forum — sourced change requests get reviewed.