Hi @sergsce
Could you please make sure that $term->taxonomy
returns the right attribute slug? Could you please test it out by providing the ID manually like this:
get_field('synonyms', 'pa_attributeslug_99');
Where “pa_attributeslug” is the attribute slug and 99 is the ID of the term.
Thanks!