您好我正在使用重力形式构建自定义wordpress表单,以填充重力表单页面 . 我只能填充产品页面中的类别,说明和 Headers 字段,但我无法在产品页面上填写价格字段 . 无论如何使用重力形式填充woocommerce产品页面上的所有字段?
我很感激有关这个问题的任何见解,谢谢!
在woocommerce定制循环中获得产品的价格
get_post_meta //function used to get the custom fields in woocommerce $price = get_post_meta( get_the_ID(), '_regular_price');
1 回答
在woocommerce定制循环中获得产品的价格