'_purchase_note',
'value' => $product_object->get_purchase_note( 'edit' ),
'label' => __( 'Purchase note', 'woocommerce' ),
'desc_tip' => true,
'description' => __( 'Enter an optional note to send the customer after purchase.', 'woocommerce' ),
)
);
?>
'menu_order',
'value' => $product_object->get_menu_order( 'edit' ),
'label' => __( 'Menu order', 'woocommerce' ),
'desc_tip' => true,
'description' => __( 'Custom ordering position.', 'woocommerce' ),
'type' => 'number',
'custom_attributes' => array(
'step' => '1',
),
)
);
?>
'comment_status',
'value' => $product_object->get_reviews_allowed( 'edit' ) ? 'open' : 'closed',
'label' => __( 'Enable reviews', 'woocommerce' ),
'cbvalue' => 'open',
)
);
do_action( 'woocommerce_product_options_reviews' );
?>
get( POSProductVisibilitySync::class )->is_product_supported( $product_object ); ?>
>
get_id() );
woocommerce_wp_checkbox(
array(
'id' => '_visible_in_pos',
'value' => $visible_in_pos ? 'yes' : 'no',
'label' => __( 'Available for POS', 'woocommerce' ),
'desc_tip' => true,
'description' => __( 'Controls whether this product appears in the Point of Sale system.', 'woocommerce' ),
)
);
?>
>
'_pos_visibility_note',
'label' => __( 'Point of Sale', 'woocommerce' ),
'message' => __( 'This product type is not currently supported.', 'woocommerce' ),
)
);
?>