我试图禁用添加到购物车的某些产品,这些产品在产品编辑器上勾选了“调用订单”复选框(请参阅下面的代码)。
add_action( 'woocommerce_product_options_general_product_data', 'custom_general_product_data_custom_fields' );
/**
* Add `Call to Order` field in the Product data's General tab.
*/
function custom_general_product_data_custom_f
我激活了Woocommerce的每页产品插件,我收到了这样的消息:
Notice: Undefined index:
behaviour in /var/www/shop/wp-content/plugins/woocommerce-products-per-page/objects/wppp-dropdown.php on line 30
Notice: Undefined index:
behaviour in /var/www/shop/wp-content/plugins/woocommerce-products-per-page/objects/wppp-dropdown.php