Multi-Vendor Marketplaces
Woo Document Preview Pro lets marketplace vendors attach preview documents from their own dashboards. Support is detected automatically: each integration loads only when its marketplace plugin is active.
Supported marketplaces:
- Dokan (requires the
WeDevs_Dokanclass). - WCFM Marketplace (requires the
WCFMclass). - WC Vendors (requires the
WC_Vendorsclass).
What a vendor sees
Section titled “What a vendor sees”Each integration adds the same document section that the product editor uses: a multi-row table where the vendor gives each document a name and either uploads a file, pastes a direct file URL, or pastes a cloud sharing link (Google Docs and Sheets, OneDrive, Dropbox). All three integrations render through one shared metabox renderer, so the fields and validation match the core product editor.
Where the section appears:
- Dokan: on the new-product form and the vendor product edit form.
- WCFM: in the product manager panel and on the product edit page.
- WC Vendors: in the vendor product general data area.
Saving and security
Section titled “Saving and security”Every vendor save path routes through one writer, so behavior is consistent across marketplaces:
- The save handler checks a nonce, the current user’s capability for the product, and (for Dokan) that the user is a seller.
- Documents are only touched when the document section was actually part of the submitted form, so a save from a screen that did not show the section cannot wipe existing documents.
- Submitting an empty document set clears the documents, which is how a vendor removes the last one.
- Documents are stored through the free base plugin’s writer, using the same product meta as the core editor.
Restrictions still apply
Section titled “Restrictions still apply”The store owner’s allowed file types and allowed categories apply to vendor submissions the same way they apply to admin submissions. The allowed file-type list is also passed to the vendor dashboard scripts so the front-end validation matches.

