I would like to hide these two fields from the product edit form. I enabled tax since all items on this marketplace are taxable and I dont want vendors to be able to change this when the add or edit a product.
Hide Tax Status & Class from product form
Closed
Comments
Hi there,
Thank you for purchasing our plugin!
To achieve this, you can add the following PHP code snippet to your site:
add_action('marketking_dashboard_head', function(){
?>
<script>
jQuery(document).ready(function(){
jQuery('._tax_status_field, ._tax_class_field').remove();
});
</script>
<style>
._tax_status_field, ._tax_class_field {
display: none !important;
}
</style>
<?php
});
This code can be added to functions.php of the site, or to any code snippets plugin.
Let me know if I can help with anything, or if you have any questions,
Kind regards,
Stefan