PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Category IDs

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hello,
is it somehow possible to show the category IDs also when selecting categories with the field [product_cat]?
This would be extremely helpful as I want to select a primary category and have assigned a meta field (from the YOAST plugin) which allows to enter the ID of the primary category. Maybe there is a snippet to show also the category IDs in the bulk editor's select list?
Kind regards,
Stefan

Hello Stefan

Unfortunately the plugin does not have such a feature.

But I can help you with code customization. Describe in more detail where you want to show the ID.  here? -  https://share.pluginus.net/image/i20240808104812.png

It would be perfect to have category IDs just behind the category names in the category selection box:

Categories

That's the selection you see when you click in a categories field in the editor.

Please try in file - \wp-content\plugins\woo-bulk-editor\views\woobe.php -  add this code - https://share.pluginus.net/image/i20240808134920.png

( __TERM_ID__ )

and do a test

Thank you. This worked!

This means that in future updates I would have do this change always again. Is there some best practice to prevent future updates to overwrite this?

Hello

Unfortunately you have to add this code after every plugin update. There is no other solution.