WooCommerce 结帐时有条件的产品字段插件允许您在结帐时显示其他产品字段!字段可以是 动态显示 根据逻辑规则……所有这些都使用一个漂亮的可视化编辑器完成!
现场演示
https://www.codecanyondemo.work/wcpfc/wp-admin
(商店管理员帐户)
用户:演示
通过:演示
(客户账户)
用户:demo2
通过:演示
文档
如何自动更新插件
要接收自动更新,只需安装并配置 Envato 更新程序插件:httpss://goo.gl/pkJS33。解释如何配置它的官方指南可以在以下链接中找到: httpss://envato.com/market-plugin 。
运作方式
该插件通过可视化编辑器允许创建将显示在结帐页面上的额外产品字段。每个字段都可以有自己的 条件规则 插件通过它来确定是否必须显示它。
条件规则可以考虑其他条件字段值或WooCommerce 原生结帐字段 例如:
- 计费字段
- 运输字段
- 付款方式
最后但并非最不重要的一点是,每个字段可以仅显示 一下 每个订单,一次每个产品,或每个 产品购物车数量.
例子
例如,您可以:
- 创建一个字段,该字段仅当“计费国家/地区”为“意大利”且“州/省”为罗马时才会显示
- 创建一个字段,该字段仅在付款方式为 PayPal 时才会显示
- 创建名为“field1”的文本字段后,您可以创建第二个字段,仅当“field1”包含短语“hello world”时才会显示该字段,依此类推!
- 创建日期字段“field1”后,您可以创建第二个字段,仅当“field1”的所选日期大于 2018 年 12 月 25 日时才会显示该字段
等等!
条件逻辑和动态场显示
每个字段可以有多个“和/或”条件规则,这些规则将使字段 动态 仅当满足时才可见。条件规则可以与其他字段值或本机计费/发货结账字段相关联。
注意: 对于其他自定义字段值,只能为具有相同显示政策 和位置 选项。
字段类型
该插件将允许商店管理员创建以下字段类型:
- 发短信
- 文本区域
- 数
- 电子邮件
- 选择/多选
- 日期
- 时间
- 国家和州
- HTML
对于每个字段,您可以配置自己的选项,例如分配给输入字段的 CSS 类、占位符文本、在电子邮件上显示、在订单详细信息页面上显示、行大小等。
注意: 将显示 HTML 字段只 在结帐页面上。它可用于直观地组织其他字段(例如创建标题)。
根据产品/类别的可见性
只能显示所选产品或类别的字段。如果未选择任何选项,则插件将为购物车中的每个产品显示一个字段。选择一个类别,插件将为与所选类别匹配的每个产品显示一个字段。
显示政策
默认情况下,该插件将为每个匹配的产品显示一个字段。但是,您可以选择以下选项:
- 每个产品:该字段将仅显示一次匹配产品
- 每个购物车数量:该字段将显示 N 次匹配产品,其中 N 是购物车数量
- 一次:如果至少一个选定的产品/类别与购物车中的当前产品/类别匹配,则只需一次。
位置
您可以选择该字段的显示位置:在计费或发货表格之后。
注意: 如果选择运输表格,将显示该字段
仅当运送到其他地址 选项已在结帐期间被选中。否则,WooCommerce 将不会显示发货表格,然后该字段将不可见。
国家和州字段注释
只能选择在 WooCommerce -> 设置 -> 常规菜单中配置的允许销售国家/地区的州/省。
WPML兼容性
如果检测到WPML,插件将自动显示标签、占位符等的多语言输入字段。这样,您可以为每种语言输入不同的文本。
前端集成
如果满足关联的条件规则(如果有),其他字段将无缝集成到账单/发货表单中(如果是“一次性”字段类型)或之后(如果是“每件产品”或“每购物车数量”字段类型)。 注意: 如果选择运输表格,将显示该字段
仅当运送到其他地址 选项已在结帐期间被选中。否则,WooCommerce 将不会显示发货表格,然后该字段将不可见。
在下订单后,如果存在必填字段、错误的电子邮件格式或数值不在预选范围内,该插件还将显示一些验证消息
后端集成
其他字段将根据字段类型无缝集成到订单详细信息页面中。一次性字段在客户计费/装运详细信息(根据字段位置)下报告,产品/购物车数量字段类型在它们引用的每个产品下报告。
如果您通过使用第三方插件添加/删除/自定义字段以任何方式更改了结帐表单,这可能会干扰插件,导致其无法正常工作。确保使用默认的 WooCommerce 结账模板 ([woocommerce_checkout])。
屏幕截图
字段配置器页面
条件逻辑 – 字段配置器页面
结帐页面
订单详情页面
通知电子邮件
管理员订单详细信息页面
= 6.6 - 01.09.24 =
* Minor improvements
= 6.5 - 06.10.24 =
* Fixed an issue due the in the order details page was displayed a warning about an undefined ID
= 6.4 - 09.10.24 =
* Added option to execute shortcode present in the HTML fields
= 6.3 - 09.07.24 =
* Libraries update
= 6.2 - 30.08.23 =
* Added a new option to disable the "place order button" fade in effect
= 6.1 - 28.07.23 =
* Added compatibility with HPOS
= 6.0 - 14.07.23 =
* Minor CSS improvement
= 5.9 - 28.08.22 =
* Bugfix
= 5.8 - 10.08.22 =
* Fixed an issue related to the Order datails page
= 5.7 - 14.07.22 =
* Fixed an issue that prevented the field to be properly displayed when "shipping/billing country" conditions were used
= 5.6 - 25.02.22 =
* Fixed an issue due to time fields were not properly displayed on the admin order details page
= 5.5 - 18.10.21 =
* Bugfix
= 5.4 - 11.10.21 =
* Bugfix
= 5.3 - 27.07.21 =
* Code Redesign
= 5.2 - 02.03.21 =
* Bugfix
= 5.1 - 29.12.20 =
* Fixed an issue when using date fields, when excluding just one day, the fields were not properly rendered
= 5.0 - 08.09.20 =
* Minor improvement
= 4.9 - 20.08.20 =
* Fixed an issue related to the delete process
= 4.8 - 19.08.20 =
* Minor bugfix
= 4.7 - 18.08.20 =
* Fixed an issue related to the logic condition configurator
= 4.6 - 06.05.20 =
* Fixed an issue related to WPML
= 4.5 - 04.05.20 =
* Minor bugfix
= 4.4 - 02.04.20 =
* Fixed an issue with date display format
= 4.3 - 09.03.20 =
* Added option to disable specific day of the week for date selector
= 4.2 - 19.02.20 =
* Bugfix related to the date and time fields
= 4.1 - 08.02.20 =
* Fixed an issue due to field headers being displayed after the shipping form even if they should not
= 4.0 - 04.01.20 =
* Fixed an issue related to the relative max date option
= 3.9 - 12.11.19 =
* Fixed an issue related to WordPress 5.3 that may prevent field to be properly displayed on checkout and on the configuration page
= 3.8 - 07.11.19 =
* Fixed an issue related to the min/max date selection option for Date field
= 3.7 - 04.11.19 =
* Fixed an issue related to WPML field label translation on the Order details page
= 3.6 - 01.11.19 =
* Removed "billing" and "shipping" prefixes for "one time" field type
= 3.5 - 21.08.19 =
* Fixed an issue related to the checkout validation process for required fields
= 3.4 - 10.08.19 =
* Fixed an issue the "one time" field type mandatory option was ignored
= 3.3 - 31.07.19 =
* Unique id is now displayed in the field configuration panel
= 3.2 - 28.07.19 =
* Minor bugfix
= 3.1 - 16.07.19 =
* Fixed an issue related to mandatory fields and blank character
= 3.0 - 11.07.19 =
* Product selector now shows only published products
= 2.9 - 09.07.19 =
* Improved datepicker: is now possible to choose the number of years to show in the year selector
= 2.8 - 08.07.19 =
* Datepicker widget css improvement
= 2.7 - 27.06.19 =
* Fixed an issue with the logic operator option and the Country/state selector
= 2.6 - 11.06.19 =
* Is now possible to multiple select products and categories. The selection box won't close at first selection
= 2.5 - 23.04.19 =
* HTML field type added
= 2.4 - 23.04.19 =
* Minor bugfix
= 2.3 - 19.04.19 =
* Minor bugfix
= 2.2 - 10.01.19 =
* Minor bugfix
= 2.1 - 08.12.18 =
* Fields displayed according to product quantity are now visually grouped
= 2.0 - 26.11.18 =
* Fixed an issue due to fields were not displayed on checkout forms
= 1.9 - 21.11.18 =
* Fixed an issue due to using a virtual product the plugin crashed at the checkout page (thanks to 17seconds)
= 1.8 - 21.11.18 =
* Fixed an issue due to for Select field, the placeholder value was not properly displayed on the configuration menu
= 1.7 - 12.11.18 =
* Fixed an issue due to required fields being highlighted even if a value was still not inserted
= 1.6 - 08.11.18 =
* Fixed an incompability with Admin columns pro
= 1.5 - 08.11.18 =
* Fixed an issue that may raise 500 server error
= 1.4 - 08.11.18 =
* Fixed an issue due to admin Order preview was not working
= 1.3 - 18.10.18 =
* Added "Payment methods" to logic options
= 1.2 - 05.10.18 =
* Added new activation system: now the plugin can be only activated in two domains and they cannot be unregistered
= 1.1 - 07.09.18 =
* Fixed an issue with select fields and logic rules
= 1.0 - 05.09.18 =
* First release
评论0