那里有人可以帮助我吗?
我使用wcvendor,我想在卖方的仪表板上按产品类别隐藏产品订单, (例如产品类别A) 因此,如果客户购买的商品归类为A,则该商品不会显示在卖家的订单信息中心上,
我使用此代码限制正常价格
/* WC Vendors Pro -- Require a minimum, and a maximum price for vendors when adding/editing a product */ add_filter( 'wcv_product_price', 'price_min_max' ); function price_min_max( $args ){ $args[ 'custom_attributes' ] = array( 'data-rules' => 'decimal|range[10,100]', 'data-error' => __( 'Price should be a number and between $10 and $100', 'wcvendors-pro' ) ); return $args; }
但是如何限制销售价格,当卖方确定销售价格时,当卖方上传产品或编辑产品时 (例如,最低价格为2美元),因此卖方无法使销售价格低于2美元 谢谢