Tuesday, November 22, 2022
HomeWordPress Developmentjavascript - Eradicating 'woocommerce-no-js' class from physique

javascript – Eradicating ‘woocommerce-no-js’ class from physique


I’ve declared WC assist on a customized theme (though I am nonetheless using the default WC templates), however WooCommerce would not appear to be loading any supporting front-end JS — I may even see a woocommerce-no-js class on <physique>.

It is creating a number of points on the location, but it surely’s notably problematic on the only product pages. Variant choice is not working and costs/pictures aren’t updating when choosing product possibility(s).

I am seeing this performance return once I revert to a default theme, so it is clearly contained to the customized theme. Past declaring theme assist for WC, is there one thing apparent I’ll have missed that might trigger supporting scripts to fail to load?

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments