I’m looking for a code snippet that automatically adds the verified badge to a vendor if he currently has active listings and visca versa if he doesn’t have active listings at the moment he shouldn’t be verified.
Sorry, this requires some research but if you’re familiar with code customizations I recommend using the hivepress/v1/models/listing/update hook, this way you can get the vendor object and trigger its verified status dependin on the calculated listing count.