php - Woocommerce is setting the Term ID rather than the Term name on Product Attribute

one text

Solution:

It turns out that when the term_id gets passed in the backend it works fine, but when you check it on the attribute product section it just shows the term id not name for that you just need to save the attribute and let it reload, But even if you dont save it and keep it untouched, it will work fine for the end user.

Source