Update wholesaler-plugin.php

Just pseudocode actually, gotta write real code later!