[WordPress] 外掛分享: Ecom WC Omnibus

首頁外掛目錄 › Ecom WC Omnibus
WordPress 外掛 Ecom WC Omnibus 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
20+
安裝啟用
尚無評分
1381 天前
最後更新
100%
問題解決
WordPress 5.2+ PHP 7.2+ v1.0.1 上架:2022-05-27

內容簡介

WC Omnibus 是一個 WordPress 外掛,可以讓您針對 WooCommerce 網店中的產品和變量產品設定自定義的「集體購買」價格和日期。當設定的產品打折銷售時,該價格和日期將會顯示在產品頁面上。

短碼 (Shortcodes)
[ecom_wc_omnibus_price]

可接受的參數:
type: “simple” | “variable”
例如:

[ecom_wc_omnibus_price type="variable"]

在當前的產品頁面上顯示集體購買價格,並會自動判斷頁面是否為變量產品(除非使用 type 屬性參數進行指定)。在變量產品頁面上,當選擇商品變體時,會顯示該變體對應的集體購買價格。

全域函數 (Global functions)
ecom_omnibus_price();

為單一產品添加集體購買價格。如果在變量產品頁面上,則不添加任何內容。

ecom_omnibus_single_variation_price();

為變量產品添加集體購買價格。如果未在變量產品頁面上添加任何內容,則添加一個空標籤。在選擇變體時,會顯示該變體對應的集體購買價格。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Ecom WC Omnibus」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

WC Omnibus allows you to set a custom omnibus price and date for WooCommerce products and variable products and show it on the product page when the product is on sale.
Shortcodes
[ecom_wc_omnibus_price]

Accepted parameters:
type: “simple” | “variable”
For example:
[ecom_wc_omnibus_price type="variable"]

Show the omnibus price for current product page. Automatically determines if page is for a variable product, unless specified with type attribute. On variable product page the omnibus price for the variation is shown when the variation is selected.
Global functions
ecom_omnibus_price();

Adds omnibus price for a single product. Adds nothing if on variable product page.
ecom_omnibus_single_variation_price();

Adds omnibus price for a variable product. Adds an empty tag if not on a variable product page. The omnibus price for the variation is shown when the variation is selected.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon