Comments 2Remco started the conversation5 days ago on Monday at 6:42pmI 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. Attached files: Screenshot 2024-12-28 at 5.06.29 PM.png 2,281WebWizards replied4 days ago on Tuesday at 2:45pmHi 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 2Remco replied4 days ago on Tuesday at 3:01pmbrilliant! worked! Happy New Year!!1 Like Sign in to reply ...
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.
Attached files: Screenshot 2024-12-28 at 5.06.29 PM.png
Hi there,
Thank you for purchasing our plugin!
To achieve this, you can add the following PHP code snippet to your site:
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
brilliant! worked! Happy New Year!!