
內容簡介
此外掛需要安裝 WooCommerce 才能使用。
當開發 WooCommerce 網站時,我發現除了「我的帳戶」頁面外,沒有可以顯示已登入使用者可下載項目的簡碼。因此,我開發了這個簡單的外掛程式,加入了一個名為 [woocommerce-my-downloads] 的簡碼。它簡單而有效,會顯示訂單日期和檔案名稱的無序清單。
** 注意:相容於 WooCommerce 5.8.x
使用方式
顯示所有下載的簡碼
[woocommerce-my-downloads]
個別商品下載按鈕的簡碼
[woocommerce-my-downloads-button id=商品 ID]
外掛標籤
開發者團隊
② 後台搜尋「My Downloads Shortcode for WooCommerce」→ 直接安裝(推薦)
原文外掛簡介
This plugin requires WooCommerce.
When developing a WooCommerce site I realized there was not a shortcode for displaying the logged in users available downloads outside of the My Account page. So I developed this simple plugin which adds the short code [woocommerce-my-downloads]. It is simple and effective. It displays the Date of the order and the file name in an unordered list.
** Note: WooCommerce 5.8.x Compatible
Usage
Shortcode for displaying all downloads
[woocommerce-my-downloads]
Shortcode for single product download button
[woocommerce-my-downloads-button id=PRODUCT_ID]
