前言介紹
- 這款 WordPress 外掛「Liquid Assets for WooCommerce」是 2021-07-25 上架。
- 目前有 10 個安裝啟用數。
- 上一次更新是 2021-08-26,距離現在已有 1347 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 4.9 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.3 以上。
- 有 1 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
ndeet |
外掛標籤
bitcoin | woocommerce | cryptocurrency | Liquid Network |
內容簡介
此外掛可以讓您向客戶出售您自己特別的 Liquid 資產(了解更多關於 Liquid Network),客戶可以使用 BTCPay Server WooCommerce 外掛付款。可以想像它就像是禮品券或禮物卡。
您可以在產品上配置 Liquid 資產關係,在結帳時,使用者將被要求輸入其 Liquid 位址。當付款完成後,令牌將通過 coinos.io 或您自己的 Elements 節點發送給使用者。
外掛配置
前往 WooCommerce -> Liquid Assets 設定
通用:
選擇 Elements RPC 或 coinos.io 模式(取決於匹配部分的繼續程式)
輸入在 RPC 或 coinos 模式下發生錯誤時應該接收通知的電子郵件收件人。您可以輸入一個或多個,以逗號分隔。
coinos.io:
在此處添加您的 coinos.io API 金鑰(JWT 標記)(可以在 coinos.io 個人資料設置頁面找到)
Elements RPC:
RPC 主機:輸入接受 Elements RPC 請求的主機或代理
RPC 使用者:配置的 RPC 使用者(如在 elements.conf 中配置的)
RPC 密碼:密碼(如在 elements.conf 中配置的)
產品配置
在產品編輯表單中,您在“通用”數據選項卡中有2個新字段:
* Liquid 資產 ID:在此處輸入您要發送給客戶的 Liquid 資產 ID
* 客戶 Liquid 位址:在前端產品頁面上顯示此處輸入的文字作為標籤。
產品頁面 / 加入購物車表單(前端)樣式設定
如果您在上述新產品字段中輸入,則現在將在產品頁面上看到標籤和輸入文字欄,使用者可以在此處添加其 Liquid 位址。
這裡的範例適用於預設的 WordPress 主題“twentytwentyone”。您可能還需要以下類來調整自定義主題的輸入字段和標籤樣式。
範例:
.wcla-liquid-address-wrapper {
margin-bottom: 30px;
}
.wcla-liquid-address-label {
display: block;
}
input#wcla-liquid-address {
width: 100%;
}
訂單和訂單備註
在訂單項目上,如果 coinos.io API 發生任何問題,您將看到使用者的 Liquid 位址。如果 coinos.io 有問題,他們的 API(或 Elements RPC)響應不是“狀態200 OK”或請求超時,您還會收到一些訂單備註。如果您配置了管理員通知郵件,這些收件人也將在出現錯誤時接收郵件。
還要確保您的 coinos.io 帳戶 / Elements 節點具有足夠的 Liquid 資產和 L-BTC 以支付費用。
原文外掛簡介
With this plugin you are able to sell your own special Liquid Assets to customers (learn more about Liquid Network). Which they can then later use to pay for a product using BTCPay Server WooCommerce plugin. Think of it like a voucher or gift card.
You can configure Liquid Asset relationship on a per product basis and during checkout the user will be asked to enter their Liquid address. After payment has been completed the token will be sent to the user through coinos.io or your own Elements node.
Plugin Configuration
go to WooCommerce -> Liquid Assets Settings
General:
choose Elements RPC or coinos.io mode (depending on that continue with the matching section)
Enter the email recipients that should receive notifications in case of errors on either RPC or coinos mode. You can enter one or more separated by comma.
Coinos.io:
add your coinos.io API key (JWT token) here (can be found on coinos.io profile settings page)
Elements RPC:
RPC Host: enter the host or proxy accepting Elements RPC requests
RPC User: the configured RPC user (as configured in elements.conf)
RPC Pass: the password (as configured in elements.conf)
Product configuration
On the product edit form you have 2 new fields in the “General” data tab:
* Liquid Asset ID: enter Liquid Asset ID here you want to send to customer
* Customer Liquid address: the text entered here will be shown on the frontend product page as label.
Product page / Add to cart form (frontend) styling
If you enter above mentioned new product fields you will now see the label and a input text field on the product page, here the user can add their Liquid address.
The examples here apply for the default WordPress theme “twentytwentyone”. You might also need the following classes to adjust the styling of the input field and label for your custom theme.
Example:
.wcla-liquid-address-wrapper {
margin-bottom: 30px;
}
.wcla-liquid-address-label {
display: block;
}
input#wcla-liquid-address {
width: 100%;
}
Orders and orders notes
On the orders line item you will see the users Liquid address in case anything went wrong with the coinos.io API. You will also get some order notes in case there was a problem with coinos.io and their API (or Elements RPC) response was not status 200 OK or the request timed out. If you configured the admin notification mails those recipients will get also emails in case there was an error.
Make also sure your coinos.io account / Elements node has enough funds of Liquid Assets and L-BTC for the fees to send.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Liquid Assets for WooCommerce」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.8.0 | 1.8.1 | 1.8.2 | 1.8.3 | trunk |
延伸相關外掛(你可能也想知道)
暫無相關外掛推薦。