A decline in customer traffic significantly affected Shoe Carnival Inc's performance in the second quarter, with profit plunging 94%.