You have filter in the same file for sku ( which is great for some reasons ), and can you please add same filters for categories and tags to make them disabled via filter ?
single-product/meta.php
This topic was modified 5 years, 1 month ago by stas0238.
This topic was modified 5 years, 1 month ago by stas0238.
Hi @stas0238 this forum is for support requests about functionality not working as it should. This sounds to me like it’s a request for a feature. Those can be made directly to our developers at https://github.com/woocommerce/woocommerce. You can open a new issue there.
Given that this is not a support request, I’ll mark this as resolved on our side.
I dont want to rewrite default file from plugin just to make it work in a proper way but if you add this many users will be able to show/hide only meta they want to show ??
Hope you can help me
This reply was modified 5 years, 1 month ago by stas0238.
I’ve reopened the issue and asked for an update from the dev. I don’t think these filters exist yet and in that case, it’s a feature request, not a support request.
Can you please add your screenshots to that issue?
I know that it is as feature request that’s why I wrote firstly on github.com
Do you think it is not good feature ? Cause’ I think it will be usefull to many clients of your plugin
@stas0238 – I’ll let our devs respond to that, but I do think they should at least address the feature request part of it.
That said, when it comes to editing your templates, making sure you don’t lose it at updates would be through using a child theme. We have a tutorial on how to do that here: https://docs.woocommerce.com/document/template-structure/
@jobthomas
Thanks, I want to keep default plugin structure and don’t want to do too much rewriting of files from plugin in my theme, that’s why I would like to do that with filters ??
That said, given that this is indeed now a feature request on GitHub and we’ve discussed what the best way is to customise these templates if that’s not possible I’m marking this thread as resolved now.