I’m having trouble with Related Product “tax_query” ‘terms’ value

How is ‘products_article_list’ meta returned from in $article_list?

<?php $article_list = get_post_meta( get_the_ID(), products_article_list', true);?>

Is it a list of ids eg. ‘0601,0603’ or is it an array?

tax_query terms argument requires an array. See https://developer.wordpress.org/reference/classes/wp_query/#taxonomy-parameters

So if it’s stored as a list of ids all you need to do is explode the list and it should work.

   ...
   'tax_query' =>  array(
       array(
           'taxonomy' =>  'inputs',
           'field'    => 'slug',
           'terms'    => explode(',', $article_list),
       ),
   ),
   ...