Archived topic
woocommerce Quantity selector "Links are not crawlable" error
5 replies · Started by roadlink on March 3, 2022
Hi there,
Google lighthouse tool gives error for "-" and "+" on product pages.
Is there any way to solve it?
Hi there,
the only way to remove that warning is to disable the Quantity Buttons option in Customizer > Layout > Woocommerce.
Or just ignore it - the warning gets raised as some times a site uses Javascript to generate the URL the link will go to. This is not the case here as the <a> element is simply used to display a button that has no link.
Hi David,
I like the current design but also like to have no error :)
If there is no way, then I will go with your suggestion.
thanks
It cannot be changed at this time.
I personally would ignore the warning - if the button was meant to link you to a page that you wanted crawled then i would agree its an error. But in this case its not a crawlable link as its not meant to link anywhere :)
thx
You're welcome