WooCommerce - 根据product_id,宽度和高度更改价格

时间:2014-12-09 09:55:30

标签: height width woocommerce

如何在WooCommerce中根据我的单品/ price.php上添加的2个输入字段中的产品ID和数字设置自己的价格? 这是我可以定价的例子: http://pastebin.com/BZUV6csG# 但是输入怎么样?我怎样才能实现这样的目标:

if product_id= a or d or g 
and inputWidth >=40 and <=60 
and inputHeight >=60 and <=80
return product_price = my Value

我已尝试过很多插件,但我有> 100个产品 在基于id /产品名称的不同价格导管中并且具有> 150的价格 基于宽度和高度的变化 请你帮我定位这2个输入? 我使用这个插件添加了它们: https://github.com/nextime/woocommerce-better-product-addons

0 个答案:

没有答案