Formula Pro for WooCommerce 插件的产品价格可让您设置公式以自动计算 WooCommerce 产品价格。它使用标准数学运算进行设置。
x*1.5+p1/p2
例子:
1. [数学回合]
四舍五入简码。您可以使用精度属性设置小数。
[math_round precision=”1″][if_customer_location country=”US,CA”]x 1.10[/if_customer_location][if_customer_location not_country=”US,CA”]x 1.20[/if_customer_location][/math_round]
2. [数学天花板]
四舍五入(ceil)
[数学上限]x*[产品权重][/数学上限]
3. [数学_地板]
向下舍入(向下取整)
[数学地板] x * [产品长度][/数学地板]
4. [数学最大值]
最大值
[math_max 值1=”x*p1″ 值2=”{产品总销售额}”]
5. [产品元信息]
您可以检索产品的任何元数据——由必需的键属性设置的元键。
[product_meta 键=”_weight”]
6. [如果客户位置]
根据客户位置定价(按 IP)
[if_customer_location country=”美国,加拿大”]x 1.10[/if_customer_location][if_customer_location not_country=”美国,加拿大”]x 1.20[/if_customer_location]
Formula Pro 的产品价格对于 WooCommerce 插件有什么用?
Formula Pro 为 WooCommerce 插件提供的产品价格对所有 WooCommerce 网站都有帮助。下面是开始使用 Formula Pro 为 WooCommerce 插件提供的产品价格的一个小列表。
- 电子商务网站
- 时尚网站
- 旅游商务网站
- 美容产品相关网站
- 餐厅网站
- 节日促销优惠