Same here…
Also there is an error on product pages, on the radio metabox inside variations the following notice appears:
Notice: Undefined index: id in /usr/home/andorrapneumatics.com/web/wp-content/plugins/woocommerce/includes/admin/wc-meta-box-functions.php on line 257 Notice: Undefined index: label in /usr/home/andorrapneumatics.com/web/wp-content/plugins/woocommerce/includes/admin/wc-meta-box-functions.php on line 257
This could be easily addressed by editing the public function variation_settings_fields, adding into the woocommerce_wp_radio array the id and label index:
woocommerce_wp_radio( array(
'id' => 'woosv_enable[' . $variation->ID . ']',
'label' => '',
'name' => 'woosv_enable[' . $variation->ID . ']',
'value' => get_post_meta( $variation->ID, 'woosv_enable', true ) ?: 'default',
'options' => array(
'default' => esc_html__( 'Default', 'wpc-show-single-variations' ),
'enable' => esc_html__( 'Enable', 'wpc-show-single-variations' ),
'disable' => esc_html__( 'Disable', 'wpc-show-single-variations' ),
'reverse' => esc_html__( 'Reverse', 'wpc-show-single-variations' )
)
) );
-
This reply was modified 3 years, 7 months ago by m_disseny.