I wrote a mini plugin for select automatically variations in a single product page and replacing and updating attributes texts and options with my choices
my code works well with 7.4.3 and before versions of the WoodMart theme with the latest WooCommerce 8.8.2 version and all other themes like Astra, 2024 and etc.
but it does not work with 7.5.1 I think you use unstandardized attribute names and functions in 7.5.1
I Use
selectName + ' td p
.woocommerce-product-attributes-item--
select.attr('name');
.text(selectValues.join
and something like this
Now the question is, what have you changed that my code doesn't work properly only in your version 7.5.1 ver?