购物车产品名称显示产品的可单击超链接。 参见下面的屏幕快照和chrome控制台,它在产品名称的href上还附加了网址。
我尝试修改functions.php
<span class="woocommerce-mini-cart-item__name">
<a href="https://covergifts.com/shop/fashion-accessories/socks/happy-japan-south-korea-harajuku-style-high-street-funny-socks-cotton-alphabet-womens-socks-college-wind/?attribute_pa_size=all-code&attribute_pa_color=ywmx-french-fries">
<a href="https://covergifts.com/shop/fashion-accessories/socks/happy-japan-south-korea-harajuku-style-high-street-funny-socks-cotton-alphabet-womens-socks-college-wind/?attribute_pa_size=all-code&attribute_pa_color=ywmx-french-fries">Funny Socks Cotton Alphabet Women's Socks College</a>
</a>
</span>
屏幕截图1 https://imgur.com/a/Kl4PaJO
屏幕截图2 https://imgur.com/a/1GXljB0