[WordPress] 外掛分享: Cart Products for WordPress

首頁外掛目錄 › Cart Products for WordPress
WordPress 外掛 Cart Products for WordPress 的封面圖片
10+
安裝啟用
尚無評分
2591 天前
最後更新
問題解決
WordPress 4.3+ v1.0.4 上架:2019-01-10

內容簡介

這是一款針對 Woocommerce 的外掛程式,讓你可以在購物車或結帳頁面直接快速加入商品。對於產品數量少而需要立即從購物車或結帳頁面加入的網站非常有用。
如果你賣的是服務,讓使用者在結帳時直接選擇數量並立即付款會更方便。
此外,它也適用於普通的產品頁面(但對於多變產品的支援可能有所限制,因為尚未經過多次測試)。
最初,我們開發這個外掛程式是為了銷售博物館門票。

外掛程式沒有提供太多預設的樣式設定,它預期使用你的佈景主題樣式或使用 Elementor 外掛程式所配置的樣式。
此外,外掛程式也沒有提供任何設定頁面,只能透過 Elementor 和 Gutenberg 區塊來進行設定。

區塊建構

有一個 Elementor 區塊,其中所有參數和樣式都可以自行配置。
有一個 Gutenberg 區塊,可以設定參數。
有一個簡短代碼 [wc_cart_products],可用的參數包括:
* category:[字串],逗號分隔的產品目錄縮略語
* per_page:[數字],欲顯示的總產品數量,預設為「-1」,即為「所有」產品
* type:[empty|bycategory]
* actions:[true:false],用以顯示或隱藏頁腳區域
* show_thumb:[true:false],用以顯示或隱藏產品圖像
* footer_total:[true:false],在頁腳區域顯示或隱藏總價格

可用的連結:

"wccp/products_query" [array] - 用以過濾產品查詢 (使用 "wc_get_products()" 函數)。
"wccp/categoty_h_tag" [string] - 更改標題標籤。預設為 "h3"。
"wccp/product_table_thumbnail" [true|false] - 在表格中隱藏/顯示產品縮圖。
"wccp/quantity_update_timeout" [毫秒數字] - 更改 AJAX 購物車更新觸發後的延遲時間。預設值為 800。

外掛標籤

開發者團隊

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

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

原文外掛簡介

Extension for Woocommerce, that allows you to add products quickly into to cart straight from cart or checkout page. Extreamly usefull for sites with small ammount of products, that needed to be added straight from cart or checkout page.
If you sell some services, it’s easier for the user to select amount right in checkout and pay right away.
Also works with normal product pages (Could be limited support for variable products, as not tested much).
We initially developed this plugin for one of our projects to sell museum tickets.
Plugin does not provide much styling out of the box, plugin is intended to use your theme styling or styling configured with Elementor plugin.
Plugin also doesnt provide any settings page, only Elementor and Gutenberd blocks coonfigurators.
Building blocks
Has Elementor block, with fully configurable parameters and styles.
Has Gutenberg block with ability to configure parameters.
Has shortcode [wc_cart_products] with available parameters:
* category : [string] of coma separated product category slugs
* per_page : [number] of total products to show, “-1” by default, which is “all” products
* type : [empty|bycategory]
* actions : [true:false] to show or hide footer area
* show_thumb : [true:false] to show or hide product images
* footer_total : [true:false] to show or hide total price in footer area
Availbale hooks:
“wccp/products_query” [Array] – To filter products query (Uses function “wc_get_products()”).
“wccp/categoty_h_tag” [string] – To change heading tag. Default “h3”.
“wccp/product_table_thumbnail” [true|false] – To hide/show product thumbnail in table.
“wccp/quantity_update_timeout” [number in milliseconds] – To change delay, after when the ajax cart update triggered. Default 800.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon