Hello. I wanted to ask why the attributes of one product can be seen in one of its variants, and no attributes are visible in the second identical product? I have checked it several times and the product settings are exactly the same. I need to see the attributes every time. Now they are displayed in one product and not visible in the other.
Try in file functions.php of the current wp theme add next code :
Great, works! thank you very much and best regards 🙂