Hide pricing from quick edit, for unsupported product types
This commit is contained in:
@@ -23,9 +23,9 @@ jQuery(function( $ ) {
|
||||
var product_type = $wc_inline_data.find('.product_type').text();
|
||||
|
||||
if (product_type==='bundle') {
|
||||
jQuery('.custom_field_demo', '.inline-edit-row').show();
|
||||
jQuery('#wiaas_pricing_quick_edit', '.inline-edit-row').show();
|
||||
} else {
|
||||
jQuery('.custom_field_demo', '.inline-edit-row').hide();
|
||||
jQuery('#wiaas_pricing_quick_edit', '.inline-edit-row').hide();
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user