內容簡介
該外掛允許添加額外的產品欄位,這可能會影響產品價格。這使得客戶可以在添加到購物車之前根據自己的喜好定制產品。例如,可以指定披薩參數,如大小、配料(每個配料項目的費用可取決於所選的大小選項),或者是定制的T恤,其中包含號碼、最喜歡球員的名字、T恤球員名單,或自己的名字。
特點
支持8個小部件(欄位類型):
文字
文本區域
複選框
下拉選單
單選按鈕(正常或圖像)
複選框(正常或圖像)
日期選擇器
軌道
欄位配置文件(產品類型),可讓您在點擊一次後使用不同的欄位創建產品。
帶有字段的產品重複。
為特定產品設置和管理欄位,包括覆蓋字段默認收費和值。
可通過欄位配置文件導入產品。
有多個視頻系列可幫助您了解如何使用此外掛:
如何創建欄位
將欄位附加到產品的方法
產品表單和“前端欄位”部分
設置表單
導入產品
針對開發人員
該外掛具有非常靈活且可擴展的勾子集,可允許創建更複雜的價格計算,自定義欄位並創建新的小部件。有關更多信息和示例,請查看hooks.api.php文件。
外掛標籤
開發者團隊
② 後台搜尋「WooCommerce Product Front Fields」→ 直接安裝(推薦)
原文外掛簡介
The plugin allows to add extra fields to the product that may affect product price. This allows to create products that customers can customize according to their preferences before adding to the cart. For example, specify pizza parameters, such as Size, Toppings (the charge of every topping item can depend on the chosen Size option) or a customized T-Shirt with the Number, Favorite player’s name, T-shirt player list, or Own name.
Features
Supports 8 widgets (field types):
Text
Textarea
Checkbox
Select
Radio (Normal or Images)
Checkboxes (Normal or Images)
Datepicker
Slider
Field profiles (product types) that allows to create products with different fields with one click.
Product duplication with fields.
Setting and managing fields for a specific product, including overridding the field default charge and value.
Products Import by field profiles.
The number of video series that allow to understand how to work with this plugin:
How to create the fields
The ways how to attach fields to the products
Product form and `Front fields` section
Settings form
Products Import
For developers
The plugin has very flexible and extensible set of hooks that allow to create more complex price calculations, customize the fields and create new widgets. Check hooks.api.php file for more information and examples.
