
Ultimate Downloadable Products for WooCommerce
v4.3.0ethereumicoio · 2022年7月14日 上架
Ultimate Downloadable Products shows the files inside a digital product before the buyer pays - on WooCommerce or Easy Digital Downloads.
- 正在使用
- 10+
- 评分
- 5.0 / 5
- 累计下载
- 6,503
- 最近更新
- 2026年11月21日
贡献者
截图







![The [ultimate-downloadable-list] shortcode printing the same list inside a product description: thumbnails, names and sizes for two files](https://ps.w.org/ultimate-downloadable-products-for-woocommerce/assets/screenshot-8.png?rev=3814462)
Ultimate Downloadable Products shows the files inside a downloadable product before the buyer pays: the list of what is in the download, with the file type, the size and a count, on the product page itself.
It works on WooCommerce or Easy Digital Downloads. The name still says WooCommerce because that is where the plugin started and its wordpress.org history lives under this slug, but the platform is a runtime choice, not a requirement: activate the plugin on a shop running either of the two and the download list appears on its product pages. When both are active, WooCommerce is used.
The free build lists the files, draws the image thumbnails, adds the tab, the shortcode and the block, schedules an unlock and reports whether the uploads folder is really closed. A Professional licence adds the previews themselves — blur, audio, video, document and archive contents — the per-product and per-file overrides, a separate schedule per file, the marketplace vendor form and the preview analytics. Every claim that needs that licence ends with (Professional) in the list below.
Eleven promises have no picture of their own and are named here instead, because no frame can show them: an unlock email tells the customer when a scheduled file opens, switchable under WooCommerce Settings Emails; a REST route, GET /wc/v3/products/{id}/downloads, serves the public part of a product’s files to a headless storefront; with neither WooCommerce nor Easy Digital Downloads active the plugin still activates, does nothing on the front end, and prints one admin notice naming what to install; the shortcode’s product_id, show_size, columns, types and layout attributes reshape the list, and columns turns it into a real multi-column grid; one customer’s file can be unlocked from the order screen or with wp udp schedule unlock|status, without touching the product (Professional); a schedule can count from a subscription’s start, so a renewal never restarts it (Professional); wp udp stats and the one-line wp udp status print the preview counters without a browser, and the analytics screen itself is shown only to a user with manage_woocommerce (Professional); RAR uploads are accepted as well as ZIP and ISO (Professional); on Easy Digital Downloads a per-file preview setting is keyed to the file’s condition and the file itself, so reordering the files moves no setting to another file (Professional); the WCFM and WC Vendors vendor forms carry the same preview options as the seller’s own form in picture 22, for a vendor account with no admin access (Professional); and when the server cannot render a page, a PDF preview shows the document’s opening text instead (Professional).
Video walkthrough: https://youtu.be/QVs3kOco3SE
Features
Everything in this list is in the free build.
- The
Downloadstab on a product page lists what the buyer gets — every file with its thumbnail, its name and its size — before the buyer pays - The
[ultimate-downloadable-list]shortcode prints the product’s download list inside a product description — the same files, thumbnails, names and sizes theDownloadstab shows - The free build shows the Professional preview settings too: visible, disabled and linked to the upgrade, so you see what a licence adds before buying it
- The unlock delay is set on the product itself, in the
Downloadsblock’sUnlock downloads after (days)field, with no separate screen to visit - Until a file unlocks, My Account shows
Available in 7 daysinstead of a link, so nobody chases a download that is not there yet - A download asked for before its date is refused with a page that says when it unlocks and where to go next, and the refusal costs the customer no download
- The protection screen answers whether the uploads folder is really closed: a red
not protectedbadge with its reason, the rule file the plugin manages, and the server configuration to paste when your host does not run it - The
Downloadable files (UDP)block renders the list in the site editor: a live preview of the product’s files on the canvas and its five settings in the sidebar, with no shortcode in the template - The same block prints a grid of cards on the front end — three to a row, each card carrying its thumbnail or its file-type icon, the name and the size
- On Easy Digital Downloads a download with several price options shows one labelled group per option, with the files each option includes and their sizes measured on disk
- On Easy Digital Downloads the receipt a buyer lands on after paying says
Available in 5 daysunder a file that has not unlocked yet
PRO Features
A Professional licence adds these, on top of the free list above.
- One settings screen decides what the product page shows: the tab, the image thumbnails, the audio and video samples, their lengths and the archive formats
- Image thumbnails can be blurred, with a strength you set, so a buyer sees the shape of the artwork without seeing the artwork
- A variable downloadable product lists the files of the variation the buyer picks: choose A2 and the list shows the three A2 files, each with its own size
- Change the choice and the list changes with it: the A5 variation shows its own two files and its own total, never the parent’s set
- A ZIP in the list opens in place, folder by folder, so the structure of the archive is readable before the purchase
- An ISO disc image opens in the same list, so a product that ships on a disc is as readable as one that ships as an archive
- Override the thumbnail width, the blur strength and the
Downloadstab for one product, or for one file inside that product, without touching the global settings - An audio download plays a short sample in the list, cut from the product file itself, so a buyer can hear what they are buying
- A video download shows a blurred poster in the list, so the row stays quiet until the buyer asks for the sample
- The video sample opens in a modal window and closes without leaving the product page
- A PDF download shows its first page as the thumbnail, so the document is recognisable at a glance
- Each file row carries its own preview setting, and the screen counts the samples it managed to build (
Samples ready: 3 of 3), so a sample that failed is visible before the shop goes live - A Server capabilities table tells you which previews this server can make and which tool is missing, before a customer finds out
- A schedule per file: each file unlocks N days after the purchase or on its own date, while the product keeps its own schedule
- The same preview options sit on a seller’s own product too — width, blur, strength, media preview, the
Downloadstab and a row of settings per uploaded file — so the person who owns the product sets them - Download analytics counts every preview opened and every sample played, per product, for all time and over the last 30 days
Roadmap
The platform port and the release schedule on Easy Digital Downloads are shipped, so
the platform work is what this list now carries. Nothing below is committed by this
release:
- FluentCart support — a maybe, not a plan, and only if that platform’s file model turns out to fit the same list
- A conversion report — the plugin counts previews and sample plays; comparing them with the orders they produced, per product, is not built
- Analytics for the Free build — the counters are Professional only
- A block that edits the list in the editor rather than rendering it on the server (today’s block lists the files; the product screen still owns them)
- Marketplaces beyond WCFM, WC Vendors and Dokan
Nothing above is promised or dated.
l10n
This plugin is localization ready.
Languages this plugin is available now:
- English
- Arabic (عرب)
- Czech (čeština)
- Danish (Dansk)
- German (Deutsche)
- Greek (Ελληνικά)
- Spanish (Español)
- Persian (فارسی)
- French (Français)
- Hebrew (עִברִית)
- Hindi (हिन्दी)
- Indonesian (Bahasa Indonesia)
- Italian (Italiano)
- Japanese (日本)
- Korean (한국인)
- Malay (Melayu)
- Norwegian (Norsk)
- Netherlandish (Nederlands)
- Polish (Polski)
- Portuguese (Português)
- Russian (Русский)
- Slovak (Slovenský)
- Finnish (Suomalainen)
- Swedish (Svenska)
- Thai (ไทย)
- Philippine (Pilipinas)
- Turkish (Türk)
- Vietnamese (Tiếng Việt)
- Chinese (中国人)
Feel free to translate this plugin to your language.
Shortcode
[ultimate-downloadable-list] prints the downloadable files of a product. With no attribute it prints the product being displayed, exactly as it did in 3.2.1 — the shortcode is backward compatible in both directions.
Attribute
Default
What it does
product_id
0 — the product being displayed
Prints the list of another product, so the shortcode works outside the loop, in a page or a widget
show_size
true
show_size="0" drops every file size and the byte total from the summary line; the file count stays
columns
1
1–6; values outside the range are clamped. Above 1 the list becomes a real CSS grid (--udp-columns), not a table
types
empty — all files
A comma-separated subset of image,audio,video,archive,document,other. Files of another type are removed before counting, so the summary matches what is shown
layout
list
list or grid; grid adds the card styling. Anything else falls back to list
[ultimate-downloadable-list product_id="42" columns="3" layout="grid" show_size="0" types="audio,video"] prints the audio and video files of product 42 in three cards, without sizes.
The other shortcodes an Easy Digital Downloads store carries – [downloads], [download_cart], [download_checkout], [download_history], [download_discounts], [edd_downloads], [purchase_link], [purchase_history] and [purchase_collection] – belong to Easy Digital Downloads itself, not to this plugin: they work whether this plugin is active or not, and this list appears inside the download they print.
Block
The block is called Downloadable files (UDP) and its name is ultimate-downloadable-products/downloadable-list. It renders the same list as the shortcode — same markup, same CSS — for the product a single-product template is showing, so a block theme needs no shortcode at all.
Its inspector panel carries the same five options as the shortcode attributes above (product id, show size, columns, types, layout), and the editor shows the server-rendered list as a live preview. apiVersion is 2, so the block works on WordPress 6.0 as well as on the current release. The block is in both the Free and the PRO build.
REST API
Headless storefronts get one public route:
GET /wp-json/wc/v3/products/{id}/downloads
`
curl https://example.com/wp-json/wc/v3/products/42/downloads
`
The route lives inside wc/v3 on purpose: that is the only namespace where a WooCommerce consumer key authenticates, so a storefront authenticates the same way it does for the rest of the store. No capability is needed to read it — everything it returns is already on the product page.
Each file carries five public fields and nothing more:
id— the download idname— the file name as the shop shows ittype—image,audio,video,archive,documentorothermime— the detected MIME type, ornullsize— bytes, ornullwhen the file is remote or its size is unknown
Two fields are about what the route withholds. download_url is null, with locked: true, for any file a release schedule has not unlocked yet — unless the caller has manage_woocommerce, who always sees the file. unlock_at is the instant of a fixed-date schedule, and it is published to that caller only: for everybody else it is null, because a delay schedule counts from a purchase this route knows nothing about. No order id, user id, email, IP, download key or counter is read on this route at all.
An unknown product and a product that is not downloadable both answer 404 (udp_product_not_found, udp_product_not_downloadable); a downloadable product with no files answers 200 with an empty downloads array. The response is Cache-Control: private, no-store — it is per-caller data and must not be cached by a proxy.
The full note — every field, every refusal, the redaction table and the reason wc/v3 is borrowed — is docs/work/rest-downloads.md in the plugin repository.