I have successfully imported hundreds of vendors, but now I want to import listings to my site, and I don’t know how to assign listings to each vendor.
I tried populating the “author” field, but all the listings are assigned to the same vendor.
I’m not sure how to map the listings to the correct sellers.
The plugin I’m using for the imports is Ultimate CSV Importer.
I see. Sorry for the confusion. If you mean how listings and vendors are related, then listings are hp_listing post type, and vendor profile is hp_vendor post type, and the vendor ID is specified in the post_parent field of the listing. Also, make sure that each vendor profile has one user in WP > Users (the user is specified as post_author, both in the listing and in the vendor).