Hi
I found that the way to hide the SKU field in the product page is by modifying the code.
is there any other way that you know of from woocommerce settings, without changing the code?
That's ok if you want another plugin bloating your site. It also removes it from the admin area which is not recommended.Honestly the easiest way is to add a code line into your functions.php but give this a try: https://wordpress.org/plugins/woocommerce-remove-sku/
It's not REALLY necessary ... a curious customer may google it and find the corresponding product at Aliexpress and discover your evil dropshipping secret. lolNewbie question.
Is it neccessary to hide dhe SKU?
Why we should hide it?
Thank you
You must have put it in the wrong place. It should be the last entry and above any comments. Google "how to edit functions.php"I did that in my functions.php and it gave me the errror that heading is already send and that l can't edit it.
I use PHP code snippets plugin. You can add codes in the plugin instead of directly to functions.php. Most of the time if a code has a problem and added directly functions.php, it will break your site. In this plugin, once you click Publish, you will see a warning if the code is not good. All you have to do is hit the back button of the browser and you are back in the snippet, review or delete it. functions.php is a delicate theme file, if you are not familiar with it you will have a problem.I did that in my functions.php and it gave me the errror that heading is already send and that l can't edit it.