Home Forums WoodMart support forum YITH Wishlist does not load js or css Reply To: YITH Wishlist does not load js or css

#399881

metuza
Participant

Hello,

As mentioned before we have done everything that you recommend, changed theme and disabled all plugins. The result was that Woodmart is causing the problem. Also YITH support has tested our site and found the same, woodmart is causing the issues.

But we have added a new function to enqueue all CSS and JS with new IDs so css and js is now loading ok. Also we have just disabled the woodmart function as mentioned before, using this function:

function vmb_remove_parent_filters() {
remove_filter( ‘woocommerce_get_availability’, ‘woodmart_get_availability_stock_status’ );
}
add_action( ‘after_setup_theme’, ‘vmb_remove_parent_filters’ );

So now the stock status works perfectly fine on all our websites.

So you can just close this ticket, but please you should check the issues with YITH wishlist CSS/JS not loading and stock status showing wrong status, in woodmart.

Brgds
Rune